packages: trac/trac.spec - package plugins and templates dir in /usr/share/...

glen glen at pld-linux.org
Mon Sep 13 19:12:51 CEST 2010


Author: glen                         Date: Mon Sep 13 17:12:51 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- package plugins and templates dir in /usr/share/trac

---- Files affected:
packages/trac:
   trac.spec (1.90 -> 1.91) 

---- Diffs:

================================================================
Index: packages/trac/trac.spec
diff -u packages/trac/trac.spec:1.90 packages/trac/trac.spec:1.91
--- packages/trac/trac.spec:1.90	Tue Aug 24 12:47:06 2010
+++ packages/trac/trac.spec	Mon Sep 13 19:12:46 2010
@@ -17,7 +17,7 @@
 Summary(pl.UTF-8):	Zintegrowane scm, wiki, system śledzenia problemów i środowisko projektowe
 Name:		trac
 Version:	0.12
-Release:	5
+Release:	6
 License:	BSD-like
 Group:		Applications/WWW
 Source0:	http://ftp.edgewall.com/pub/trac/Trac-%{version}.tar.gz
@@ -29,7 +29,7 @@
 Source5:	%{name}-enableplugin.py
 Patch0:		%{name}-root2http.patch
 Patch1:		%{name}-defaults.patch
-URL:		http://trac.edgewall.org
+URL:		http://trac.edgewall.org/
 BuildRequires:	python >= 1:2.1
 BuildRequires:	python-babel >= 0.9.5
 BuildRequires:	python-devel >= 1:2.1
@@ -105,7 +105,7 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_sysconfdir},/var/lib/%{name}}
+install -d $RPM_BUILD_ROOT{%{_sysconfdir},/var/lib/%{name},%{_datadir}/%{name}/{plugins,templates}}
 
 %{__python} setup.py install \
 	--optimize=2 \
@@ -123,6 +123,8 @@
 install -d $RPM_BUILD_ROOT%{_appdir}/cgi-bin
 mv $RPM_BUILD_ROOT{%{py_sitescriptdir}/trac,%{_appdir}}/htdocs
 
+rm $RPM_BUILD_ROOT%{_appdir}/htdocs/README
+
 install -p cgi-bin/trac.*  $RPM_BUILD_ROOT%{_appdir}/cgi-bin
 
 cp -a %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/trac.ini
@@ -213,6 +215,8 @@
 %attr(755,root,root) %{_appdir}/cgi-bin/trac.cgi
 %attr(755,root,root) %{_appdir}/cgi-bin/trac.fcgi
 %dir %{_appdir}/htdocs
+%dir %{_appdir}/plugins
+%dir %{_appdir}/templates
 %{_appdir}/htdocs/README
 %{_appdir}/htdocs/*.gif
 %{_appdir}/htdocs/*.ico
@@ -257,6 +261,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.91  2010/09/13 17:12:46  glen
+- package plugins and templates dir in /usr/share/trac
+
 Revision 1.90  2010/08/24 10:47:06  glen
 - require python-distribute to catch pkg_resources module
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/trac/trac.spec?r1=1.90&r2=1.91&f=u



More information about the pld-cvs-commit mailing list