1 Summary: ClusterNFS server
2 Summary(pl): Serwer ClusterNFS
7 Group: Networking/Daemons
8 URL: http://clusternfs.sourceforge.net
9 Source0: http://dl.sourceforge.net/%{name}/%{name}-%{version}rc2.tar.bz2
11 Requires: portmap >= 4.0
13 Conflicts: nfs-utils nfs-server
14 PreReq: /sbin/chkconfig
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 ClusterNFS allows diskless clients to share a single root filesystem
20 by matching "tagged" filenames of the form "filename$$TAG=value$$"
21 with fallback to the original filename.
24 ClusterNFS pozwala bezdyskowym klientom wspó³dzieliæ pojedynczy system
25 plików wybieraj±c odpowiednio "oznakowane" nazwy plików postaci
26 "plik$$TAG=warto¶æ$$" z podmian± do oryginalnej nazwy.
29 %setup -q -n ClusterNFS
32 mv -f aclocal.m4 acinclude.m4
37 --ugidd=no --nis=yes \
39 --libwrap-directory=/usr/lib \
40 --exports-uid=0 --exports-gid=0 \
41 --log-mounts=yes --multi=yes \
42 --devtab=yes --trnames=yes \
43 --path_devtab=/var/lib/clusternfs/devtab
50 rm -rf $RPM_BUILD_ROOT
51 install -d $RPM_BUILD_ROOT/{var/adm/fillup-templates,etc/rc.d/init.d}
54 DESTDIR=$RPM_BUILD_ROOT
56 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/clusternfs
59 /sbin/chkconfig --add clusternfs
60 if [ -r /var/lock/subsys/clusternfs ]; then
61 /etc/rc.d/init.d/clusternfs restart >&2
63 echo "Run \"/etc/rc.d/init.d/clusternfs start\" to start nfs daemon."
67 if [ "$1" = "0" ]; then
68 if [ -r /var/lock/subsys/clusternfs ]; then
69 /etc/rc.d/init.d/clusternfs stop >&2
71 /sbin/chkconfig --del clusternfs
75 rm -rf $RPM_BUILD_ROOT
78 %defattr(644,root,root,755)
79 %doc BUGS ChangeLog* EXAMPLE.ClusterNFS HALL_OF_FAME NEWS README* TODO*
80 %attr(754,root,root) /etc/rc.d/init.d/clusternfs
81 %attr(755,root,root) %{_sbindir}/*