packages: trac-plugin-wysiwyg/trac-plugin-wysiwyg.spec - trac 0.12 version
glen
glen at pld-linux.org
Thu Sep 9 17:19:57 CEST 2010
Author: glen Date: Thu Sep 9 15:19:57 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- trac 0.12 version
---- Files affected:
packages/trac-plugin-wysiwyg:
trac-plugin-wysiwyg.spec (1.6 -> 1.7)
---- Diffs:
================================================================
Index: packages/trac-plugin-wysiwyg/trac-plugin-wysiwyg.spec
diff -u packages/trac-plugin-wysiwyg/trac-plugin-wysiwyg.spec:1.6 packages/trac-plugin-wysiwyg/trac-plugin-wysiwyg.spec:1.7
--- packages/trac-plugin-wysiwyg/trac-plugin-wysiwyg.spec:1.6 Thu Jul 8 10:49:02 2010
+++ packages/trac-plugin-wysiwyg/trac-plugin-wysiwyg.spec Thu Sep 9 17:19:52 2010
@@ -2,23 +2,23 @@
# 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 trac_ver 0.12
%define rev 7817
%define plugin wysiwyg
Summary: Wysiwyg Plugin for Trac
Name: trac-plugin-%{plugin}
-Version: 0.2
-Release: 3
+Version: %{trac_ver}.0.2
+Release: 1
License: BSD
Group: Applications/WWW
-Source0: http://trac-hacks.org/changeset/%{rev}/tracwysiwygplugin?old_path=/&filename=tracwysiwygplugin&format=zip#/%{name}-%{version}-%{rev}.zip
-# Source0-md5: fbc0279bf41cc510e4e4766b2e5a3126
+Source0: http://trac-hacks.org/changeset/latest/tracwysiwygplugin?old_path=/&filename=%{plugin}-%{version}&format=zip#/%{plugin}-%{version}.zip
+# Source0-md5: a6b46da0a6078c6988dc3d0d36f81ce6
URL: http://trac-hacks.org/wiki/TracWysiwygPlugin
BuildRequires: python-devel
BuildRequires: python-modules
BuildRequires: rpm-pythonprov
BuildRequires: unzip
-Requires: trac >= %{trac_ver}.7-3
+Requires: trac >= %{trac_ver}
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -26,16 +26,18 @@
Wysiwyg editor embedded into textarea.wikitext.
%prep
-%setup -q -n tracwysiwygplugin
+%setup -qc
+mv trac%{plugin}plugin/%{trac_ver}/* .
%build
-cd %{trac_ver}
%{__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}
%{__python} setup.py install \
--single-version-externally-managed \
--optimize 2 \
@@ -60,6 +62,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.7 2010/09/09 15:19:52 glen
+- trac 0.12 version
+
Revision 1.6 2010/07/08 08:49:02 arekm
- release 3
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/trac-plugin-wysiwyg/trac-plugin-wysiwyg.spec?r1=1.6&r2=1.7&f=u
More information about the pld-cvs-commit
mailing list