/[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.10 - (hide annotations) (download)
Sat Mar 25 04:07:23 2023 UTC (20 months ago) by jpp
Branch: MAIN
CVS Tags: HEAD
Changes since 1.9: +1 -1 lines
* Fri Mar 24 2023 Jean-Philippe Pialasse <tests@pialasse.com> 1.0-13.sme
- add a dedicated php pool [SME: 11226]

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

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