1 |
# $Id: e-smith-apache.spec,v 1.2 2016/02/06 08:36:07 stephdl Exp $ |
# $Id: e-smith-apache.spec,v 1.4 2016/02/07 10:54:50 vip-ire Exp $ |
2 |
|
|
3 |
Summary: e-smith server and gateway - apache module |
Summary: e-smith server and gateway - apache module |
4 |
%define name e-smith-apache |
%define name e-smith-apache |
5 |
Name: %{name} |
Name: %{name} |
6 |
%define version 2.6.1 |
%define version 2.6.0 |
7 |
%define release 2 |
%define release 2 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
11 |
Group: Networking/Daemons |
Group: Networking/Daemons |
12 |
Source: %{name}-%{version}.tar.xz |
Source: %{name}-%{version}.tar.xz |
13 |
|
Patch0: e-smith-apache-2.6.0-httpd24.patch |
14 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
15 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
16 |
Requires: e-smith-base >= 4.15.1 |
Requires: e-smith-base >= 4.15.1 |
29 |
%description |
%description |
30 |
e-smith server and gateway software - apache module. |
e-smith server and gateway software - apache module. |
31 |
|
|
32 |
|
%prep |
33 |
|
%setup |
34 |
|
%patch0 -p1 |
35 |
|
|
36 |
|
%build |
37 |
|
perl createlinks |
38 |
|
|
39 |
|
%install |
40 |
|
rm -rf $RPM_BUILD_ROOT |
41 |
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
42 |
|
|
43 |
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
44 |
|
--dir /var/service/httpd-e-smith 'attr(01755,root,root)' \ |
45 |
|
--file /var/service/httpd-e-smith/down 'attr(0644,root,root)' \ |
46 |
|
--file /var/service/httpd-e-smith/run 'attr(0755,root,root)' \ |
47 |
|
> e-smith-%{version}-filelist |
48 |
|
|
49 |
|
echo "%doc COPYING" >> e-smith-%{version}-filelist |
50 |
|
|
51 |
|
%clean |
52 |
|
rm -rf $RPM_BUILD_ROOT |
53 |
|
|
54 |
|
%files -f e-smith-%{version}-filelist |
55 |
|
%defattr(-,root,root) |
56 |
|
|
57 |
|
|
58 |
%changelog |
%changelog |
59 |
* Sat Feb 6 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.1-2.sme |
* Wed Mar 23 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-2.sme |
60 |
- Corrected the problem of hard symlink in archive by a symlink creation |
- fix syntax preventing httpd to launch [SME: 9364] |
61 |
- in the createlinks [SME: 9215] |
- moved changelog at end of file |
62 |
|
|
63 |
* Thu Feb 4 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-1.sme |
* Thu Feb 4 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-1.sme |
64 |
- Roll new stream for sme10 |
- Roll new stream for sme10 |
626 |
- [0.1.0-01] |
- [0.1.0-01] |
627 |
- Initial release, split out from e-smith-base [markk 6428] |
- Initial release, split out from e-smith-base [markk 6428] |
628 |
|
|
|
%prep |
|
|
%setup |
|
|
|
|
|
%build |
|
|
perl createlinks |
|
|
|
|
|
%install |
|
|
rm -rf $RPM_BUILD_ROOT |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
|
|
|
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
|
|
--dir /var/service/httpd-e-smith 'attr(01755,root,root)' \ |
|
|
--file /var/service/httpd-e-smith/down 'attr(0644,root,root)' \ |
|
|
--file /var/service/httpd-e-smith/run 'attr(0755,root,root)' \ |
|
|
> e-smith-%{version}-filelist |
|
|
|
|
|
echo "%doc COPYING" >> e-smith-%{version}-filelist |
|
|
|
|
|
%clean |
|
|
rm -rf $RPM_BUILD_ROOT |
|
|
|
|
|
%files -f e-smith-%{version}-filelist |
|
|
%defattr(-,root,root) |
|