Added initial unfs3 sources for version 0.9.22+dfsg-1maemo2
[unfs3] / unfs3 / unfs3.spec
diff --git a/unfs3/unfs3.spec b/unfs3/unfs3.spec
new file mode 100644 (file)
index 0000000..88859f0
--- /dev/null
@@ -0,0 +1,38 @@
+%define version 0.9.22
+Summary: UNFS3 user-space NFSv3 server
+Group: Applications/System
+Name: unfs3
+Version: %{version}
+Release: 1
+License: BSD
+Packager: Pascal Schmidt <unfs3-server@ewetel.net>
+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
+