2 |
%define name smeserver-isoqlog |
%define name smeserver-isoqlog |
3 |
Name: %{name} |
Name: %{name} |
4 |
%define version 2.2.1 |
%define version 2.2.1 |
5 |
%define release 4 |
%define release 5 |
6 |
Version: %{version} |
Version: %{version} |
7 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
8 |
License: GPL |
License: GPL |
12 |
Patch1: smeserver-isoqlog-2.2.1-patch1.patch |
Patch1: smeserver-isoqlog-2.2.1-patch1.patch |
13 |
Patch2: smeserver-isoqlog-2.2.1-domcreate.patch |
Patch2: smeserver-isoqlog-2.2.1-domcreate.patch |
14 |
Patch3: smeserver-isoqlog-2.2.1.bz10509.updatetktauth.patch |
Patch3: smeserver-isoqlog-2.2.1.bz10509.updatetktauth.patch |
15 |
|
Patch4: smeserver-isoqlog-2.2.1-bz12010-backup.patch |
16 |
|
Patch5: smeserver-isoqlog-2.2.1-bz12049-24syntax.patch |
17 |
|
Patch6: smeserver-isoqlog-2.2.1-systemd.patch |
18 |
|
|
19 |
Packager: Peter Schubert <psc@@s-a-c-o.de> |
Packager: Peter Schubert <psc@@s-a-c-o.de> |
20 |
BuildRoot: /var/tmp/%{name}-%{version}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-buildroot |
21 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
26 |
AutoReqProv: no |
AutoReqProv: no |
27 |
|
|
28 |
%changelog |
%changelog |
29 |
|
* Fri Jul 29 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.2.1-5.sme |
30 |
|
- add to core backup [SME: 12010] |
31 |
|
- use httpd 2.4 access syntax [SME: 12049] |
32 |
|
- systemd enabled [SME: 11061] |
33 |
|
- update event [SME: 11061] |
34 |
|
- update httpd.conf needed modules [SME: 11061] |
35 |
|
|
36 |
* Wed Feb 07 2018 Jean-Philipe Pialasse <tests@pialasse.com> 2.2.1-4.sme |
* Wed Feb 07 2018 Jean-Philipe Pialasse <tests@pialasse.com> 2.2.1-4.sme |
37 |
- new tkt options [SME: 1509] |
- new tkt options [SME: 1509] |
38 |
|
|
71 |
%patch1 -p1 |
%patch1 -p1 |
72 |
%patch2 -p1 |
%patch2 -p1 |
73 |
%patch3 -p1 |
%patch3 -p1 |
74 |
|
%patch4 -p1 |
75 |
|
%patch5 -p1 |
76 |
|
%patch6 -p1 |
77 |
|
rm -rf root/service |
78 |
|
rm -rf root/var/service |
79 |
|
|
80 |
%build |
%build |
81 |
perl createlinks |
perl createlinks |
87 |
#/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
#/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
88 |
#echo "%doc COPYING" >> %{name}-%{version}-filelist |
#echo "%doc COPYING" >> %{name}-%{version}-filelist |
89 |
|
|
|
%{__mkdir_p} $RPM_BUILD_ROOT/var/service/httpd-isoqlog/supervise |
|
|
%{__mkdir_p} $RPM_BUILD_ROOT/var/service/httpd-isoqlog/log/supervise |
|
|
%{__mkdir_p} $RPM_BUILD_ROOT/var/log/httpd-isoqlog |
|
90 |
%{__mkdir_p} $RPM_BUILD_ROOT/var/lib/php/isoqlog-session |
%{__mkdir_p} $RPM_BUILD_ROOT/var/lib/php/isoqlog-session |
91 |
|
|
92 |
|
|
93 |
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
94 |
/bin/rm -f %{name}-%{version}-filelist |
/bin/rm -f %{name}-%{version}-filelist |
95 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
|
--dir /var/service/httpd-isoqlog 'attr(01755,root,root)' \ |
|
|
--file /var/service/httpd-isoqlog/run 'attr(0700,root,root)' \ |
|
|
--dir /var/service/httpd-isoqlog/supervise 'attr(0700,root,root)' \ |
|
|
--dir /var/service/httpd-isoqlog/log 'attr(0755,root,root)' \ |
|
|
--file /var/service/httpd-isoqlog/log/run 'attr(0755,root,root)' \ |
|
|
--dir /var/service/httpd-isoqlog/log/supervise 'attr(0700,root,root)' \ |
|
|
--dir /var/log/httpd-isoqlog 'attr(0750,smelog,smelog)' \ |
|
96 |
--dir /var/lib/php/isoqlog-session 'attr(0770,root,isoqlog)' \ |
--dir /var/lib/php/isoqlog-session 'attr(0770,root,isoqlog)' \ |
97 |
> %{name}-%{version}-filelist |
> %{name}-%{version}-filelist |
98 |
|
|
113 |
true |
true |
114 |
|
|
115 |
%post |
%post |
|
/sbin/e-smith/signal-event isoqlog-conf |
|
116 |
/usr/bin/isoqlog -f /etc/isoqlog.conf 1>/dev/null 2>/dev/null |
/usr/bin/isoqlog -f /etc/isoqlog.conf 1>/dev/null 2>/dev/null |
117 |
|
|
118 |
%postun |
%postun |
119 |
rm -f /etc/httpd/conf.d/isoqlog.conf |
rm -f /etc/httpd/conf.d/isoqlog.conf |
|
/etc/rc.d/init.d/httpd-e-smith restart |
|
120 |
|
|
121 |
|
|
122 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |