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

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

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

Revision 1.1 by jpp, Tue Mar 13 02:15:56 2018 UTC Revision 1.3 by jpp, Tue Mar 13 14:51:08 2018 UTC
# Line 1  Line 1 
1    %define version 1.0
2    %define release 2
3  Summary: Set up zoneminder for SME Server.  Summary: Set up zoneminder for SME Server.
4  Name: smeserver-zoneminder  Name: smeserver-zoneminder
5  Version: 0.1  Version: %{version}
6  Release: 4.el4.sme%{?dist}  Release: %{release}%{?dist}
7  License: GNU GPL version 2  License: GNU GPL version 2
8  URL: http://www.contribs.org  URL: http://www.contribs.org
9  Group: SMEserver/addon  Group: SMEserver/addon
# Line 9  Source: %{name}-%{version}.tar.gz Line 11  Source: %{name}-%{version}.tar.gz
11  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
12  BuildArchitectures: noarch  BuildArchitectures: noarch
13  BuildRequires: e-smith-devtools >= 1.13.1-03  BuildRequires: e-smith-devtools >= 1.13.1-03
14  Requires: e-smith-release >= 7.0  Requires: e-smith-release >= 9.0
15  Requires: zoneminder  Requires: zoneminder
16  Requires: e-smith-base  Requires: e-smith-base
17    Requires: smeserver-php-scl
18  AutoReqProv: no  AutoReqProv: no
19    
20  %description  %description
21  rpm to setup zoneminder  rpm to setup zoneminder
22    
23  %changelog  %changelog
24    * 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    * 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  * Sat Sep 01 2007 Steve Ognenovski <steve@socomms.com> - 0.1-2  * Sat Sep 01 2007 Steve Ognenovski <steve@socomms.com> - 0.1-2
36  - added 23zoneminder  - added 23zoneminder
37  - expand templates on %post and %postun  - expand templates on %post and %postun
# Line 47  echo "%doc COPYING" >> %{name}-%{version Line 61  echo "%doc COPYING" >> %{name}-%{version
61  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
62    
63  %post  %post
 mysql mysql < /usr/share/zoneminder/db/zm_create.sql  
 /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf  
 /etc/init.d/httpd graceful  
 /etc/init.d/zoneminder start  
 true  
64    
65  %postun  %postun
 mysqladmin -f drop zm  
 /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf  
 /etc/init.d/httpd graceful  
 true  
66    
67  %files -f %{name}-%{version}-filelist  %files -f %{name}-%{version}-filelist
68  %defattr(-,root,root)  %defattr(-,root,root)


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

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