2 Summary: NFS client library
3 Vendor: Ronnie Sahlberg
4 Packager: ronniesahlberg@gmail.com
8 License: GNU LGPL version
2.1
9 Group: System Environment
/Libraries
10 URL: http
://www.github.com
/sahlberg
/libnfs
12 Source: libnfs
-%{version}.tar.gz
14 Provides: lib
= %{version}
17 BuildRoot: %{_tmppath}/%{name}-%{version}-root
20 LibNFS is a NFS client library
22 #######################################################################
28 # setup the init script and sysconfig file
29 %setup -T
-D
-n libnfs
-%{version} -q
34 if ccache
-h
>/dev
/null
2>&1 ; then
42 ## always run autogen.sh
47 automake
--add
-missing
50 CFLAGS
="$RPM_OPT_FLAGS $EXTRA
-O0
-g
-D_GNU_SOURCE" .
/configure \
54 # Clean up in case there is trash left from a previous build
55 rm -rf $RPM_BUILD_ROOT
57 # Create the target build directory hierarchy
59 make DESTDIR
=$RPM_BUILD_ROOT
install
61 # Remove "*.old" files
62 find $RPM_BUILD_ROOT
-name "
*.old"
-exec rm -f
{} \
;
65 rm -rf $RPM_BUILD_ROOT
68 #######################################################################
70 #######################################################################
78 Summary: Development libraries
for LibNFS
82 development libraries
for LibNFS
86 %{_includedir}/nfsc
/libnfs.h
87 %{_includedir}/nfsc
/libnfs
-zdr.h
88 %{_includedir}/nfsc
/libnfs
-raw.h
89 %{_includedir}/nfsc
/libnfs
-raw
-mount.h
90 %{_includedir}/nfsc
/libnfs
-raw
-nfs.h
91 %{_includedir}/nfsc
/libnfs
-raw
-portmap.h
92 %{_includedir}/nfsc
/libnfs
-raw
-rquota.h
95 %{_libdir}/pkgconfig
/libnfs.pc
98 * Sun Oct
20 2013 : Version 1.7
99 - Allow nested eventloops so that a sync
function can be called from a callback.
100 - Fix a bug
in unmarshalling a uint64.
101 - Add PATHCONF support.
104 * Mon May
27 2013 : Version 1.6
106 - Chose better initial xid value to reduce the probability
for collissions.
107 - Set default group to getgid
() instead of
-1. This fixes an interoperability
108 problem with
3.9 linux knfsd.
109 * Mon Dec
3 2012 : Version 1.5
110 - Switch to using our own RPC
/XDR replacement ZDR instead of relying on the
111 system RPC
/TIRPC libraries. This allows using libnfs on platforms that lack
112 RPC libraries completely.
113 - Add support
for Android.
114 * Sun Nov
25 2012 : Version 1.4
115 - Add trackig of freed context and assert on using a context after it has been
117 - Windows x64 support and fixes.
118 - Switch to using our own version of xdr_int64
() since the one
in libtirpc
119 crashes on some platforms.
120 - Fix memory leak
in an error path
for addrinfo.
121 - Fix bug dereferencing a null pointer
in the mount callback on error.
122 * Sat Mar
3 2012 : Version 1.3
123 - add
set/unset to portmapper
125 - try to rotate to find a free port better
127 * Tue Dec
6 2011 : Version 1.2
128 - Add support
for MKNOD
129 - Add support
for HaneWin NFS server
130 - Change all
[s
]size_t offset_t to be
64bit clean scalars
131 * Sun Nov
27 2011 : Version 1.1
132 - Fix definition and use of AUTH
133 - Only call the "connect" callback
if non
-NULL
134 - make sure the callback
for connect is only invoked once
for the sync api
135 - make file offset bits
64 bits always
136 * Sun Jul
31 2011 : Version 1.0