9
9
%global ceb_version 1.0-zm
10
10
11
11
# RtspServer is configured as a git submodule
12
- %global rtspserver_commit eab32851421ffe54fec0229c3efc44c642bc8d46
12
+ %global rtspserver_commit 055d81fe1293429e496b19104a9ed3360755a440
13
13
14
14
%global sslcert %{_sysconfdir }/pki/tls/certs/localhost.crt
15
15
%global sslkey %{_sysconfdir }/pki/tls/private/localhost.key
18
18
%global zmtargetdistro %{?rhel:el%{rhel }}%{! ?rhel:fc%{fedora }}
19
19
20
20
Name: zoneminder
21
- Version: 1.37.63
22
- Release: 2 %{?dist }
21
+ Version: 1.36.34
22
+ Release: 1 %{?dist }
23
23
Summary: A camera monitoring and analysis tool
24
24
Group: System Environment/Daemons
25
25
# jQuery is under the MIT license: https://jquery.org/license/
@@ -40,7 +40,7 @@ Source3: https://github.com/ZoneMinder/RtspServer/archive/%{rtspserver_commit}.t
40
40
41
41
%{?rhel:BuildRequires: epel-rpm-macros}
42
42
BuildRequires: systemd-devel
43
- BuildRequires: mariadb-connector-c- devel
43
+ BuildRequires: mariadb-devel
44
44
BuildRequires: perl-podlators
45
45
BuildRequires: polkit-devel
46
46
BuildRequires: cmake
@@ -75,7 +75,6 @@ BuildRequires: libv4l-devel
75
75
BuildRequires: desktop-file-utils
76
76
BuildRequires: gzip
77
77
BuildRequires: zlib-devel
78
- BuildRequires: gsoap-devel
79
78
80
79
# ZoneMinder looks for and records the location of the ffmpeg binary during build
81
80
BuildRequires: ffmpeg
@@ -106,6 +105,7 @@ Requires: php-gd
106
105
Requires: php-intl
107
106
Requires: php-process
108
107
Requires: php-json
108
+ Requires: cambozola
109
109
Requires: php-pecl-apcu
110
110
Requires: net-tools
111
111
Requires: psmisc
@@ -125,7 +125,6 @@ Requires: perl(LWP::Protocol::https)
125
125
Requires: perl(Module::Load::Conditional)
126
126
Requires: ca-certificates
127
127
Requires: zip
128
- Requires: gsoap
129
128
%{?systemd_requires }
130
129
131
130
Requires(post): %{_bindir }/gpasswd
@@ -197,6 +196,7 @@ rm -rf ./dep/RtspServer
197
196
mv -f RtspServer-%{rtspserver_commit } ./dep/RtspServer
198
197
199
198
# Change the following default values
199
+ ./utils/zmeditconfigdata.sh ZM_OPT_CAMBOZOLA yes
200
200
./utils/zmeditconfigdata.sh ZM_OPT_CONTROL yes
201
201
./utils/zmeditconfigdata.sh ZM_CHECK_FOR_UPDATES no
202
202
@@ -208,7 +208,8 @@ mv -f RtspServer-%{rtspserver_commit} ./dep/RtspServer
208
208
%cmake \
209
209
-DZM_WEB_USER= "%{zmuid_final }" \
210
210
-DZM_WEB_GROUP= "%{zmgid_final }" \
211
- -DZM_TARGET_DISTRO= "%{zmtargetdistro }"
211
+ -DZM_TARGET_DISTRO= "%{zmtargetdistro }" \
212
+ .
212
213
213
214
%cmake_build
214
215
@@ -223,8 +224,6 @@ desktop-file-install \
223
224
224
225
# Remove unwanted files and folders
225
226
find %{buildroot } \( -name .htaccess -or -name .editorconfig -or -name .packlist -or -name .git -or -name .gitignore -or -name .gitattributes -or -name .travis.yml \) -type f -delete > /dev/null 2> &1 || :
226
- rm -rf %{buildroot }/usr/include
227
- rm -rf %{buildroot }/usr/cmake
228
227
229
228
# Recursively change shebang in all relevant scripts and set execute permission
230
229
find %{buildroot }%{_datadir }/zoneminder/www/api \( -name cake -or -name cake.php \) -type f -exec sed -i 's\^#!/usr/bin/env bash$\#!%{_buildshell}\' {} \; -exec %{__chmod} 755 {} \;
@@ -337,8 +336,7 @@ ln -sf %{_sysconfdir}/zm/www/zoneminder.nginx.conf %{_sysconfdir}/zm/www/zonemin
337
336
%config(noreplace) %{_sysconfdir }/logrotate.d/zoneminder
338
337
339
338
%{_unitdir }/zoneminder.service
340
- %{_datadir }/polkit-1/actions/com.zoneminder.*
341
- %{_datadir }/polkit-1/rules.d/com.zoneminder.arp-scan.rules
339
+ %{_datadir }/polkit-1/actions/com.zoneminder.systemctl.policy
342
340
%{_bindir }/zmsystemctl.pl
343
341
344
342
%{_bindir }/zmaudit.pl
@@ -360,7 +358,6 @@ ln -sf %{_sysconfdir}/zm/www/zoneminder.nginx.conf %{_sysconfdir}/zm/www/zonemin
360
358
%{_bindir }/zmonvif-trigger.pl
361
359
%{_bindir }/zmstats.pl
362
360
%{_bindir }/zmrecover.pl
363
- %{_bindir }/zmeventtool.pl
364
361
%{_bindir }/zm_rtsp_server
365
362
366
363
%{perl_vendorlib} /ZoneMinder*
@@ -417,6 +414,10 @@ ln -sf %{_sysconfdir}/zm/www/zoneminder.nginx.conf %{_sysconfdir}/zm/www/zonemin
417
414
%dir %attr(755,nginx,nginx) %{_localstatedir }/log/zoneminder
418
415
419
416
%changelog
417
+ * Fri Aug 16 2024 Andrew Bauer <zonexpertconsulting@outlook.com> - 1.36.34-1
418
+ - 1.36.34 release
419
+ - remove el7 support
420
+
420
421
* Sun Nov 12 2023 Jonathan Bennett <JBennett@IncomSystems.biz> - 1.37.47
421
422
- Specify folders to remove before packaging
422
423
0 commit comments