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

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

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

Revision 1.1 by brianr, Thu Dec 3 15:47:17 2020 UTC Revision 1.10 by jpp, Sat Mar 25 04:07:23 2023 UTC
# Line 1  Line 1 
1  %define version 1.0  %define version 1.0
2  %define release 7  %define release 13
3  Summary: Set up zoneminder for SME Server.  Summary: Set up zoneminder for SME Server.
4  Name: smeserver-zoneminder  Name: smeserver-zoneminder
5  Version: %{version}  Version: %{version}
# Line 11  Source: %{name}-%{version}.tar.gz Line 11  Source: %{name}-%{version}.tar.gz
11  Patch0: smeserver-zoneminder-1.0-bz10539-initial_fixes.patch  Patch0: smeserver-zoneminder-1.0-bz10539-initial_fixes.patch
12  Patch1: smeserver-zoneminder-1.0-bz10539-fix-cgi-path.patch  Patch1: smeserver-zoneminder-1.0-bz10539-fix-cgi-path.patch
13  Patch2: smeserver-zoneminder-1.0-bz10676-fix-sql-perms.patch  Patch2: smeserver-zoneminder-1.0-bz10676-fix-sql-perms.patch
14    Patch3: smeserver-zoneminder-1.0-Update-httpd-for-php-fpw.patch
15    Patch4: smeserver-zoneminder-1.0-Update-for-SME10-systemd.patch
16    Patch5: smeserver-zoneminder-1.0-bz12069-24syntax.patch
17    Patch6: smeserver-zoneminder-1.0-bz12034-backup.patch
18    Patch7: smeserver-zoneminder-1.0-bz11226-php-pool.patch
19    
20  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
21  BuildArchitectures: noarch  BuildArchitectures: noarch
22  BuildRequires: e-smith-devtools >= 1.13.1-03  BuildRequires: e-smith-devtools >= 1.13.1-03
23  Requires: e-smith-release >= 9.0  Requires: e-smith-release >= 10.0
24    Requires: e-smith-apache >= 2.6.0-19
25    Requires: smeserver-php >= 3.0.0-43
26  Requires: zoneminder  Requires: zoneminder
27  Requires: e-smith-base  Requires: e-smith-base
28  Requires: smeserver-php-scl  #Requires: php70-php-pecl-apcu-bc php71-php-pecl-apcu-bc php72-php-pecl-apcu-bc php73-php-pecl-apcu-bc
29  Requires: php70-php-pecl-apcu-bc php71-php-pecl-apcu-bc php72-php-pecl-apcu-bc php73-php-pecl-apcu-bc  #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
 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  
 Requires: ffmpeg-compat_0.10.16  
30  AutoReqProv: no  AutoReqProv: no
31    
32  %description  %description
33  rpm to setup zoneminder  rpm to setup zoneminder
34    
35  %changelog  %changelog
36    * Fri Mar 24 2023 Jean-Philippe Pialasse <tests@pialasse.com> 1.0-13.sme
37    - add a dedicated php pool [SME: 11226]
38    
39    * 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    - add to core backup [SME: 12034]
42    
43    * Tue Feb 16 2021 Brian Read <brianr@bjsystems.co.uk> 1.0-11.sme
44    - Update for systemd changes [SME: 11226]
45    
46    * 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    - Remove smeserver-php-scl [SME: 11226]
51    
52    * Thu Dec 03 2020 Brian Read <brianr@bjsystems.co.uk> 1.0-8.sme
53    - Initial import to SME10 tree [SME: 11226]
54    
55  * Fri Dec 28 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.0-7.sme  * Fri Dec 28 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.0-7.sme
56  - add deps [SME: 10539]  - add deps [SME: 10539]
57  - fix sql init file perms [SME: 10676]  - fix sql init file perms [SME: 10676]
# Line 68  rpm to setup zoneminder Line 92  rpm to setup zoneminder
92  %patch0 -p1  %patch0 -p1
93  %patch1 -p1  %patch1 -p1
94  %patch2 -p1  %patch2 -p1
95    %patch3 -p1
96    %patch4 -p1
97    %patch5 -p1
98    %patch6 -p1
99    %patch7 -p1
100    mkdir -p root/var/lib/php/zoneminder/{session,tmp,opcache}
101    mkdir -p root/var/log/php/zoneminder
102    
103  %build  %build
104  perl createlinks  perl createlinks
# Line 77  rm -rf $RPM_BUILD_ROOT Line 108  rm -rf $RPM_BUILD_ROOT
108  (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)  (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
109  rm -f %{name}-%{version}-filelist  rm -f %{name}-%{version}-filelist
110  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
111     --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       > %{name}-%{version}-filelist       > %{name}-%{version}-filelist
117  echo "%doc COPYING" >> %{name}-%{version}-filelist  echo "%doc COPYING" >> %{name}-%{version}-filelist
118    


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