/[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.7 by jpp, Sat Dec 29 04:50:51 2018 UTC
# Line 1  Line 1 
1    %define version 1.0
2    %define release 5
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    Patch2: smeserver-zoneminder-1.0-bz10676-fix-sql-perms.patch
14    
15  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
16  BuildArchitectures: noarch  BuildArchitectures: noarch
17  BuildRequires: e-smith-devtools >= 1.13.1-03  BuildRequires: e-smith-devtools >= 1.13.1-03
18  Requires: e-smith-release >= 7.0  Requires: e-smith-release >= 9.0
19  Requires: zoneminder  Requires: zoneminder
20  Requires: e-smith-base  Requires: e-smith-base
21    Requires: smeserver-php-scl
22    Requires: php70-php-pecl-apcu-bc php71-php-pecl-apcu-bc php72-php-pecl-apcu-bc php73-php-pecl-apcu-bc
23    Requires: php54-php-pecl-apcu php55-php-pecl-apcu php56-php-pecl-apcu php70-php-pecl-apcu php71-php-pecl-apcu php72-php-pecl-apcu php73-php-pecl-apcu
24    Requires: ffmpeg-compat_0.10.16
25  AutoReqProv: no  AutoReqProv: no
26    
27  %description  %description
28  rpm to setup zoneminder  rpm to setup zoneminder
29    
30  %changelog  %changelog
31    * Fri Dec 28 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.0-5.sme
32    - add deps [SME: 10539]
33    - fix sql init file perms [SME: 10676]
34    
35    * Tue Mar 13 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.0-4.sme
36    - fix wrong cgi path preventing realtime image to display [SME: 10539]
37    
38    * Tue Mar 13 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.0-3.sme
39    - fix few bugs on initial release [SME: 10539]
40    - fix auth using SME Server admin user and pass for http auth
41    - add setting of mysql for innodb
42    
43    * Tue Mar 13 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.0-2.sme
44    - fix bad dep to phpscl should be php-scl [SME: 10539]
45    
46    * Tue Mar 13 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.0-1.sme
47    - initial version for SME9 [SME: 10539]
48    - create password for db, db , and fill it
49    - based on zoneminder rpm from http://zmrepo.metroeasthomevetcare.com for el6,
50      el7 will be on rpmfusion
51    - added event zoneminder-update
52    - removed post and postun scripts
53    - set admin password inside zm user db
54    
55  * Sat Sep 01 2007 Steve Ognenovski <steve@socomms.com> - 0.1-2  * Sat Sep 01 2007 Steve Ognenovski <steve@socomms.com> - 0.1-2
56  - added 23zoneminder  - added 23zoneminder
57  - expand templates on %post and %postun  - expand templates on %post and %postun
# Line 31  rpm to setup zoneminder Line 65  rpm to setup zoneminder
65    
66  %prep  %prep
67  %setup  %setup
68    %patch0 -p1
69    %patch1 -p1
70    %patch2 -p1
71    
72  %build  %build
73  perl createlinks  perl createlinks
# Line 47  echo "%doc COPYING" >> %{name}-%{version Line 84  echo "%doc COPYING" >> %{name}-%{version
84  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
85    
86  %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  
87    
88  %postun  %postun
 mysqladmin -f drop zm  
 /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf  
 /etc/init.d/httpd graceful  
 true  
89    
90  %files -f %{name}-%{version}-filelist  %files -f %{name}-%{version}-filelist
91  %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