1 |
# $Id: e-smith-apache.spec,v 1.2 2016/02/06 08:36:07 stephdl Exp $ |
# $Id: e-smith-apache.spec,v 1.5 2016/03/23 12:58:14 unnilennium 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 3 |
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 |
|
Patch1: e-smith-apache-2.6.0-bz9591-iconspath.patch |
15 |
|
|
16 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
17 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
18 |
Requires: e-smith-base >= 4.15.1 |
Requires: e-smith-base >= 4.15.1 |
31 |
%description |
%description |
32 |
e-smith server and gateway software - apache module. |
e-smith server and gateway software - apache module. |
33 |
|
|
34 |
|
%prep |
35 |
|
%setup |
36 |
|
%patch0 -p1 |
37 |
|
%patch1 -p1 |
38 |
|
|
39 |
|
%build |
40 |
|
perl createlinks |
41 |
|
|
42 |
|
%install |
43 |
|
rm -rf $RPM_BUILD_ROOT |
44 |
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
45 |
|
|
46 |
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
47 |
|
--dir /var/service/httpd-e-smith 'attr(01755,root,root)' \ |
48 |
|
--file /var/service/httpd-e-smith/down 'attr(0644,root,root)' \ |
49 |
|
--file /var/service/httpd-e-smith/run 'attr(0755,root,root)' \ |
50 |
|
> e-smith-%{version}-filelist |
51 |
|
|
52 |
|
echo "%doc COPYING" >> e-smith-%{version}-filelist |
53 |
|
|
54 |
|
%clean |
55 |
|
rm -rf $RPM_BUILD_ROOT |
56 |
|
|
57 |
|
%files -f e-smith-%{version}-filelist |
58 |
|
%defattr(-,root,root) |
59 |
|
|
60 |
|
|
61 |
%changelog |
%changelog |
62 |
* Sat Feb 6 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.1-2.sme |
* Tue Dec 10 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-3.sme |
63 |
- Corrected the problem of hard symlink in archive by a symlink creation |
- update apache icon path [SME: 9591] |
64 |
- in the createlinks [SME: 9215] |
|
65 |
|
* Wed Mar 23 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-2.sme |
66 |
|
- fix syntax preventing httpd to launch [SME: 9364] |
67 |
|
- moved changelog at end of file |
68 |
|
|
69 |
* 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 |
70 |
- Roll new stream for sme10 |
- Roll new stream for sme10 |
632 |
- [0.1.0-01] |
- [0.1.0-01] |
633 |
- Initial release, split out from e-smith-base [markk 6428] |
- Initial release, split out from e-smith-base [markk 6428] |
634 |
|
|
|
%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) |
|