1 |
# $Id: smeserver-mod_deflate.spec,v 1.4 2008/11/25 16:20:26 slords Exp $ |
# $Id: smeserver-mod_deflate.spec,v 1.1 2013/03/03 05:03:23 unnilennium Exp $ |
2 |
# Authority: nocvs |
# Authority: nocvs |
3 |
# Name: Michel Van hees |
# Name: Michel Van hees |
4 |
|
|
6 |
%define name smeserver-mod_deflate |
%define name smeserver-mod_deflate |
7 |
Name: %{name} |
Name: %{name} |
8 |
%define version 1.0 |
%define version 1.0 |
9 |
%define release 2 |
%define release 3 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: Freely distributable |
License: Freely distributable |
13 |
Group: Apache |
Group: Apache |
14 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
15 |
#Patch0: %{name}-%{version}.patch.yyyymmddnn |
Patch0: smeserver-mod_deflate-1.0-patchDB.patch |
16 |
|
#%{name}-%{version}.patch.yyyymmddnn |
17 |
BuildRoot: /var/tmp/e-smith-buildroot |
BuildRoot: /var/tmp/e-smith-buildroot |
18 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
19 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
20 |
Requires: smeserver-release >= 7 |
Requires: smeserver-release >= 8 |
21 |
AutoReqProv: no |
AutoReqProv: no |
22 |
|
|
23 |
%changelog |
%changelog |
24 |
|
* Sun May 26 2013 JP Pialasse <tests@pialasse.com> 1.0-3.sme |
25 |
|
- migrating default db to right place, cleaning spec [SME: 7624] |
26 |
|
- Patch0 |
27 |
|
|
28 |
* Mon Jul 16 2007 Michel Van hees <michel@vanhees.cc> |
* Mon Jul 16 2007 Michel Van hees <michel@vanhees.cc> |
29 |
- Thanks to Sylvain Gomez that correct the uninstall script |
- Thanks to Sylvain Gomez that correct the uninstall script |
30 |
|
|
36 |
|
|
37 |
%prep |
%prep |
38 |
%setup |
%setup |
39 |
#%patch0 -p1 |
%patch0 -p1 |
40 |
#%patch1 -p1 |
#%patch1 -p1 |
41 |
|
|
42 |
%build |
%build |
55 |
%pre |
%pre |
56 |
%preun |
%preun |
57 |
%post |
%post |
|
/sbin/e-smith/db configuration set modDeflate service level 9 status enabled |
|
|
/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf |
|
|
/etc/rc.d/init.d/httpd-e-smith sigusr1 |
|
|
|
|
58 |
%postun |
%postun |
|
/sbin/e-smith/db configuration delete modDeflate |
|
|
/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf |
|
|
/etc/rc.d/init.d/httpd-e-smith sigusr1 |
|
|
|
|
59 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |
60 |
%defattr(-,root,root) |
%defattr(-,root,root) |