|
Lines 1-6
Link Here
|
| 1 |
Name: unfs3 |
1 |
Name: unfs3 |
| 2 |
Version: 0.9.17 |
2 |
Version: 0.9.17 |
| 3 |
Release: alt2 |
3 |
Release: alt2.1 |
| 4 |
|
4 |
|
| 5 |
Summary: UNFS3 user-space NFSv3 server |
5 |
Summary: UNFS3 user-space NFSv3 server |
| 6 |
License: BSD |
6 |
License: BSD |
|
Lines 12-24
Link Here
|
| 12 |
Patch0: unfs3-0.9.17-alt-pidfile.patch |
12 |
Patch0: unfs3-0.9.17-alt-pidfile.patch |
| 13 |
Patch1: unfs3-pidfile.patch |
13 |
Patch1: unfs3-pidfile.patch |
| 14 |
Patch2: unfs3-0.9.17-pidfile.patch |
14 |
Patch2: unfs3-0.9.17-pidfile.patch |
| 15 |
Packager: Anton Farygin <rider@altlinux.ru> |
15 |
AutoReq: yes, nopython |
| 16 |
|
16 |
|
| 17 |
# Automatically added by buildreq on Mon Jan 16 2006 |
17 |
# Automatically added by buildreq on Tue Aug 07 2007 |
| 18 |
BuildRequires: flex |
18 |
BuildRequires: flex |
| 19 |
|
19 |
|
| 20 |
%description |
20 |
%description |
| 21 |
UNFS3 user-space NFSv3 server |
21 |
UNFS3 is a user-space implementation of the NFS (Network File System) |
|
|
22 |
version 3 server specification. It provides a daemon that supports both |
| 23 |
the MOUNT and NFS protocol. |
| 24 |
|
| 22 |
|
25 |
|
| 23 |
%prep |
26 |
%prep |
| 24 |
%setup -q |
27 |
%setup -q |
|
Lines 27-58
Link Here
|
| 27 |
%patch2 -p1 |
30 |
%patch2 -p1 |
| 28 |
|
31 |
|
| 29 |
%build |
32 |
%build |
| 30 |
%configure --enable-cluster |
33 |
%configure --enable-cluster --enable-largefile |
| 31 |
%make |
34 |
%make_build |
|
|
35 |
|
| 32 |
|
36 |
|
| 33 |
%install |
37 |
%install |
| 34 |
%makeinstall |
38 |
%make_install DESTDIR=%buildroot install |
| 35 |
install -pD -m0755 %SOURCE1 %buildroot%_initdir/nfs |
39 |
install -d -m 0755 %buildroot{%_datadir/%name,%_initdir} |
|
|
40 |
install -m0755 %SOURCE1 %buildroot%_initdir/unfs |
| 41 |
cp -a contrib %buildroot%_datadir/%name/ |
| 36 |
|
42 |
|
| 37 |
%description |
|
|
| 38 |
UNFS3 is a user-space implementation of the NFS (Network File System) |
| 39 |
version 3 server specification. It provides a daemon that supports both |
| 40 |
the MOUNT and NFS protocol. |
| 41 |
|
43 |
|
| 42 |
%files |
44 |
%files |
| 43 |
%doc CREDITS README README.nfsroot LICENSE NEWS contrib doc |
45 |
%doc CREDITS README* LICENSE NEWS doc/TODO doc/*.txt |
| 44 |
%_sbindir/unfsd |
46 |
%_sbindir/* |
| 45 |
%_man7dir/* |
47 |
%_man7dir/* |
| 46 |
%_man8dir/* |
48 |
%_man8dir/* |
| 47 |
%_initdir/* |
49 |
%_initdir/* |
|
|
50 |
%dir %_datadir/%name |
| 51 |
%_datadir/%name/* |
| 52 |
|
| 48 |
|
53 |
|
| 49 |
%post |
54 |
%post |
| 50 |
%post_service nfs |
55 |
%post_service unfs |
| 51 |
|
56 |
|
| 52 |
%preun |
57 |
%preun |
| 53 |
%preun_service nfs |
58 |
%preun_service unfs |
|
|
59 |
|
| 54 |
|
60 |
|
| 55 |
%changelog |
61 |
%changelog |
|
|
62 |
* Tue Aug 07 2007 Led <led@altlinux.ru> 0.9.17-alt2.1 |
| 63 |
- resolved conflict with nfs-server |
| 64 |
+ improved init script |
| 65 |
+ renamed service from nfs to unfs |
| 66 |
- fixed init script |
| 67 |
- cleaned up spec |
| 68 |
|
| 56 |
* Sat Jan 27 2007 Michael Shigorin <mike@altlinux.org> 0.9.17-alt2 |
69 |
* Sat Jan 27 2007 Michael Shigorin <mike@altlinux.org> 0.9.17-alt2 |
| 57 |
- updated pidfile patch (it was actually sent upstream just yesterday |
70 |
- updated pidfile patch (it was actually sent upstream just yesterday |
| 58 |
and Pascal Schmidt promptly replied with more aligned version |
71 |
and Pascal Schmidt promptly replied with more aligned version |