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
-raw.h
88 %{_includedir}/nfsc
/libnfs
-raw
-mount.h
89 %{_includedir}/nfsc
/libnfs
-raw
-nfs.h
90 %{_includedir}/nfsc
/libnfs
-raw
-portmap.h
91 %{_includedir}/nfsc
/libnfs
-raw
-rquota.h
96 * Sun Jul
31 2011 : Version 1.0