1 |
stephdl |
1.1 |
%define name smeserver-certificate |
2 |
|
|
%define version 0.0.4 |
3 |
unnilennium |
1.4 |
%define release 5 |
4 |
stephdl |
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 |
stephdl |
1.2 |
Patch0: smeserver-certificate-0.0.4-locale-2015-09-12.patch |
20 |
unnilennium |
1.3 |
Patch1: smeserver-certificate-0.0.4-locale-2016-03-09.patch |
21 |
unnilennium |
1.4 |
Patch2: smeserver-certificate-0.0.4-locale-2017-02-02.patch |
22 |
stephdl |
1.1 |
|
23 |
|
|
%description |
24 |
|
|
allow to add, remove, easily commercial ssl certificate |
25 |
|
|
|
26 |
|
|
%prep |
27 |
|
|
%setup |
28 |
stephdl |
1.2 |
%patch0 -p1 |
29 |
unnilennium |
1.3 |
%patch1 -p1 |
30 |
unnilennium |
1.4 |
%patch1 -p1 |
31 |
unnilennium |
1.3 |
|
32 |
stephdl |
1.1 |
|
33 |
|
|
%build |
34 |
|
|
perl createlinks |
35 |
|
|
|
36 |
|
|
%install |
37 |
|
|
rm -rf $RPM_BUILD_ROOT |
38 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
39 |
|
|
rm -f %{name}-%{version}-filelist |
40 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
41 |
|
|
echo "%doc COPYING" >> %{name}-%{version}-filelist |
42 |
|
|
|
43 |
|
|
%clean |
44 |
|
|
cd .. |
45 |
|
|
rm -rf %{name}-%{version} |
46 |
|
|
|
47 |
|
|
%pre |
48 |
|
|
%preun |
49 |
|
|
%post |
50 |
|
|
%postun |
51 |
|
|
|
52 |
|
|
%files -f %{name}-%{version}-filelist |
53 |
|
|
%defattr(-,root,root) |
54 |
|
|
|
55 |
|
|
%changelog |
56 |
unnilennium |
1.4 |
* Wed Feb 01 2017 Jean-Philipe Pialasse <tests@pialasse.com> 0.0.4-5.sme |
57 |
|
|
- apply local 2017-02-02.patch |
58 |
|
|
|
59 |
unnilennium |
1.3 |
* Wed Mar 09 2016 JP Pialasse <tests@pialasse.com> 0.0.4-4.sme |
60 |
|
|
- apply locale 2016-03-09 patch |
61 |
|
|
|
62 |
stephdl |
1.2 |
* Sat Sep 12 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 0.0.4-3.sme |
63 |
|
|
- Added smeserver-certificate-0.0.4-locale-2015-09-12.patch |
64 |
|
|
|
65 |
stephdl |
1.1 |
* Sat Aug 22 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 0.0.4-2.sme |
66 |
|
|
- Initial release to contribs9 |
67 |
|
|
|
68 |
|
|
|
69 |
|
|
* Sun Aug 03 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> -0.0.4-1 |
70 |
|
|
- French translation |
71 |
|
|
|
72 |
|
|
* Tue Jul 01 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> -0.01-1 |
73 |
|
|
- Initial Release |
74 |
|
|
|