]> git.pld-linux.org Git - packages/clusternfs.git/blame_incremental - clusternfs.spec
- rel up to resolve conflict with rpcbind
[packages/clusternfs.git] / clusternfs.spec
... / ...
CommitLineData
1Summary: ClusterNFS server
2Summary(pl.UTF-8): Serwer ClusterNFS
3Name: clusternfs
4Version: 3.0
5Release: 0.rc2.3
6License: GPL v2
7Group: Networking/Daemons
8URL: http://clusternfs.sourceforge.net/
9Source0: http://dl.sourceforge.net/clusternfs/%{name}-%{version}rc2.tar.bz2
10# Source0-md5: b25b578b2dd3222b554c4953a32efc8f
11Source1: %{name}.init
12Source2: %{name}.sysconfig
13Patch0: %{name}-types.patch
14BuildRequires: autoconf
15BuildRequires: automake
16BuildRequires: libwrap-devel
17BuildRequires: rpmbuild(macros) >= 1.268
18Requires(post,preun): /sbin/chkconfig
19Requires: portmap >= 4.0
20Requires: rc-scripts >= 0.4.1.5
21Provides: nfscluster
22Conflicts: nfs-server
23Conflicts: nfs-utils
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%description
27ClusterNFS allows diskless clients to share a single root filesystem
28by matching "tagged" filenames of the form "filename$$TAG=value$$"
29with fallback to the original filename.
30
31%description -l pl.UTF-8
32ClusterNFS pozwala bezdyskowym klientom współdzielić pojedynczy system
33plików wybierając odpowiednio "oznakowane" nazwy plików postaci
34"plik$$TAG=wartość$$" z podmianą do oryginalnej nazwy.
35
36%prep
37%setup -q -n ClusterNFS
38%patch0 -p1
39
40%build
41mv -f aclocal.m4 acinclude.m4
42%{__aclocal}
43%{__autoconf}
44./BUILD --batch \
45 --rquotad=no \
46 --ugidd=no --nis=yes \
47 --hosts-access=yes \
48 --libwrap-directory=%{_prefix}/lib \
49 --exports-uid=0 --exports-gid=0 \
50 --log-mounts=yes --multi=yes \
51 --devtab=yes --trnames=yes \
52 --path_devtab=/var/lib/clusternfs/devtab
53
54%configure
55
56%{__make}
57
58%install
59rm -rf $RPM_BUILD_ROOT
60install -d $RPM_BUILD_ROOT/etc/{rc.d/init.d,sysconfig}
61
62%{__make} install \
63 DESTDIR=$RPM_BUILD_ROOT
64
65install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/clusternfs
66install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/clusternfs
67> $RPM_BUILD_ROOT%{_sysconfdir}/exports
68
69%clean
70rm -rf $RPM_BUILD_ROOT
71
72%post
73/sbin/chkconfig --add clusternfs
74%service clusternfs restart "NFS daemon"
75
76%preun
77if [ "$1" = "0" ]; then
78 %service clusternfs stop
79 /sbin/chkconfig --del clusternfs
80fi
81
82%files
83%defattr(644,root,root,755)
84%doc BUGS ChangeLog* EXAMPLE.ClusterNFS HALL_OF_FAME NEWS README* TODO*
85%attr(754,root,root) /etc/rc.d/init.d/clusternfs
86%attr(755,root,root) %{_sbindir}/rpc.*
87%{_mandir}/man5/*
88%{_mandir}/man8/[mn]*
89%attr(664,root,fileshare) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/exports
90%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/clusternfs
91/var/lib/clusternfs
This page took 0.058407 seconds and 4 git commands to generate.