packages: trac-plugin-wysiwyg/trac-plugin-wysiwyg.spec - enable plugin auto...
glen
glen at pld-linux.org
Wed Apr 7 11:53:39 CEST 2010
Author: glen Date: Wed Apr 7 09:53:39 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- enable plugin automatically; rel 2
---- Files affected:
packages/trac-plugin-wysiwyg:
trac-plugin-wysiwyg.spec (1.4 -> 1.5)
---- Diffs:
================================================================
Index: packages/trac-plugin-wysiwyg/trac-plugin-wysiwyg.spec
diff -u packages/trac-plugin-wysiwyg/trac-plugin-wysiwyg.spec:1.4 packages/trac-plugin-wysiwyg/trac-plugin-wysiwyg.spec:1.5
--- packages/trac-plugin-wysiwyg/trac-plugin-wysiwyg.spec:1.4 Tue Apr 6 21:44:14 2010
+++ packages/trac-plugin-wysiwyg/trac-plugin-wysiwyg.spec Wed Apr 7 11:53:34 2010
@@ -1,11 +1,14 @@
# $Revision$, $Date$
+# TODO
+# - one of my trac installs failed to load htdocs data and had to make such alias in apache config:
+# AliasMatch ^/trac/[^/]+/chrome/tracwysiwyg/(.*) /usr/share/python2.6/site-packages/tracwysiwyg/htdocs/$1
%define trac_ver 0.11
%define rev 7817
%define plugin wysiwyg
Summary: Wysiwyg Plugin for Trac
Name: trac-plugin-%{plugin}
Version: 0.2
-Release: 1
+Release: 2
License: BSD
Group: Applications/WWW
Source0: http://trac-hacks.org/changeset/%{rev}/tracwysiwygplugin?old_path=/&filename=tracwysiwygplugin&format=zip#/%{name}-%{version}-%{rev}.zip
@@ -15,7 +18,7 @@
BuildRequires: python-modules
BuildRequires: rpm-pythonprov
BuildRequires: unzip
-Requires: trac >= %{trac_ver}
+Requires: trac >= %{trac_ver}.7-3
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -44,14 +47,7 @@
rm -rf $RPM_BUILD_ROOT
%post
-if [ "$1" = "1" ]; then
- %banner -e %{name} <<-'EOF'
- To enable the %{plugin} plugin, add to conf/trac.ini:
-
- [components]
- trac%{plugin}.* = enabled
-EOF
-fi
+trac-enableplugin tracwysiwyg.WysiwygModule
%files
%defattr(644,root,root,755)
@@ -64,6 +60,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.5 2010/04/07 09:53:34 glen
+- enable plugin automatically; rel 2
+
Revision 1.4 2010/04/06 19:44:14 sparky
- BR: python-modules, rpm-pythonprov, unzip
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/trac-plugin-wysiwyg/trac-plugin-wysiwyg.spec?r1=1.4&r2=1.5&f=u
More information about the pld-cvs-commit
mailing list