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