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