1 |
# $Id: smeserver-mod_deflate.spec,v 1.1 2013/03/03 05:03:23 unnilennium 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.0 |
9 |
%define release 3 |
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.0-patchDB.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 |
* 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> |
29 |
- Thanks to Sylvain Gomez that correct the uninstall script |
30 |
|
31 |
* Wed Jun 14 2006 Michel Van hees <michel@vanhees.cc> |
32 |
- start developpement |
33 |
|
34 |
%description |
35 |
Activate mod_deflate on smeserver |
36 |
|
37 |
%prep |
38 |
%setup |
39 |
%patch0 -p1 |
40 |
#%patch1 -p1 |
41 |
|
42 |
%build |
43 |
perl createlinks |
44 |
|
45 |
%install |
46 |
rm -rf $RPM_BUILD_ROOT |
47 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
48 |
rm -f %{name}-%{version}-filelist |
49 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
50 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
51 |
|
52 |
%clean |
53 |
rm -rf $RPM_BUILD_ROOT |
54 |
|
55 |
%pre |
56 |
%preun |
57 |
%post |
58 |
%postun |
59 |
%files -f %{name}-%{version}-filelist |
60 |
%defattr(-,root,root) |