packages: trac-plugin-wysiwyg/trac-plugin-wysiwyg.spec (NEW) - new
glen
glen at pld-linux.org
Tue Apr 6 17:46:20 CEST 2010
Author: glen Date: Tue Apr 6 15:46:20 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- new
---- Files affected:
packages/trac-plugin-wysiwyg:
trac-plugin-wysiwyg.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/trac-plugin-wysiwyg/trac-plugin-wysiwyg.spec
diff -u /dev/null packages/trac-plugin-wysiwyg/trac-plugin-wysiwyg.spec:1.1
--- /dev/null Tue Apr 6 17:46:20 2010
+++ packages/trac-plugin-wysiwyg/trac-plugin-wysiwyg.spec Tue Apr 6 17:46:15 2010
@@ -0,0 +1,64 @@
+# $Revision$, $Date$
+%define trac_ver 0.11
+%define plugin wysiwyg
+Summary: Wysiwyg Plugin for Trac
+Name: trac-plugin-%{plugin}
+Version: 0.2
+Release: 1
+License: BSD
+Group: Applications/WWW
+Source0: http://trac-hacks.org/changeset/latest/tracwysiwygplugin?old_path=/&filename=tracwysiwygplugin&format=zip&/%{plugin}plugin.zip
+# Source0-md5: fbc0279bf41cc510e4e4766b2e5a3126
+URL: http://trac-hacks.org/wiki/TracWysiwygPlugin
+BuildRequires: python-devel
+Requires: trac >= %{trac_ver}
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Wysiwyg editor embedded into textarea.wikitext.
+
+%prep
+%setup -q -n tracwysiwygplugin
+
+%build
+cd %{trac_ver}
+%{__python} setup.py build
+%{__python} setup.py egg_info
+
+%install
+rm -rf $RPM_BUILD_ROOT
+cd %{trac_ver}
+%{__python} setup.py install \
+ --single-version-externally-managed \
+ --optimize 2 \
+ --root=$RPM_BUILD_ROOT
+
+%py_postclean
+
+%clean
+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
+
+%files
+%defattr(644,root,root,755)
+%{py_sitescriptdir}/trac%{plugin}
+%{py_sitescriptdir}/TracWysiwyg-%{version}-py*.egg-info
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2010/04/06 15:46:15 glen
+- new
================================================================
More information about the pld-cvs-commit
mailing list