88859f011a6d1a2a5824fcb4a83ac140be88b26a
[unfs3] / unfs3 / unfs3.spec
1 %define version 0.9.22
2 Summary: UNFS3 user-space NFSv3 server
3 Group: Applications/System
4 Name: unfs3
5 Version: %{version}
6 Release: 1
7 License: BSD
8 Packager: Pascal Schmidt <unfs3-server@ewetel.net>
9 Vendor: none
10 Source: unfs3-%{version}.tar.gz
11 Buildroot: /tmp/unfs3
12
13 %prep
14 %setup
15
16 %build
17 ./configure --enable-cluster --prefix=/usr --mandir=/usr/share/man
18 make
19
20 %install
21 [ -n "$RPM_BUILD_ROOT" ] && rm -rf "$RPM_BUILD_ROOT"
22 make DESTDIR="$RPM_BUILD_ROOT" install install-init
23
24 %clean
25 [ -n "$RPM_BUILD_ROOT" ] && rm -rf "$RPM_BUILD_ROOT"
26
27 %description
28 UNFS3 is a user-space implementation of the NFS (Network File System)
29 version 3 server specification. It provides a daemon that supports both
30 the MOUNT and NFS protocol.
31
32 %files
33 %attr (  -, root, root) %doc CREDITS README README.nfsroot LICENSE NEWS contrib doc
34 %attr (755, root, root) /usr/sbin/unfsd
35 %attr (755, root, root) /etc/init.d/unfsd
36 %attr (644, root, root) %doc /usr/share/man/man7/tags.7.gz
37 %attr (644, root, root) %doc /usr/share/man/man8/unfsd.8.gz
38