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 BuildRequires: autoconf
12 BuildRequires: automake
14 Requires(post,preun): /sbin/chkconfig
15 Requires: portmap >= 4.0
17 Conflicts: nfs-utils nfs-server
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 ClusterNFS allows diskless clients to share a single root filesystem
22 by matching "tagged" filenames of the form "filename$$TAG=value$$"
23 with fallback to the original filename.
26 ClusterNFS pozwala bezdyskowym klientom wspó³dzieliæ pojedynczy system
27 plików wybieraj±c odpowiednio "oznakowane" nazwy plików postaci
28 "plik$$TAG=warto¶æ$$" z podmian± do oryginalnej nazwy.
31 %setup -q -n ClusterNFS
34 mv -f aclocal.m4 acinclude.m4
39 --ugidd=no --nis=yes \
41 --libwrap-directory=/usr/lib \
42 --exports-uid=0 --exports-gid=0 \
43 --log-mounts=yes --multi=yes \
44 --devtab=yes --trnames=yes \
45 --path_devtab=/var/lib/clusternfs/devtab
52 rm -rf $RPM_BUILD_ROOT
53 install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
56 DESTDIR=$RPM_BUILD_ROOT
58 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/clusternfs
61 rm -rf $RPM_BUILD_ROOT
64 /sbin/chkconfig --add clusternfs
65 if [ -r /var/lock/subsys/clusternfs ]; then
66 /etc/rc.d/init.d/clusternfs restart >&2
68 echo "Run \"/etc/rc.d/init.d/clusternfs start\" to start nfs daemon."
72 if [ "$1" = "0" ]; then
73 if [ -r /var/lock/subsys/clusternfs ]; then
74 /etc/rc.d/init.d/clusternfs stop >&2
76 /sbin/chkconfig --del clusternfs
80 %defattr(644,root,root,755)
81 %doc BUGS ChangeLog* EXAMPLE.ClusterNFS HALL_OF_FAME NEWS README* TODO*
82 %attr(754,root,root) /etc/rc.d/init.d/clusternfs
83 %attr(755,root,root) %{_sbindir}/rpc.*