1 |
brianr |
1.1 |
%define version 1.0 |
2 |
jpp |
1.5 |
%define release 12 |
3 |
brianr |
1.1 |
Summary: Set up zoneminder for SME Server. |
4 |
|
|
Name: smeserver-zoneminder |
5 |
|
|
Version: %{version} |
6 |
|
|
Release: %{release}%{?dist} |
7 |
|
|
License: GNU GPL version 2 |
8 |
|
|
URL: http://www.contribs.org |
9 |
|
|
Group: SMEserver/addon |
10 |
|
|
Source: %{name}-%{version}.tar.gz |
11 |
|
|
Patch0: smeserver-zoneminder-1.0-bz10539-initial_fixes.patch |
12 |
|
|
Patch1: smeserver-zoneminder-1.0-bz10539-fix-cgi-path.patch |
13 |
|
|
Patch2: smeserver-zoneminder-1.0-bz10676-fix-sql-perms.patch |
14 |
brianr |
1.3 |
Patch3: smeserver-zoneminder-1.0-Update-httpd-for-php-fpw.patch |
15 |
brianr |
1.4 |
Patch4: smeserver-zoneminder-1.0-Update-for-SME10-systemd.patch |
16 |
jpp |
1.5 |
Patch5: smeserver-zoneminder-1.0-bz12069-24syntax.patch |
17 |
brianr |
1.1 |
|
18 |
|
|
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
19 |
|
|
BuildArchitectures: noarch |
20 |
|
|
BuildRequires: e-smith-devtools >= 1.13.1-03 |
21 |
jpp |
1.5 |
Requires: e-smith-release >= 10.0 |
22 |
|
|
Requires: e-smith-apache >= 2.6.0-19 |
23 |
|
|
Requires: smeserver-php >= 3.0.0-43 |
24 |
brianr |
1.1 |
Requires: zoneminder |
25 |
|
|
Requires: e-smith-base |
26 |
brianr |
1.3 |
#Requires: php70-php-pecl-apcu-bc php71-php-pecl-apcu-bc php72-php-pecl-apcu-bc php73-php-pecl-apcu-bc |
27 |
|
|
#Requires: php54-php-pecl-apcu php55-php-pecl-apcu php56-php-pecl-apcu php70-php-pecl-apcu php71-php-pecl-apcu php72-php-pecl-apcu php73-php-pecl-apcu |
28 |
|
|
#Requires: ffmpeg-compat_0.10.16 |
29 |
brianr |
1.1 |
AutoReqProv: no |
30 |
|
|
|
31 |
|
|
%description |
32 |
|
|
rpm to setup zoneminder |
33 |
|
|
|
34 |
|
|
%changelog |
35 |
jpp |
1.5 |
* Mon Aug 01 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.0-12.sme |
36 |
|
|
- adapt to httpd 2.4 access syntax [SME: 12069] |
37 |
|
|
work of bunkobugsy |
38 |
|
|
|
39 |
brianr |
1.4 |
* Tue Feb 16 2021 Brian Read <brianr@bjsystems.co.uk> 1.0-11.sme |
40 |
|
|
- Update for systemd changes [SME: 11226] |
41 |
|
|
|
42 |
brianr |
1.3 |
* Fri Dec 04 2020 Brian Read <brianr@bjsystems.co.uk> 1.0-10.sme |
43 |
|
|
- Update httpds.conf for php-fpw [SME: 11226] |
44 |
|
|
|
45 |
|
|
* Thu Dec 03 2020 Brian Read <brianr@bjsystems.co.uk> 1.0-9.sme |
46 |
jpp |
1.5 |
- Remove smeserver-php-scl [SME: 11226] |
47 |
brianr |
1.3 |
|
48 |
brianr |
1.2 |
* Thu Dec 03 2020 Brian Read <brianr@bjsystems.co.uk> 1.0-8.sme |
49 |
|
|
- Initial import to SME10 tree [SME: 11226] |
50 |
|
|
|
51 |
brianr |
1.1 |
* Fri Dec 28 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.0-7.sme |
52 |
|
|
- add deps [SME: 10539] |
53 |
|
|
- fix sql init file perms [SME: 10676] |
54 |
|
|
|
55 |
|
|
* Tue Mar 13 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.0-4.sme |
56 |
|
|
- fix wrong cgi path preventing realtime image to display [SME: 10539] |
57 |
|
|
|
58 |
|
|
* Tue Mar 13 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.0-3.sme |
59 |
|
|
- fix few bugs on initial release [SME: 10539] |
60 |
|
|
- fix auth using SME Server admin user and pass for http auth |
61 |
|
|
- add setting of mysql for innodb |
62 |
|
|
|
63 |
|
|
* Tue Mar 13 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.0-2.sme |
64 |
|
|
- fix bad dep to phpscl should be php-scl [SME: 10539] |
65 |
|
|
|
66 |
|
|
* Tue Mar 13 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.0-1.sme |
67 |
|
|
- initial version for SME9 [SME: 10539] |
68 |
|
|
- create password for db, db , and fill it |
69 |
|
|
- based on zoneminder rpm from http://zmrepo.metroeasthomevetcare.com for el6, |
70 |
|
|
el7 will be on rpmfusion |
71 |
|
|
- added event zoneminder-update |
72 |
|
|
- removed post and postun scripts |
73 |
|
|
- set admin password inside zm user db |
74 |
|
|
|
75 |
|
|
* Sat Sep 01 2007 Steve Ognenovski <steve@socomms.com> - 0.1-2 |
76 |
|
|
- added 23zoneminder |
77 |
|
|
- expand templates on %post and %postun |
78 |
|
|
- start zoneminder daemon |
79 |
|
|
- removed ScriptAlias from 86zoneminder |
80 |
|
|
- added to %post mysql mysql < /usr/share/zoneminder/db/zm_create.sql |
81 |
|
|
- added to %postun mysqladmin -f drop zm |
82 |
|
|
|
83 |
|
|
* Fri Aug 10 2007 Greg Swallow <greg@runlevle7.ca> - 0.1-1 |
84 |
|
|
- initial release |
85 |
|
|
|
86 |
|
|
%prep |
87 |
|
|
%setup |
88 |
|
|
%patch0 -p1 |
89 |
|
|
%patch1 -p1 |
90 |
|
|
%patch2 -p1 |
91 |
brianr |
1.3 |
%patch3 -p1 |
92 |
brianr |
1.4 |
%patch4 -p1 |
93 |
jpp |
1.5 |
%patch5 -p1 |
94 |
brianr |
1.1 |
|
95 |
|
|
%build |
96 |
|
|
perl createlinks |
97 |
|
|
|
98 |
|
|
%install |
99 |
|
|
rm -rf $RPM_BUILD_ROOT |
100 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
101 |
|
|
rm -f %{name}-%{version}-filelist |
102 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
103 |
|
|
> %{name}-%{version}-filelist |
104 |
|
|
echo "%doc COPYING" >> %{name}-%{version}-filelist |
105 |
|
|
|
106 |
|
|
%clean |
107 |
|
|
rm -rf $RPM_BUILD_ROOT |
108 |
|
|
|
109 |
|
|
%post |
110 |
|
|
|
111 |
|
|
%postun |
112 |
|
|
|
113 |
|
|
%files -f %{name}-%{version}-filelist |
114 |
|
|
%defattr(-,root,root) |