1 |
stephdl |
1.1 |
# $Id: smeserver-mod_deflate.spec,v 1.2 2013/05/26 20:26:01 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.2 |
9 |
|
|
%define release 1 |
10 |
|
|
Version: %{version} |
11 |
|
|
Release: %{release}%{?dist} |
12 |
|
|
License: Freely distributable |
13 |
|
|
Group: Apache |
14 |
|
|
Source: %{name}-%{version}.tar.gz |
15 |
|
|
#%{name}-%{version}.patch.yyyymmddnn |
16 |
|
|
BuildRoot: /var/tmp/e-smith-buildroot |
17 |
|
|
BuildRequires: e-smith-devtools |
18 |
|
|
BuildArchitectures: noarch |
19 |
|
|
Requires: smeserver-release >= 8 |
20 |
|
|
AutoReqProv: no |
21 |
|
|
|
22 |
|
|
%changelog |
23 |
|
|
* Wed Sep 23 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2-1.sme |
24 |
|
|
- Initial release to contribs9 |
25 |
|
|
|
26 |
|
|
* Sun May 26 2013 JP Pialasse <tests@pialasse.com> 1.0-3.sme |
27 |
|
|
- migrating default db to right place, cleaning spec [SME: 7624] |
28 |
|
|
- Patch0 |
29 |
|
|
|
30 |
|
|
* Mon Jul 16 2007 Michel Van hees <michel@vanhees.cc> |
31 |
|
|
- Thanks to Sylvain Gomez that correct the uninstall script |
32 |
|
|
|
33 |
|
|
* Wed Jun 14 2006 Michel Van hees <michel@vanhees.cc> |
34 |
|
|
- start developpement |
35 |
|
|
|
36 |
|
|
%description |
37 |
|
|
Activate mod_deflate on smeserver |
38 |
|
|
|
39 |
|
|
%prep |
40 |
|
|
%setup |
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) |