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