1 |
# $Id: smeserver-nfs.spec,v 1.1 2020/12/19 14:48:54 brianr 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 17 |
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 |
Patch3: smeserver-nfs-1.2.0-locale-2017-03-25.patch |
28 |
Patch4: smeserver-nfs-1.2.0-locale-2017-12-02.patch |
29 |
Patch5: smeserver-nfs-1.2.0-locale-2018-12-14.patch |
30 |
Patch6: smeserver-nfs-1.2.0-locale-2019-12-07.patch |
31 |
|
32 |
%description |
33 |
e-smith server and gateway - configure nfs server |
34 |
|
35 |
%changelog |
36 |
* Sat Dec 19 2020 Brian Read <brianr@bjsystems.co.uk> 1.2.0-17.sme |
37 |
- Initial import to SME10 [SME: 11272] |
38 |
|
39 |
* Sat Dec 07 2019 SME Translation Server <translations@contribs.org> 1.2.0-16.sme |
40 |
- apply locale 2019-12-07 patch |
41 |
|
42 |
* Fri Dec 14 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 1.2.0-15.sme |
43 |
- apply locale 2018-12-14 patch |
44 |
|
45 |
* Sat Dec 02 2017 SME Translation Server <translations@contribs.org> 1.2.0-14.sme |
46 |
- apply locale 2017-12-02 patch |
47 |
|
48 |
* Sat Mar 25 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.2.0-13.sme |
49 |
- apply locale 2017-03-25 patch |
50 |
|
51 |
* Wed Feb 01 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.2.0-12.sme |
52 |
- apply locale 2017-02-02.patch |
53 |
|
54 |
* Wed Mar 09 2016 JP Pialasse <tests@pialasse.com> 1.2.0-11.sme |
55 |
- apply locale 2016-03-09 patch |
56 |
|
57 |
* Sat Sep 12 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2.0-10.sme |
58 |
- Added smeserver-nfs-1.2.0-locale-2015-09-12.patch |
59 |
|
60 |
* Sat Aug 22 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2.0-9.sme |
61 |
- Initial release to contribs9 |
62 |
|
63 |
* Sun Jan 4 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2.0-8.sme |
64 |
- The ownership and the user access of the Ibay are modifiable by the contrib |
65 |
|
66 |
* Mon Dec 15 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2.0-7.sme |
67 |
- added a default db nfs-rules |
68 |
- added an exception if nfs-rules is removed by the admin |
69 |
|
70 |
* Mon Dec 15 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2.0-6.sme |
71 |
- Added an event nfs-conf shorter for the server-manager |
72 |
- Added a template /etc/exports/20CustomRules for manual settings |
73 |
|
74 |
* Sun Dec 7 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2.0-5.sme |
75 |
- added a template of hosts.allow |
76 |
- added restart nfslock/rpcbind to remoteaccess-update & nfs-update |
77 |
- display Group description and permissions from ibay account in nfs panel |
78 |
- added a textarea box for ip of nfsclient |
79 |
- display status of nfs share in the main panel |
80 |
|
81 |
* Sat Dec 6 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2.0-4.sme |
82 |
- Added a panel with en-us locale and validator |
83 |
|
84 |
* Tue Nov 25 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2.0-3.sme |
85 |
- Added nfs4-acl-tools for nfsv4 dependency |
86 |
- Added a template to /etc/exports |
87 |
- Added a specific event nfs-update |
88 |
|
89 |
* Mon Nov 24 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2.0-2.sme |
90 |
- removed portmap to rpcbind in r7.d |
91 |
|
92 |
* Tue Sep 16 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2.0-1.sme |
93 |
- Initial release to sme9 |
94 |
|
95 |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
96 |
- Clean up spec so package can be built by koji/plague |
97 |
|
98 |
* Thu Dec 07 2006 Shad L. Lords <slords@mail.com> |
99 |
- Update to new release naming. No functional changes. |
100 |
- Make Packager generic |
101 |
|
102 |
* Mon Jan 30 2006 Shad L. Lords <slords@mail.com> |
103 |
- initial |
104 |
|
105 |
%prep |
106 |
%setup |
107 |
%patch0 -p1 |
108 |
%patch1 -p1 |
109 |
%patch2 -p1 |
110 |
%patch3 -p1 |
111 |
%patch4 -p1 |
112 |
%patch5 -p1 |
113 |
%patch6 -p1 |
114 |
|
115 |
%build |
116 |
perl createlinks |
117 |
|
118 |
%install |
119 |
rm -rf $RPM_BUILD_ROOT |
120 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
121 |
rm -f %{name}-%{version}-%{release}-filelist |
122 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
123 |
> %{name}-%{version}-%{release}-filelist |
124 |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
125 |
|
126 |
%postun |
127 |
|
128 |
%clean |
129 |
rm -rf $RPM_BUILD_ROOT |
130 |
|
131 |
%files -f %{name}-%{version}-%{release}-filelist |
132 |
%defattr(-,root,root) |
133 |
|