packages: dss/dss.spec - update path macros
glen
glen at pld-linux.org
Sun Aug 1 15:06:02 CEST 2010
Author: glen Date: Sun Aug 1 13:06:02 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- update path macros
---- Files affected:
packages/dss:
dss.spec (1.3 -> 1.4)
---- Diffs:
================================================================
Index: packages/dss/dss.spec
diff -u packages/dss/dss.spec:1.3 packages/dss/dss.spec:1.4
--- packages/dss/dss.spec:1.3 Sun Aug 1 15:01:47 2010
+++ packages/dss/dss.spec Sun Aug 1 15:05:57 2010
@@ -107,24 +107,24 @@
%patch3 -p1
# patch streamingadminserver.pl
-%{__sed} -i -e "s|/usr/local/|/usr/|g" WebAdmin/src/streamingadminserver.pl
-%{__sed} -i -e "s|/etc/streaming/|/etc/dss/|g" WebAdmin/src/streamingadminserver.pl
-%{__sed} -i -e "s|/var/streaming/logs/|/var/log/dss/|g" WebAdmin/src/streamingadminserver.pl
-%{__sed} -i -e "s|/var/streaming/|/var/dss/|g" WebAdmin/src/streamingadminserver.pl
-%{__sed} -i -e "s|/usr/local/|/usr/|g" WebAdmin/src/streamingadminserver.pl
+%{__sed} -i -e "s|/usr/local/|%{_prefix}/|g" WebAdmin/src/streamingadminserver.pl
+%{__sed} -i -e "s|/etc/streaming/|%{_sysconfdir}/dss/|g" WebAdmin/src/streamingadminserver.pl
+%{__sed} -i -e "s|/var/streaming/logs/|%{_localstatedir}/log/dss/|g" WebAdmin/src/streamingadminserver.pl
+%{__sed} -i -e "s|/var/streaming/|%{_localstatedir}/lib/dss/|g" WebAdmin/src/streamingadminserver.pl
+%{__sed} -i -e "s|/usr/local/|%{_prefix}/|g" WebAdmin/src/streamingadminserver.pl
# patch manpages
-%{__sed} -i -e "s|/Library/QuickTimeStreaming/Config/|/etc/dss/|g" Documentation/man/qtss/*
-%{__sed} -i -e "s|/Library/QuickTimeStreaming/Modules|/usr/lib/dss|g" Documentation/man/qtss/*
-%{__sed} -i -e "s|/Library/QuickTimeStreaming/Movies|/var/dss/movies|g" Documentation/man/qtss/*
-%{__sed} -i -e "s|/Library/QuickTimeStreaming/Playlists|/var/dss/playlists|g" Documentation/man/qtss/*
-%{__sed} -i -e "s|/Library/QuickTimeStreaming/Logs|/var/log/dss|g" Documentation/man/qtss/*
+%{__sed} -i -e "s|/Library/QuickTimeStreaming/Config/|%{_sysconfdir}/dss/|g" Documentation/man/qtss/*
+%{__sed} -i -e "s|/Library/QuickTimeStreaming/Modules|%{_libdir}/dss|g" Documentation/man/qtss/*
+%{__sed} -i -e "s|/Library/QuickTimeStreaming/Movies|%{_localstatedir}/dss/movies|g" Documentation/man/qtss/*
+%{__sed} -i -e "s|/Library/QuickTimeStreaming/Playlists|%{_localstatedir}/lib/dss/playlists|g" Documentation/man/qtss/*
+%{__sed} -i -e "s|/Library/QuickTimeStreaming/Logs|%{_localstatedir}/log/dss|g" Documentation/man/qtss/*
%{__sed} -i -e "s|/Library/QuickTimeStreaming/Docs|%{_docdir}/%{name}-%{version}|g" Documentation/man/qtss/*
%{__sed} -i -e "s|QuickTimeStreamingServer|DarwinStreamingServer|g" Documentation/man/qtss/*
cat > defaultPaths.h << EOF
#define DEFAULTPATHS_DIRECTORY_SEPARATOR "/"
-#define DEFAULTPATHS_ROOT_DIR "%{_localstatedir}/dss/"
+#define DEFAULTPATHS_ROOT_DIR "%{_localstatedir}/lib/dss/"
#define DEFAULTPATHS_ETC_DIR "%{_sysconfdir}/dss/"
#define DEFAULTPATHS_ETC_DIR_OLD "%{_sysconfdir}/"
#define DEFAULTPATHS_SSM_DIR "%{_libdir}/dss/"
@@ -160,6 +160,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.4 2010/08/01 13:05:57 glen
+- update path macros
+
Revision 1.3 2010/08/01 13:01:47 glen
- use our buildflags, fix usinged var comparision error
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/dss/dss.spec?r1=1.3&r2=1.4&f=u
More information about the pld-cvs-commit
mailing list