1 |
%define version 1.0 |
%define version 1.0 |
2 |
%define release 12 |
%define release 13 |
3 |
Summary: Set up zoneminder for SME Server. |
Summary: Set up zoneminder for SME Server. |
4 |
Name: smeserver-zoneminder |
Name: smeserver-zoneminder |
5 |
Version: %{version} |
Version: %{version} |
15 |
Patch4: smeserver-zoneminder-1.0-Update-for-SME10-systemd.patch |
Patch4: smeserver-zoneminder-1.0-Update-for-SME10-systemd.patch |
16 |
Patch5: smeserver-zoneminder-1.0-bz12069-24syntax.patch |
Patch5: smeserver-zoneminder-1.0-bz12069-24syntax.patch |
17 |
Patch6: smeserver-zoneminder-1.0-bz12034-backup.patch |
Patch6: smeserver-zoneminder-1.0-bz12034-backup.patch |
18 |
|
Patch7: smeserver-zoneminder-1.0-bz11226-php-pool.patch |
19 |
|
|
20 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
21 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
33 |
rpm to setup zoneminder |
rpm to setup zoneminder |
34 |
|
|
35 |
%changelog |
%changelog |
36 |
|
* Fri Mar 24 2023 Jean-Philippe Pialasse <tests@pialasse.com> 1.0-13.sme |
37 |
|
- fix [SME: ] |
38 |
|
|
39 |
* Mon Aug 01 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.0-12.sme |
* Mon Aug 01 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.0-12.sme |
40 |
- adapt to httpd 2.4 access syntax [SME: 12069] |
- adapt to httpd 2.4 access syntax [SME: 12069] |
41 |
- add to core backup [SME: 12034] |
- add to core backup [SME: 12034] |
96 |
%patch4 -p1 |
%patch4 -p1 |
97 |
%patch5 -p1 |
%patch5 -p1 |
98 |
%patch6 -p1 |
%patch6 -p1 |
99 |
|
%patch7 -p1 |
100 |
|
mkdir -p root/var/lib/php/zoneminder/{session,tmp,opcache) |
101 |
|
mkdir -p root/var/log/php/zoneminder |
102 |
|
|
103 |
%build |
%build |
104 |
perl createlinks |
perl createlinks |
108 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
109 |
rm -f %{name}-%{version}-filelist |
rm -f %{name}-%{version}-filelist |
110 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
111 |
|
--dir /var/log/php/zoneminder 'attr(0755,www,www)' \ |
112 |
|
--dir /var/lib/php/zoneminder 'attr(0755,www,www)' \ |
113 |
|
--dir /var/lib/php/zoneminder/tmp 'attr(0755,www,www)' \ |
114 |
|
--dir /var/lib/php/zoneminder/opcache 'attr(0755,www,www)' \ |
115 |
|
--dir /var/lib/php/zoneminder/session 'attr(0755,www,www)' \ |
116 |
> %{name}-%{version}-filelist |
> %{name}-%{version}-filelist |
117 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
118 |
|
|