X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=nfs-utils.spec;h=e93ab3b1e31ae075e93b242deb3060879a7e7338;hb=6b9c77f37f75437124fe341d3895d24e77943b4f;hp=ba1e7583af8d039679b45846dd5d42aafc28f83d;hpb=a5b0ed884a139d77c9c53c10be9cc3bc7987e179;p=nfs-utils.git diff --git a/nfs-utils.spec b/nfs-utils.spec index ba1e758..e93ab3b 100644 --- a/nfs-utils.spec +++ b/nfs-utils.spec @@ -1,6 +1,12 @@ +%define rquotad 0 +%{?do_rquotad:%define rquotad 1} + +# We don't use libtool. +%define __libtoolize : + Summary: NFS utlilities and supporting daemons for the kernel NFS server. Name: nfs-utils -Version: 0.2.1 +Version: 1.0 Release: 1 Source0: ftp://nfs.sourceforge.net/pub/nfs/%{name}-%{version}.tar.gz Group: System Environment/Daemons @@ -32,7 +38,14 @@ clients which are mounted on that host. %setup -q %build -%configure +CC=%{__cc}; export CC +CC_FOR_BUILD=gcc; export CC_FOR_BUILD +%configure \ +%if !%{rquotad} + --disable-rquotad \ +%endif + --build=%{_build_alias} + make all %install @@ -85,8 +98,10 @@ fi /usr/sbin/nhfsstone /usr/sbin/rpc.mountd /usr/sbin/rpc.nfsd +%if %{rquotad} /usr/sbin/rpc.rquotad +%endif /usr/sbin/showmount %{_mandir}/man?/* %config /etc/rc.d/init.d/nfslock -%doc README +%doc README ChangeLog COPYING