/[smecontribs]/rpms/smeserver-zoneminder/contribs9/smeserver-zoneminder.spec
ViewVC logotype

Contents of /rpms/smeserver-zoneminder/contribs9/smeserver-zoneminder.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download)
Tue Mar 13 04:22:39 2018 UTC (6 years, 7 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-zoneminder-1_0-1_el6_sme
Changes since 1.1: +14 -12 lines
* Tue Mar 13 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.0-1.sme
- initial version for SME9 [SME: 10539]
- create password for db, db , and fill it
- based on zoneminder rpm from http://zmrepo.metroeasthomevetcare.com for el6,
  el7 will be on rpmfusion
- added event zoneminder-update
- removed post and postun scripts

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

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed