1 |
# $Id: smeserver-mod_deflate.spec,v 1.4 2021/04/02 19:54:06 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 5 |
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 |
* Wed Feb 28 2024 Jean-Philippe Pialasse <tests@pialasse.com> 1.2-5.sme |
25 |
- revert logrotate, as taken care by httpd logrotate now [SME: 8901] |
26 |
|
27 |
* Fri Apr 02 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.2-4.sme |
28 |
- update event [SME: 11274] |
29 |
- logrotate [SME: 8901] |
30 |
|
31 |
* Sat Dec 19 2020 Brian Read <brianr@bjsystems.co.uk> 1.2-2.sme |
32 |
- Initial import to SME10 tree [SME: 11274] |
33 |
|
34 |
* Wed Sep 23 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2-1.sme |
35 |
- Initial release to contribs9 |
36 |
|
37 |
* Sun May 26 2013 JP Pialasse <tests@pialasse.com> 1.0-3.sme |
38 |
- migrating default db to right place, cleaning spec [SME: 7624] |
39 |
- Patch0 |
40 |
|
41 |
* Mon Jul 16 2007 Michel Van hees <michel@vanhees.cc> |
42 |
- Thanks to Sylvain Gomez that correct the uninstall script |
43 |
|
44 |
* Wed Jun 14 2006 Michel Van hees <michel@vanhees.cc> |
45 |
- start developpement |
46 |
|
47 |
%description |
48 |
Activate mod_deflate on smeserver |
49 |
|
50 |
%prep |
51 |
%setup |
52 |
%patch0 -p1 |
53 |
|
54 |
%build |
55 |
perl createlinks |
56 |
|
57 |
%install |
58 |
rm -rf $RPM_BUILD_ROOT |
59 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
60 |
rm -f %{name}-%{version}-filelist |
61 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
62 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
63 |
|
64 |
%clean |
65 |
rm -rf $RPM_BUILD_ROOT |
66 |
|
67 |
%pre |
68 |
%preun |
69 |
%post |
70 |
%postun |
71 |
%files -f %{name}-%{version}-filelist |
72 |
%defattr(-,root,root) |