-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathunfs3.spec
38 lines (31 loc) · 1011 Bytes
/
unfs3.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
%define version 0.9.23
Summary: UNFS3 user-space NFSv3 server
Group: Applications/System
Name: unfs3
Version: %{version}
Release: 1
License: BSD
Packager: Pascal Schmidt <[email protected]>
Vendor: none
Source: unfs3-%{version}.tar.gz
Buildroot: /tmp/unfs3
%prep
%setup
%build
./configure --enable-cluster --prefix=/usr --mandir=/usr/share/man
make
%install
[ -n "$RPM_BUILD_ROOT" ] && rm -rf "$RPM_BUILD_ROOT"
make DESTDIR="$RPM_BUILD_ROOT" install install-init
%clean
[ -n "$RPM_BUILD_ROOT" ] && rm -rf "$RPM_BUILD_ROOT"
%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
%attr ( -, root, root) %doc CREDITS README README.nfsroot LICENSE NEWS contrib doc
%attr (755, root, root) /usr/sbin/unfsd
%attr (755, root, root) /etc/init.d/unfsd
%attr (644, root, root) %doc /usr/share/man/man7/tags.7.gz
%attr (644, root, root) %doc /usr/share/man/man8/unfsd.8.gz