/[smecontribs]/rpms/smeserver-mod_deflate/contribs8/smeserver-mod_deflate.spec
ViewVC logotype

Diff of /rpms/smeserver-mod_deflate/contribs8/smeserver-mod_deflate.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.1 by unnilennium, Sun Mar 3 05:03:23 2013 UTC Revision 1.2 by unnilennium, Sun May 26 20:26:01 2013 UTC
# Line 1  Line 1 
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    
# Line 6  Summary: SME server mod_deflate activati Line 6  Summary: SME server mod_deflate activati
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    
# Line 31  Activate mod_deflate on smeserver Line 36  Activate mod_deflate on smeserver
36    
37  %prep  %prep
38  %setup  %setup
39  #%patch0 -p1  %patch0 -p1
40  #%patch1 -p1  #%patch1 -p1
41    
42  %build  %build
# Line 50  rm -rf $RPM_BUILD_ROOT Line 55  rm -rf $RPM_BUILD_ROOT
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)


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed