--- unfs3.spec 2007-01-27 11:18:10 +0200 +++ unfs3-0.9.17-alt2.1.spec 2007-08-07 20:38:06 +0300 @@ -1,6 +1,6 @@ Name: unfs3 Version: 0.9.17 -Release: alt2 +Release: alt2.1 Summary: UNFS3 user-space NFSv3 server License: BSD @@ -12,13 +12,16 @@ Patch0: unfs3-0.9.17-alt-pidfile.patch Patch1: unfs3-pidfile.patch Patch2: unfs3-0.9.17-pidfile.patch -Packager: Anton Farygin +AutoReq: yes, nopython -# Automatically added by buildreq on Mon Jan 16 2006 +# Automatically added by buildreq on Tue Aug 07 2007 BuildRequires: flex %description -UNFS3 user-space NFSv3 server +UNFS3 is a user-space implementation of the NFS (Network File System) +version 3 server specification. It provides a daemon that supports both +the MOUNT and NFS protocol. + %prep %setup -q @@ -27,32 +30,42 @@ %patch2 -p1 %build -%configure --enable-cluster -%make +%configure --enable-cluster --enable-largefile +%make_build + %install -%makeinstall -install -pD -m0755 %SOURCE1 %buildroot%_initdir/nfs +%make_install DESTDIR=%buildroot install +install -d -m 0755 %buildroot{%_datadir/%name,%_initdir} +install -m0755 %SOURCE1 %buildroot%_initdir/unfs +cp -a contrib %buildroot%_datadir/%name/ -%description -UNFS3 is a user-space implementation of the NFS (Network File System) -version 3 server specification. It provides a daemon that supports both -the MOUNT and NFS protocol. %files -%doc CREDITS README README.nfsroot LICENSE NEWS contrib doc -%_sbindir/unfsd +%doc CREDITS README* LICENSE NEWS doc/TODO doc/*.txt +%_sbindir/* %_man7dir/* %_man8dir/* %_initdir/* +%dir %_datadir/%name +%_datadir/%name/* + %post -%post_service nfs +%post_service unfs %preun -%preun_service nfs +%preun_service unfs + %changelog +* Tue Aug 07 2007 Led 0.9.17-alt2.1 +- resolved conflict with nfs-server + + improved init script + + renamed service from nfs to unfs +- fixed init script +- cleaned up spec + * Sat Jan 27 2007 Michael Shigorin 0.9.17-alt2 - updated pidfile patch (it was actually sent upstream just yesterday and Pascal Schmidt promptly replied with more aligned version