/[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.6 by jpp, Tue Mar 13 20:57:48 2018 UTC
# Line 1  Line 1 
1    %define version 1.0
2    %define release 4
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
10  Source: %{name}-%{version}.tar.gz  Source: %{name}-%{version}.tar.gz
11    Patch0: smeserver-zoneminder-1.0-bz10539-initial_fixes.patch
12    Patch1: smeserver-zoneminder-1.0-bz10539-fix-cgi-path.patch
13  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
14  BuildArchitectures: noarch  BuildArchitectures: noarch
15  BuildRequires: e-smith-devtools >= 1.13.1-03  BuildRequires: e-smith-devtools >= 1.13.1-03
16  Requires: e-smith-release >= 7.0  Requires: e-smith-release >= 9.0
17  Requires: zoneminder  Requires: zoneminder
18  Requires: e-smith-base  Requires: e-smith-base
19    Requires: smeserver-php-scl
20  AutoReqProv: no  AutoReqProv: no
21    
22  %description  %description
23  rpm to setup zoneminder  rpm to setup zoneminder
24    
25  %changelog  %changelog
26    * Tue Mar 13 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.0-4.sme
27    - fix wrong cgi path preventing realtime image to display [SME: 10539]
28    
29    * Tue Mar 13 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.0-3.sme
30    - fix few bugs on initial release [SME: 10539]
31    - fix auth using SME Server admin user and pass for http auth
32    - add setting of mysql for innodb
33    
34    * Tue Mar 13 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.0-2.sme
35    - fix bad dep to phpscl should be php-scl [SME: 10539]
36    
37    * Tue Mar 13 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.0-1.sme
38    - initial version for SME9 [SME: 10539]
39    - create password for db, db , and fill it
40    - based on zoneminder rpm from http://zmrepo.metroeasthomevetcare.com for el6,
41      el7 will be on rpmfusion
42    - added event zoneminder-update
43    - removed post and postun scripts
44    - set admin password inside zm user db
45    
46  * Sat Sep 01 2007 Steve Ognenovski <steve@socomms.com> - 0.1-2  * Sat Sep 01 2007 Steve Ognenovski <steve@socomms.com> - 0.1-2
47  - added 23zoneminder  - added 23zoneminder
48  - expand templates on %post and %postun  - expand templates on %post and %postun
# Line 31  rpm to setup zoneminder Line 56  rpm to setup zoneminder
56    
57  %prep  %prep
58  %setup  %setup
59    %patch0 -p1
60    %patch1 -p1
61    
62  %build  %build
63  perl createlinks  perl createlinks
# Line 47  echo "%doc COPYING" >> %{name}-%{version Line 74  echo "%doc COPYING" >> %{name}-%{version
74  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
75    
76  %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  
77    
78  %postun  %postun
 mysqladmin -f drop zm  
 /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf  
 /etc/init.d/httpd graceful  
 true  
79    
80  %files -f %{name}-%{version}-filelist  %files -f %{name}-%{version}-filelist
81  %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