]> git.pld-linux.org Git - packages/clusternfs.git/blobdiff - clusternfs.spec
- massive attack: adding Source-md5
[packages/clusternfs.git] / clusternfs.spec
index 7be83a5940a1a660de44e8c2f220dbe721894bec..970b799b1f9c9d58333be5f4608b3c77b8e61257 100644 (file)
@@ -3,16 +3,19 @@ Summary(pl):  Serwer ClusterNFS
 Name:          clusternfs
 Version:       3.0
 Release:       0.rc2.1
-License:       GPL
+License:       GPL v2
 Group:         Networking/Daemons
 URL:           http://clusternfs.sourceforge.net
 Source0:       http://dl.sourceforge.net/%{name}/%{name}-%{version}rc2.tar.bz2
+# Source0-md5: b25b578b2dd3222b554c4953a32efc8f
 Source1:       %{name}.init
+BuildRequires: autoconf
+BuildRequires: automake
+PreReq:                rc-scripts
+Requires(post,preun):  /sbin/chkconfig
 Requires:      portmap >= 4.0
 Provides:      nfscluster
 Conflicts:     nfs-utils nfs-server
-PreReq:                /sbin/chkconfig
-PreReq:                rc-scripts
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -48,13 +51,16 @@ mv -f aclocal.m4 acinclude.m4
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/{var/adm/fillup-templates,etc/rc.d/init.d}
+install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/clusternfs
 
+%clean
+rm -rf $RPM_BUILD_ROOT
+
 %post
 /sbin/chkconfig --add clusternfs
 if [ -r /var/lock/subsys/clusternfs ]; then
@@ -71,14 +77,11 @@ if [ "$1" = "0" ]; then
         /sbin/chkconfig --del clusternfs
 fi
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
 %defattr(644,root,root,755)
 %doc BUGS ChangeLog* EXAMPLE.ClusterNFS HALL_OF_FAME NEWS README* TODO*
 %attr(754,root,root) /etc/rc.d/init.d/clusternfs
-%attr(755,root,root) %{_sbindir}/*
+%attr(755,root,root) %{_sbindir}/rpc.*
 %{_mandir}/man5/*
-%{_mandir}/man8/*
+%{_mandir}/man8/[mn]*
 /var/lib/clusternfs
This page took 0.106893 seconds and 4 git commands to generate.