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