1 |
jpp |
1.2 |
%define version 1.0 |
2 |
jpp |
1.4 |
%define release 3 |
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.1 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
13 |
|
|
BuildArchitectures: noarch |
14 |
|
|
BuildRequires: e-smith-devtools >= 1.13.1-03 |
15 |
jpp |
1.2 |
Requires: e-smith-release >= 9.0 |
16 |
jpp |
1.1 |
Requires: zoneminder |
17 |
|
|
Requires: e-smith-base |
18 |
jpp |
1.3 |
Requires: smeserver-php-scl |
19 |
jpp |
1.1 |
AutoReqProv: no |
20 |
|
|
|
21 |
|
|
%description |
22 |
|
|
rpm to setup zoneminder |
23 |
|
|
|
24 |
|
|
%changelog |
25 |
jpp |
1.4 |
* Tue Mar 13 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.0-3.sme |
26 |
|
|
- fix few bugs on initial release [SME: 10539] |
27 |
|
|
- fix auth using SME Server admin user and pass for http auth |
28 |
|
|
|
29 |
jpp |
1.3 |
* Tue Mar 13 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.0-2.sme |
30 |
|
|
- fix bad dep to phpscl should be php-scl [SME: 10539] |
31 |
|
|
|
32 |
jpp |
1.2 |
* Tue Mar 13 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.0-1.sme |
33 |
|
|
- initial version for SME9 [SME: 10539] |
34 |
|
|
- create password for db, db , and fill it |
35 |
|
|
- based on zoneminder rpm from http://zmrepo.metroeasthomevetcare.com for el6, |
36 |
|
|
el7 will be on rpmfusion |
37 |
|
|
- added event zoneminder-update |
38 |
|
|
- removed post and postun scripts |
39 |
jpp |
1.4 |
- set admin password inside zm user db |
40 |
jpp |
1.2 |
|
41 |
jpp |
1.1 |
* Sat Sep 01 2007 Steve Ognenovski <steve@socomms.com> - 0.1-2 |
42 |
|
|
- added 23zoneminder |
43 |
|
|
- expand templates on %post and %postun |
44 |
|
|
- start zoneminder daemon |
45 |
|
|
- removed ScriptAlias from 86zoneminder |
46 |
|
|
- added to %post mysql mysql < /usr/share/zoneminder/db/zm_create.sql |
47 |
|
|
- added to %postun mysqladmin -f drop zm |
48 |
|
|
|
49 |
|
|
* Fri Aug 10 2007 Greg Swallow <greg@runlevle7.ca> - 0.1-1 |
50 |
|
|
- initial release |
51 |
|
|
|
52 |
|
|
%prep |
53 |
|
|
%setup |
54 |
jpp |
1.4 |
%patch0 -p1 |
55 |
jpp |
1.1 |
|
56 |
|
|
%build |
57 |
|
|
perl createlinks |
58 |
|
|
|
59 |
|
|
%install |
60 |
|
|
rm -rf $RPM_BUILD_ROOT |
61 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
62 |
|
|
rm -f %{name}-%{version}-filelist |
63 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
64 |
|
|
> %{name}-%{version}-filelist |
65 |
|
|
echo "%doc COPYING" >> %{name}-%{version}-filelist |
66 |
|
|
|
67 |
|
|
%clean |
68 |
|
|
rm -rf $RPM_BUILD_ROOT |
69 |
|
|
|
70 |
|
|
%post |
71 |
|
|
|
72 |
|
|
%postun |
73 |
|
|
|
74 |
|
|
%files -f %{name}-%{version}-filelist |
75 |
|
|
%defattr(-,root,root) |