fedora specfile changes
This commit is contained in:
parent
48d45c0d00
commit
f8cf0401ce
|
@ -1,14 +1,3 @@
|
|||
--- configure.ac 2013-08-15 11:44:10.000000000 -0500
|
||||
+++ configure.ac.logdir 2013-08-17 09:20:07.326053328 -0500
|
||||
@@ -46,7 +46,7 @@
|
||||
AC_SUBST(ZM_TMPDIR,[/tmp/zm])
|
||||
fi
|
||||
if test "$ZM_LOGDIR" == ""; then
|
||||
- AC_SUBST(ZM_LOGDIR,[/var/log/zm])
|
||||
+ AC_SUBST(ZM_LOGDIR,[/var/log/zoneminder])
|
||||
fi
|
||||
|
||||
LIB_ARCH=lib
|
||||
--- scripts/ZoneMinder/lib/ZoneMinder/ConfigData.pm.in 2013-08-01 18:14:45.175241378 -0500
|
||||
+++ scripts/ZoneMinder/lib/ZoneMinder/ConfigData.pm.in.defaults 2013-08-07 18:57:42.525006149 -0500
|
||||
@@ -187,7 +187,7 @@
|
||||
|
@ -29,24 +18,6 @@
|
|||
description => "Is the (optional) cambozola java streaming client installed",
|
||||
help => "Cambozola is a handy low fat cheese flavoured Java applet that ZoneMinder uses to view image streams on browsers such as Internet Explorer that don't natively support this format. If you use this browser it is highly recommended to install this from http://www.charliemouse.com/code/cambozola/ however if it is not installed still images at a lower refresh rate can still be viewed.",
|
||||
type => $types{boolean},
|
||||
@@ -526,7 +526,7 @@
|
||||
},
|
||||
{
|
||||
name => "ZM_LOG_DEBUG_FILE",
|
||||
- default => "@ZM_TMPDIR@/zm_debug.log+",
|
||||
+ default => "/var/log/zoneminder/zm_debug_log+",
|
||||
description => "Where extra debug is output to",
|
||||
help => "This option allows you to specify a different target for debug output. All components have a default log file which will norally be in /tmp or /var/log and this is where debug will be written to if this value is empty. Adding a path here will temporarily redirect debug, and other logging output, to this file. This option is a simple filename and you are debugging several components then they will all try and write to the same file with undesirable consequences. Appending a '+' to the filename will cause the file to be created with a '.<pid>' suffix containing your process id. In this way debug from each run of a component is kept separate. This is the recommended setting as it will also prevent subsequent runs from overwriting the same log. You should ensure that permissions are set up to allow writing to the file and directory specified here.",
|
||||
requires => [ { name => "ZM_LOG_DEBUG", value => "yes" } ],
|
||||
@@ -623,7 +623,7 @@
|
||||
},
|
||||
{
|
||||
name => "ZM_PATH_SOCKS",
|
||||
- default => "@ZM_TMPDIR@",
|
||||
+ default => "/var/lib/zoneminder/sock",
|
||||
description => "Path to the various Unix domain socket files that ZoneMinder uses",
|
||||
help => "ZoneMinder generally uses Unix domain sockets where possible. This reduces the need for port assignments and prevents external applications from possibly compromising the daemons. However each Unix socket requires a .sock file to be created. This option indicates where those socket files go.",
|
||||
type => $types{abs_path},
|
||||
@@ -639,7 +639,7 @@
|
||||
},
|
||||
{
|
||||
|
|
|
@ -67,7 +67,6 @@ too much degradation of performance.
|
|||
%setup -q -n ZoneMinder-%{version}
|
||||
|
||||
%patch1 -p0 -b .defaults
|
||||
#%patch2 -p0 -b .noffmpeg
|
||||
|
||||
%build
|
||||
%cmake \
|
||||
|
@ -138,8 +137,6 @@ fi
|
|||
%{_bindir}/zmdc.pl
|
||||
%{_bindir}/zmf
|
||||
%{_bindir}/zmfilter.pl
|
||||
# zmfix removed from zoneminder 1.26.6
|
||||
#%attr(4755,root,root) %{_bindir}/zmfix
|
||||
%{_bindir}/zmpkg.pl
|
||||
%{_bindir}/zmstreamer
|
||||
%{_bindir}/zmtrack.pl
|
||||
|
|
Loading…
Reference in New Issue