1 |
brianr |
1.1 |
%define version 1.0 |
2 |
brianr |
1.3 |
%define release 10 |
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.1 |
|
16 |
|
|
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
17 |
|
|
BuildArchitectures: noarch |
18 |
|
|
BuildRequires: e-smith-devtools >= 1.13.1-03 |
19 |
|
|
Requires: e-smith-release >= 9.0 |
20 |
|
|
Requires: zoneminder |
21 |
|
|
Requires: e-smith-base |
22 |
brianr |
1.3 |
#Requires: smeserver-php-scl |
23 |
|
|
#Requires: php70-php-pecl-apcu-bc php71-php-pecl-apcu-bc php72-php-pecl-apcu-bc php73-php-pecl-apcu-bc |
24 |
|
|
#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 |
25 |
|
|
#Requires: ffmpeg-compat_0.10.16 |
26 |
brianr |
1.1 |
AutoReqProv: no |
27 |
|
|
|
28 |
|
|
%description |
29 |
|
|
rpm to setup zoneminder |
30 |
|
|
|
31 |
|
|
%changelog |
32 |
brianr |
1.3 |
* Fri Dec 04 2020 Brian Read <brianr@bjsystems.co.uk> 1.0-10.sme |
33 |
|
|
- Update httpds.conf for php-fpw [SME: 11226] |
34 |
|
|
|
35 |
|
|
* Thu Dec 03 2020 Brian Read <brianr@bjsystems.co.uk> 1.0-9.sme |
36 |
|
|
- REmove smeserver-php-scl [SME: 11226] |
37 |
|
|
|
38 |
brianr |
1.2 |
* Thu Dec 03 2020 Brian Read <brianr@bjsystems.co.uk> 1.0-8.sme |
39 |
|
|
- Initial import to SME10 tree [SME: 11226] |
40 |
|
|
|
41 |
brianr |
1.1 |
* Fri Dec 28 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.0-7.sme |
42 |
|
|
- add deps [SME: 10539] |
43 |
|
|
- fix sql init file perms [SME: 10676] |
44 |
|
|
|
45 |
|
|
* Tue Mar 13 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.0-4.sme |
46 |
|
|
- fix wrong cgi path preventing realtime image to display [SME: 10539] |
47 |
|
|
|
48 |
|
|
* Tue Mar 13 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.0-3.sme |
49 |
|
|
- fix few bugs on initial release [SME: 10539] |
50 |
|
|
- fix auth using SME Server admin user and pass for http auth |
51 |
|
|
- add setting of mysql for innodb |
52 |
|
|
|
53 |
|
|
* Tue Mar 13 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.0-2.sme |
54 |
|
|
- fix bad dep to phpscl should be php-scl [SME: 10539] |
55 |
|
|
|
56 |
|
|
* Tue Mar 13 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.0-1.sme |
57 |
|
|
- initial version for SME9 [SME: 10539] |
58 |
|
|
- create password for db, db , and fill it |
59 |
|
|
- based on zoneminder rpm from http://zmrepo.metroeasthomevetcare.com for el6, |
60 |
|
|
el7 will be on rpmfusion |
61 |
|
|
- added event zoneminder-update |
62 |
|
|
- removed post and postun scripts |
63 |
|
|
- set admin password inside zm user db |
64 |
|
|
|
65 |
|
|
* Sat Sep 01 2007 Steve Ognenovski <steve@socomms.com> - 0.1-2 |
66 |
|
|
- added 23zoneminder |
67 |
|
|
- expand templates on %post and %postun |
68 |
|
|
- start zoneminder daemon |
69 |
|
|
- removed ScriptAlias from 86zoneminder |
70 |
|
|
- added to %post mysql mysql < /usr/share/zoneminder/db/zm_create.sql |
71 |
|
|
- added to %postun mysqladmin -f drop zm |
72 |
|
|
|
73 |
|
|
* Fri Aug 10 2007 Greg Swallow <greg@runlevle7.ca> - 0.1-1 |
74 |
|
|
- initial release |
75 |
|
|
|
76 |
|
|
%prep |
77 |
|
|
%setup |
78 |
|
|
%patch0 -p1 |
79 |
|
|
%patch1 -p1 |
80 |
|
|
%patch2 -p1 |
81 |
brianr |
1.3 |
%patch3 -p1 |
82 |
brianr |
1.1 |
|
83 |
|
|
%build |
84 |
|
|
perl createlinks |
85 |
|
|
|
86 |
|
|
%install |
87 |
|
|
rm -rf $RPM_BUILD_ROOT |
88 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
89 |
|
|
rm -f %{name}-%{version}-filelist |
90 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
91 |
|
|
> %{name}-%{version}-filelist |
92 |
|
|
echo "%doc COPYING" >> %{name}-%{version}-filelist |
93 |
|
|
|
94 |
|
|
%clean |
95 |
|
|
rm -rf $RPM_BUILD_ROOT |
96 |
|
|
|
97 |
|
|
%post |
98 |
|
|
|
99 |
|
|
%postun |
100 |
|
|
|
101 |
|
|
%files -f %{name}-%{version}-filelist |
102 |
|
|
%defattr(-,root,root) |