Author: glen Date: Wed Sep 1 18:44:22 2010 GMT Module: packages Tag: HEAD ---- Log message: - up to 0.5.2, for trac 0.12
---- Files affected: packages/trac-plugin-hours: trac-plugin-hours.spec (1.5 -> 1.6) ---- Diffs: ================================================================ Index: packages/trac-plugin-hours/trac-plugin-hours.spec diff -u packages/trac-plugin-hours/trac-plugin-hours.spec:1.5 packages/trac-plugin-hours/trac-plugin-hours.spec:1.6 --- packages/trac-plugin-hours/trac-plugin-hours.spec:1.5 Thu Jul 8 10:48:41 2010 +++ packages/trac-plugin-hours/trac-plugin-hours.spec Wed Sep 1 20:44:17 2010 @@ -1,15 +1,14 @@ # $Revision$, $Date$ -%define trac_ver 0.11 +%define trac_ver 0.12 %define plugin trachours Summary: Trac plugin to track hours spent on tickets Name: trac-plugin-hours -Version: 0.3.1 -Release: 2 +Version: 0.5.2 +Release: 1 License: BSD-like Group: Applications/WWW -# Source0Download: http://trac-hacks.org/changeset/latest/trachoursplugin?old_path=/&filename=trachoursplugin&format=zip -Source0: trachoursplugin.zip -# Source0-md5: 7f1c462b4fbcc4a52aceaf1bf66de6d4 +Source0: http://trac-hacks.org/changeset/latest/trachoursplugin?old_path=/&filename=trachoursplugin&format=zip#/trachoursplugin.zip +# Source0-md5: 0c51648583b3c467ff91954591c08462 URL: http://trac-hacks.org/wiki/TracHoursPlugin BuildRequires: python-devel BuildRequires: unzip @@ -32,6 +31,9 @@ %{__python} setup.py build %{__python} setup.py egg_info +ver=$(awk '$1 == "Version:" {print $2}' *.egg-info/PKG-INFO) +test "$ver" = %{version} + %install rm -rf $RPM_BUILD_ROOT cd %{trac_ver} @@ -46,21 +48,19 @@ rm -rf $RPM_BUILD_ROOT %post +trac-enableplugin "trachours.*" + if [ "$1" = "1" ]; then %banner -e %{name} <<-'EOF' - To enable the %{plugin} plugin, add to conf/trac.ini: - - [components] - %{plugin}.* = enabled - - Add users to the group TICKET_ADD_HOURS. + Add users to the group TICKET_ADD_HOURS so they can fill hours. You will need to run trac-admin <env> upgrade in order to create the correct database tables. EOF fi %files %defattr(644,root,root,755) +%doc %{trac_ver}/README.txt %{py_sitescriptdir}/%{plugin} %{py_sitescriptdir}/*-*.egg-info @@ -70,6 +70,9 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.6 2010/09/01 18:44:17 glen +- up to 0.5.2, for trac 0.12 + Revision 1.5 2010/07/08 08:48:41 arekm - release 2 ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/trac-plugin-hours/trac-plugin-hours.spec?r1=1.5&r2=1.6&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
