1 |
jcrisp |
1.1 |
%define name smeserver-certificate |
2 |
|
|
%define version 0.0.4 |
3 |
brianr |
1.9 |
%define release 14 |
4 |
jcrisp |
1.1 |
|
5 |
|
|
Name: %{name} |
6 |
|
|
Version: %{version} |
7 |
|
|
Release: %{release}%{?dist} |
8 |
|
|
Summary: allow to manage your ssl certificates |
9 |
|
|
|
10 |
|
|
Group: SMEserver/addon |
11 |
|
|
License: GNU GPL version 2 |
12 |
|
|
URL: http://www.contribs.org |
13 |
|
|
Source: %{name}-%{version}.tar.gz |
14 |
|
|
BuildRoot: %{_tmppath}/%{name}-buildroot |
15 |
|
|
BuildArchitectures: noarch |
16 |
|
|
BuildRequires: e-smith-devtools |
17 |
|
|
Requires: e-smith-release >= 9.0 |
18 |
|
|
AutoReqProv: no |
19 |
|
|
Patch0: smeserver-certificate-0.0.4-locale-2015-09-12.patch |
20 |
|
|
Patch1: smeserver-certificate-0.0.4-locale-2016-03-09.patch |
21 |
|
|
Patch2: smeserver-certificate-0.0.4-locale-2017-02-02.patch |
22 |
terryfage |
1.2 |
Patch3: smeserver-certificate-0.0.4-bz11604-sme10.patch |
23 |
brianr |
1.3 |
Patch4: smeserver-certificate-0.0.4-Eliminate-Error-msg-on-blank-save.patch |
24 |
brianr |
1.4 |
Patch5: smeserver-certificate-0.0.4-Add-panel-for-SM2.patch |
25 |
brianr |
1.5 |
Patch6: smeserver-certificate-0.0.4-Update-lex-file.patch |
26 |
brianr |
1.6 |
Patch7: smeserver-certificate-0.0.4-Fix-Routes.patch |
27 |
jpp |
1.7 |
Patch8: smeserver-certificate-0.0.4-locale-2022-07-22.patch |
28 |
jpp |
1.8 |
Patch9: smeserver-certificate-0.0.4-locale-2022-11-11.patch |
29 |
brianr |
1.9 |
Patch10: smeserver-certificate-0.0.4-Alter-menu-category-for-new-arrangement.patch |
30 |
jcrisp |
1.1 |
|
31 |
|
|
%description |
32 |
|
|
allow to add, remove, easily commercial ssl certificate |
33 |
|
|
|
34 |
|
|
%prep |
35 |
|
|
%setup |
36 |
|
|
%patch0 -p1 |
37 |
|
|
%patch1 -p1 |
38 |
|
|
%patch2 -p1 |
39 |
terryfage |
1.2 |
%patch3 -p1 |
40 |
brianr |
1.3 |
%patch4 -p1 |
41 |
brianr |
1.4 |
%patch5 -p1 |
42 |
brianr |
1.5 |
%patch6 -p1 |
43 |
brianr |
1.6 |
%patch7 -p1 |
44 |
jpp |
1.7 |
%patch8 -p1 |
45 |
jpp |
1.8 |
%patch9 -p1 |
46 |
brianr |
1.9 |
%patch10 -p1 |
47 |
jcrisp |
1.1 |
|
48 |
|
|
%build |
49 |
|
|
perl createlinks |
50 |
|
|
|
51 |
|
|
%install |
52 |
|
|
rm -rf $RPM_BUILD_ROOT |
53 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
54 |
|
|
rm -f %{name}-%{version}-filelist |
55 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
56 |
|
|
echo "%doc COPYING" >> %{name}-%{version}-filelist |
57 |
|
|
|
58 |
|
|
%clean |
59 |
|
|
cd .. |
60 |
|
|
rm -rf %{name}-%{version} |
61 |
|
|
|
62 |
|
|
%pre |
63 |
|
|
%preun |
64 |
|
|
%post |
65 |
brianr |
1.9 |
|
66 |
|
|
if (systemctl list-unit-files |grep smanager) then |
67 |
|
|
echo "Smanager restart in spec file" |
68 |
|
|
/sbin/e-smith/signal-event smanager-refresh; |
69 |
|
|
fi |
70 |
|
|
|
71 |
jcrisp |
1.1 |
%postun |
72 |
|
|
|
73 |
|
|
%files -f %{name}-%{version}-filelist |
74 |
|
|
%defattr(-,root,root) |
75 |
|
|
|
76 |
|
|
%changelog |
77 |
brianr |
1.9 |
* Fri Mar 01 2024 Brian Read <brianr@koozali.org> 0.0.4-14.sme |
78 |
|
|
- Edit SM2 Menu entry to conform to new arrangements [SME: 12493] |
79 |
|
|
|
80 |
jpp |
1.8 |
* Fri Nov 11 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.0.4-13.sme |
81 |
|
|
- apply locale 2022-11-11 patch |
82 |
|
|
|
83 |
jpp |
1.7 |
* Fri Jul 22 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.0.4-12.sme |
84 |
|
|
- translation 2022-07-22 patch |
85 |
|
|
|
86 |
brianr |
1.6 |
* Thu May 26 2022 Brian Read <brianr@bjsystems.co.uk> 0.0.4-11.sme |
87 |
|
|
- fix routes [SME: 11926] |
88 |
|
|
|
89 |
brianr |
1.5 |
* Sun Apr 17 2022 Brian Read <brianr@bjsystems.co.uk> 0.0.4-10.sme |
90 |
|
|
- Add in updated lex file [SME: 11926] |
91 |
|
|
|
92 |
brianr |
1.4 |
* Wed Mar 30 2022 Brian Read <brianr@bjsystems.co.uk> 0.0.4-9.sme |
93 |
|
|
- Add panel for SM2 [SME: 11926] |
94 |
|
|
|
95 |
brianr |
1.3 |
* Tue Mar 29 2022 Brian Read <brianr@bjsystems.co.uk> 0.0.4-8.sme |
96 |
|
|
- Eliminate-Error-msg-on-blank-save [SME: 11604] |
97 |
|
|
|
98 |
terryfage |
1.2 |
* Tue Feb 01 2022 Terry Fage <terryf@ozemail.com.au> 0.0.4-7.sme |
99 |
|
|
- smeserver-certificate-0.0.4-bz11604-to-sme10.patch |
100 |
|
|
|
101 |
jcrisp |
1.1 |
* Wed Feb 01 2017 Jean-Philipe Pialasse <tests@pialasse.com> 0.0.4-6.sme |
102 |
|
|
- apply local 2017-02-02.patch |
103 |
|
|
|
104 |
|
|
* Wed Mar 09 2016 JP Pialasse <tests@pialasse.com> 0.0.4-4.sme |
105 |
|
|
- apply locale 2016-03-09 patch |
106 |
|
|
|
107 |
|
|
* Sat Sep 12 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 0.0.4-3.sme |
108 |
|
|
- Added smeserver-certificate-0.0.4-locale-2015-09-12.patch |
109 |
|
|
|
110 |
|
|
* Sat Aug 22 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 0.0.4-2.sme |
111 |
|
|
- Initial release to contribs9 |
112 |
|
|
|
113 |
|
|
|
114 |
|
|
* Sun Aug 03 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> -0.0.4-1 |
115 |
|
|
- French translation |
116 |
|
|
|
117 |
|
|
* Tue Jul 01 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> -0.01-1 |
118 |
|
|
- Initial Release |
119 |
|
|
|