SPECS: trac-plugin-webadmin.spec - add banner of install setup; rel 2

glen glen at pld-linux.org
Thu May 29 11:35:31 CEST 2008


Author: glen                         Date: Thu May 29 09:35:31 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add banner of install setup; rel 2

---- Files affected:
SPECS:
   trac-plugin-webadmin.spec (1.6 -> 1.7) 

---- Diffs:

================================================================
Index: SPECS/trac-plugin-webadmin.spec
diff -u SPECS/trac-plugin-webadmin.spec:1.6 SPECS/trac-plugin-webadmin.spec:1.7
--- SPECS/trac-plugin-webadmin.spec:1.6	Mon May 26 14:43:48 2008
+++ SPECS/trac-plugin-webadmin.spec	Thu May 29 11:35:26 2008
@@ -1,6 +1,6 @@
 # $Revision$, $Date$
 %define		subver	dev_r3158
-%define		rel		1
+%define		rel		2
 Summary:	Plugin for administering Trac projects through the web interface
 Summary(pl.UTF-8):	Wtyczka do administracji projektami Traca przez interfejs WWW
 Name:		trac-plugin-webadmin
@@ -8,10 +8,11 @@
 Release:	0.%{subver}.%{rel}
 License:	distributable
 Group:		Applications/WWW
-Source0:	http://rakin.eu.org/trac-plugins/trac-plugin-webadmin-%{version}%{subver}.tar.gz
+Source0:	http://rakin.eu.org/trac-plugins/%{name}-%{version}%{subver}.tar.gz
 # Source0-md5:	2635ffb44e2e342cec17e9d87710f558
 URL:		http://projects.edgewall.com/trac/wiki/WebAdmin
 BuildRequires:	python-devel
+BuildRequires:	rpmbuild(macros) >= 1.194
 %pyrequires_eq  python-modules
 Requires:	trac
 BuildArch:	noarch
@@ -44,6 +45,16 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+if [ "$1" = "1" ]; then
+	%banner -e %{name} <<-'EOF'
+	Don't forget to enable webadmin in conf/trac.ini:
+
+	[components]
+	webadmin.* = enabled
+#'
+fi
+
 %files
 %defattr(644,root,root,755)
 %doc COPYING
@@ -56,6 +67,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.7  2008-05-29 09:35:26  glen
+- add banner of install setup; rel 2
+
 Revision 1.6  2008-05-26 12:43:48  glen
 - use python macro, remove trash after %changelog
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/trac-plugin-webadmin.spec?r1=1.6&r2=1.7&f=u



More information about the pld-cvs-commit mailing list