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

Annotation of /rpms/smeserver-mod_deflate/contribs7/smeserver-mod_deflate-1.0.spec

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


Revision 1.1 - (hide annotations) (download)
Tue Dec 25 04:59:06 2007 UTC (16 years, 6 months ago) by slords
Branch: MAIN
Import on branch contribs7 of package smeserver-mod_deflate-1.0-2.src.rpm

1 slords 1.1 Summary: SME server mod_deflate activation
2     %define name smeserver-mod_deflate
3     Name: %{name}
4     %define version 1.0
5     %define release 2
6     Version: %{version}
7     Release: %{release}
8     Copyright: Freely distributable
9     Group: Apache
10     Source: %{name}-%{version}.tar.gz
11     #Patch0: %{name}-%{version}.patch.yyyymmddnn
12     Packager: Michel Van hees <michel@vanhees.cc>
13     BuildRoot: /var/tmp/e-smith-buildroot
14     BuildRequires: e-smith-devtools
15     BuildArchitectures: noarch
16     Requires: smeserver-release >= 7
17     AutoReqProv: no
18    
19     %changelog
20     * Mon Jul 16 2007 Michel Van hees <michel@vanhees.cc>
21     - Thanks to Sylvain Gomez that correct the uninstall script
22    
23     * Wed Jun 14 2006 Michel Van hees <michel@vanhees.cc>
24     - start developpement
25    
26     %description
27     Activate mod_deflate on smeserver
28    
29     %prep
30     %setup
31     #%patch0 -p1
32     #%patch1 -p1
33    
34     %build
35     perl createlinks
36    
37     %install
38     rm -rf $RPM_BUILD_ROOT
39     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
40     rm -f %{name}-%{version}-filelist
41     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
42     echo "%doc COPYING" >> %{name}-%{version}-filelist
43    
44     %clean
45     rm -rf $RPM_BUILD_ROOT
46    
47     %pre
48     %preun
49     %post
50     /sbin/e-smith/db configuration set modDeflate service level 9 status enabled
51     /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
52     /etc/rc.d/init.d/httpd-e-smith sigusr1
53    
54     %postun
55     /sbin/e-smith/db configuration delete modDeflate
56     /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
57     /etc/rc.d/init.d/httpd-e-smith sigusr1
58    
59     %files -f %{name}-%{version}-filelist
60     %defattr(-,root,root)

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