1 |
# $Id: smeserver-mod_deflate.spec,v 1.3 2021/04/02 19:45:20 jpp Exp $ |
2 |
# Authority: nocvs |
3 |
# Name: Michel Van hees |
4 |
|
5 |
Summary: SME server mod_deflate activation |
6 |
%define name smeserver-mod_deflate |
7 |
Name: %{name} |
8 |
%define version 1.2 |
9 |
%define release 4 |
10 |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
12 |
License: Freely distributable |
13 |
Group: Apache |
14 |
Source: %{name}-%{version}.tar.gz |
15 |
Patch0: smeserver-mod_deflate-1.2-bz11274-bz8901-updateEvent-logrotate.patch |
16 |
#%{name}-%{version}.patch.yyyymmddnn |
17 |
BuildRoot: /var/tmp/e-smith-buildroot |
18 |
BuildRequires: e-smith-devtools |
19 |
BuildArchitectures: noarch |
20 |
Requires: smeserver-release >= 8 |
21 |
AutoReqProv: no |
22 |
|
23 |
%changelog |
24 |
* Fri Apr 02 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.2-4.sme |
25 |
- update event [SME: 11274] |
26 |
- logrotate [SME8901] |
27 |
|
28 |
* Sat Dec 19 2020 Brian Read <brianr@bjsystems.co.uk> 1.2-2.sme |
29 |
- Initial import to SME10 tree [SME: 11274] |
30 |
|
31 |
* Wed Sep 23 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2-1.sme |
32 |
- Initial release to contribs9 |
33 |
|
34 |
* Sun May 26 2013 JP Pialasse <tests@pialasse.com> 1.0-3.sme |
35 |
- migrating default db to right place, cleaning spec [SME: 7624] |
36 |
- Patch0 |
37 |
|
38 |
* Mon Jul 16 2007 Michel Van hees <michel@vanhees.cc> |
39 |
- Thanks to Sylvain Gomez that correct the uninstall script |
40 |
|
41 |
* Wed Jun 14 2006 Michel Van hees <michel@vanhees.cc> |
42 |
- start developpement |
43 |
|
44 |
%description |
45 |
Activate mod_deflate on smeserver |
46 |
|
47 |
%prep |
48 |
%setup |
49 |
%patch0 -p1 |
50 |
|
51 |
%build |
52 |
perl createlinks |
53 |
|
54 |
%install |
55 |
rm -rf $RPM_BUILD_ROOT |
56 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
57 |
rm -f %{name}-%{version}-filelist |
58 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
59 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
60 |
|
61 |
%clean |
62 |
rm -rf $RPM_BUILD_ROOT |
63 |
|
64 |
%pre |
65 |
%preun |
66 |
%post |
67 |
%postun |
68 |
%files -f %{name}-%{version}-filelist |
69 |
%defattr(-,root,root) |