1 |
# $Id: smeserver-nfs.spec,v 1.3 2016/03/09 08:55:38 unnilennium Exp $ |
2 |
# Authority: slords |
3 |
# Name: Shad L. Lords |
4 |
|
5 |
Summary: smeserver - configure nfs server |
6 |
%define name smeserver-nfs |
7 |
Name: %{name} |
8 |
%define version 1.2.0 |
9 |
%define release 12 |
10 |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
12 |
License: GPL |
13 |
Group: Networking/Daemons |
14 |
Source: %{name}-%{version}.tar.gz |
15 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
16 |
Requires: e-smith-base |
17 |
Requires: smeserver-release >= 9 |
18 |
Requires: nfs-utils |
19 |
Requires: nfs4-acl-tools |
20 |
Requires: e-smith-lib |
21 |
Requires: e-smith-packetfilter |
22 |
BuildRequires: e-smith-devtools |
23 |
BuildArchitectures: noarch |
24 |
Patch0: smeserver-nfs-1.2.0-locale-2015-09-12.patch |
25 |
Patch1: smeserver-nfs-1.2.0-locale-2016-03-09.patch |
26 |
Patch2: smeserver-nfs-1.2.0-locale-2017-02-02.patch |
27 |
|
28 |
%description |
29 |
e-smith server and gateway - configure nfs server |
30 |
|
31 |
%changelog |
32 |
* Wed Feb 01 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.2.0-12.sme |
33 |
- apply locale 2017-02-02.patch |
34 |
|
35 |
* Wed Mar 09 2016 JP Pialasse <tests@pialasse.com> 1.2.0-11.sme |
36 |
- apply locale 2016-03-09 patch |
37 |
|
38 |
* Sat Sep 12 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2.0-10.sme |
39 |
- Added smeserver-nfs-1.2.0-locale-2015-09-12.patch |
40 |
|
41 |
* Sat Aug 22 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2.0-9.sme |
42 |
- Initial release to contribs9 |
43 |
|
44 |
* Sun Jan 4 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2.0-8.sme |
45 |
- The ownership and the user access of the Ibay are modifiable by the contrib |
46 |
|
47 |
* Mon Dec 15 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2.0-7.sme |
48 |
- added a default db nfs-rules |
49 |
- added an exception if nfs-rules is removed by the admin |
50 |
|
51 |
* Mon Dec 15 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2.0-6.sme |
52 |
- Added an event nfs-conf shorter for the server-manager |
53 |
- Added a template /etc/exports/20CustomRules for manual settings |
54 |
|
55 |
* Sun Dec 7 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2.0-5.sme |
56 |
- added a template of hosts.allow |
57 |
- added restart nfslock/rpcbind to remoteaccess-update & nfs-update |
58 |
- display Group description and permissions from ibay account in nfs panel |
59 |
- added a textarea box for ip of nfsclient |
60 |
- display status of nfs share in the main panel |
61 |
|
62 |
* Sat Dec 6 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2.0-4.sme |
63 |
- Added a panel with en-us locale and validator |
64 |
|
65 |
* Tue Nov 25 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2.0-3.sme |
66 |
- Added nfs4-acl-tools for nfsv4 dependency |
67 |
- Added a template to /etc/exports |
68 |
- Added a specific event nfs-update |
69 |
|
70 |
* Mon Nov 24 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2.0-2.sme |
71 |
- removed portmap to rpcbind in r7.d |
72 |
|
73 |
* Tue Sep 16 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2.0-1.sme |
74 |
- Initial release to sme9 |
75 |
|
76 |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
77 |
- Clean up spec so package can be built by koji/plague |
78 |
|
79 |
* Thu Dec 07 2006 Shad L. Lords <slords@mail.com> |
80 |
- Update to new release naming. No functional changes. |
81 |
- Make Packager generic |
82 |
|
83 |
* Mon Jan 30 2006 Shad L. Lords <slords@mail.com> |
84 |
- initial |
85 |
|
86 |
%prep |
87 |
%setup |
88 |
%patch0 -p1 |
89 |
%patch1 -p1 |
90 |
%patch2 -p1 |
91 |
|
92 |
%build |
93 |
perl createlinks |
94 |
|
95 |
%install |
96 |
rm -rf $RPM_BUILD_ROOT |
97 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
98 |
rm -f %{name}-%{version}-%{release}-filelist |
99 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
100 |
> %{name}-%{version}-%{release}-filelist |
101 |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
102 |
|
103 |
%postun |
104 |
|
105 |
%clean |
106 |
rm -rf $RPM_BUILD_ROOT |
107 |
|
108 |
%files -f %{name}-%{version}-%{release}-filelist |
109 |
%defattr(-,root,root) |
110 |
|