packages: red5/red5.spec - symlink /etc/red5, /var/lib/red5/webapps and /va...
pawelz
pawelz at pld-linux.org
Wed Oct 28 18:39:35 CET 2009
Author: pawelz Date: Wed Oct 28 17:39:35 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- symlink /etc/red5, /var/lib/red5/webapps and /var/lib/red5/work to RED5_HOME
---- Files affected:
packages/red5:
red5.spec (1.20 -> 1.21)
---- Diffs:
================================================================
Index: packages/red5/red5.spec
diff -u packages/red5/red5.spec:1.20 packages/red5/red5.spec:1.21
--- packages/red5/red5.spec:1.20 Wed Oct 28 16:56:56 2009
+++ packages/red5/red5.spec Wed Oct 28 18:39:29 2009
@@ -68,13 +68,17 @@
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_appdatadir},%{_sbindir},%{_appstatedir},%{_appconfdir},%{_applogdir}}
+install -d $RPM_BUILD_ROOT{%{_appdatadir},%{_sbindir},%{_appstatedir}/work,%{_appconfdir},%{_applogdir}}
install -d $RPM_BUILD_ROOT{/etc/sysconfig,/etc/rc.d/init.d,/var/run/red5}
cp -a {red5.jar,boot.jar,lib} $RPM_BUILD_ROOT%{_appdatadir}
cp -a webapps $RPM_BUILD_ROOT%{_appstatedir}
cp -a conf/* $RPM_BUILD_ROOT%{_appconfdir}
+ln -s %{_appconfdir} $RPM_BUILD_ROOT%{_appdatadir}/conf
+ln -s %{_appstatedir}/webapps $RPM_BUILD_ROOT%{_appdatadir}/webapps
+ln -s %{_appstatedir}/work $RPM_BUILD_ROOT%{_appdatadir}/work
+
install %{SOURCE1} $RPM_BUILD_ROOT%{_sbindir}/%{name}
install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/red5
install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/red5
@@ -115,9 +119,12 @@
%defattr(644,root,root,755)
%doc license.txt
%{_appdatadir}
-%attr(775,red5,servlet) %{_appstatedir}
+%dir %attr(775,red5,red5) %{_appstatedir}
+%attr(775,red5,red5) %{_appstatedir}/work
+%attr(775,red5,servlet) %{_appstatedir}/webapps
%attr(775,red5,red5) %{_applogdir}
-%config(noreplace) %attr(640,root,red5) %verify(not md5 mtime size) %{_appconfdir}
+%dir %attr(755,root,root) %{_appconfdir}
+%config(noreplace) %attr(644,root,root) %verify(not md5 mtime size) %{_appconfdir}/*
%attr(754,root,root) /etc/rc.d/init.d/%{name}
%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}
%attr(770,root,red5) /var/run/%{name}
@@ -134,6 +141,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.21 2009/10/28 17:39:29 pawelz
+- symlink /etc/red5, /var/lib/red5/webapps and /var/lib/red5/work to RED5_HOME
+
Revision 1.20 2009/10/28 15:56:56 pawelz
- install boot.jar
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/red5/red5.spec?r1=1.20&r2=1.21&f=u
More information about the pld-cvs-commit
mailing list