/[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.3 - (hide annotations) (download)
Tue Feb 26 01:05:34 2008 UTC (16 years, 8 months ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +0 -0 lines
FILE REMOVED
Remove version from spec

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

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