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

Annotation of /rpms/smeserver-zoneminder/contribs10/smeserver-zoneminder.spec

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


Revision 1.7 - (hide annotations) (download)
Mon Aug 1 05:30:15 2022 UTC (2 years, 4 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-zoneminder-1_0-12_el7_sme
Changes since 1.6: +3 -0 lines
* Mon Aug 01 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.0-12.sme
- adapt to httpd 2.4 access syntax [SME: 12069]
- add to core backup [SME: 12034]

1 brianr 1.1 %define version 1.0
2 jpp 1.5 %define release 12
3 brianr 1.1 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     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 brianr 1.3 Patch3: smeserver-zoneminder-1.0-Update-httpd-for-php-fpw.patch
15 brianr 1.4 Patch4: smeserver-zoneminder-1.0-Update-for-SME10-systemd.patch
16 jpp 1.5 Patch5: smeserver-zoneminder-1.0-bz12069-24syntax.patch
17 jpp 1.7 Patch6: smeserver-zoneminder-1.0-bz12034-backup.patch
18 brianr 1.1
19     BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
20     BuildArchitectures: noarch
21     BuildRequires: e-smith-devtools >= 1.13.1-03
22 jpp 1.5 Requires: e-smith-release >= 10.0
23     Requires: e-smith-apache >= 2.6.0-19
24     Requires: smeserver-php >= 3.0.0-43
25 brianr 1.1 Requires: zoneminder
26     Requires: e-smith-base
27 brianr 1.3 #Requires: php70-php-pecl-apcu-bc php71-php-pecl-apcu-bc php72-php-pecl-apcu-bc php73-php-pecl-apcu-bc
28     #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
29 brianr 1.1 AutoReqProv: no
30    
31     %description
32     rpm to setup zoneminder
33    
34     %changelog
35 jpp 1.5 * Mon Aug 01 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.0-12.sme
36     - adapt to httpd 2.4 access syntax [SME: 12069]
37 jpp 1.7 - add to core backup [SME: 12034]
38 jpp 1.5
39 brianr 1.4 * Tue Feb 16 2021 Brian Read <brianr@bjsystems.co.uk> 1.0-11.sme
40     - Update for systemd changes [SME: 11226]
41    
42 brianr 1.3 * Fri Dec 04 2020 Brian Read <brianr@bjsystems.co.uk> 1.0-10.sme
43     - Update httpds.conf for php-fpw [SME: 11226]
44    
45     * Thu Dec 03 2020 Brian Read <brianr@bjsystems.co.uk> 1.0-9.sme
46 jpp 1.5 - Remove smeserver-php-scl [SME: 11226]
47 brianr 1.3
48 brianr 1.2 * Thu Dec 03 2020 Brian Read <brianr@bjsystems.co.uk> 1.0-8.sme
49     - Initial import to SME10 tree [SME: 11226]
50    
51 brianr 1.1 * Fri Dec 28 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.0-7.sme
52     - add deps [SME: 10539]
53     - fix sql init file perms [SME: 10676]
54    
55     * Tue Mar 13 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.0-4.sme
56     - fix wrong cgi path preventing realtime image to display [SME: 10539]
57    
58     * Tue Mar 13 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.0-3.sme
59     - fix few bugs on initial release [SME: 10539]
60     - fix auth using SME Server admin user and pass for http auth
61     - add setting of mysql for innodb
62    
63     * Tue Mar 13 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.0-2.sme
64     - fix bad dep to phpscl should be php-scl [SME: 10539]
65    
66     * Tue Mar 13 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.0-1.sme
67     - initial version for SME9 [SME: 10539]
68     - create password for db, db , and fill it
69     - based on zoneminder rpm from http://zmrepo.metroeasthomevetcare.com for el6,
70     el7 will be on rpmfusion
71     - added event zoneminder-update
72     - removed post and postun scripts
73     - set admin password inside zm user db
74    
75     * Sat Sep 01 2007 Steve Ognenovski <steve@socomms.com> - 0.1-2
76     - added 23zoneminder
77     - expand templates on %post and %postun
78     - start zoneminder daemon
79     - removed ScriptAlias from 86zoneminder
80     - added to %post mysql mysql < /usr/share/zoneminder/db/zm_create.sql
81     - added to %postun mysqladmin -f drop zm
82    
83     * Fri Aug 10 2007 Greg Swallow <greg@runlevle7.ca> - 0.1-1
84     - initial release
85    
86     %prep
87     %setup
88     %patch0 -p1
89     %patch1 -p1
90     %patch2 -p1
91 brianr 1.3 %patch3 -p1
92 brianr 1.4 %patch4 -p1
93 jpp 1.5 %patch5 -p1
94 jpp 1.7 %patch6 -p1
95 brianr 1.1
96     %build
97     perl createlinks
98    
99     %install
100     rm -rf $RPM_BUILD_ROOT
101     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
102     rm -f %{name}-%{version}-filelist
103     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
104     > %{name}-%{version}-filelist
105     echo "%doc COPYING" >> %{name}-%{version}-filelist
106    
107     %clean
108     rm -rf $RPM_BUILD_ROOT
109    
110     %post
111    
112     %postun
113    
114     %files -f %{name}-%{version}-filelist
115     %defattr(-,root,root)

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