packages: trac-plugin-mastertickets/trac-plugin-mastertickets.spec (NEW), t...

zbyniu zbyniu at pld-linux.org
Fri Sep 10 14:36:50 CEST 2010


Author: zbyniu                       Date: Fri Sep 10 12:36:50 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- raw, but works

---- Files affected:
packages/trac-plugin-mastertickets:
   trac-plugin-mastertickets.spec (NONE -> 1.1)  (NEW)
packages/trac-plugin-xmlrpc:
   trac-plugin-xmlrpc.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/trac-plugin-mastertickets/trac-plugin-mastertickets.spec
diff -u /dev/null packages/trac-plugin-mastertickets/trac-plugin-mastertickets.spec:1.1
--- /dev/null	Fri Sep 10 14:36:50 2010
+++ packages/trac-plugin-mastertickets/trac-plugin-mastertickets.spec	Fri Sep 10 14:36:45 2010
@@ -0,0 +1,73 @@
+# $Revision$, $Date$
+%define		trac_ver	0.12
+%define		plugin		mastertickets
+Summary:	Add simple support for renaming/moving wiki pages
+Name:		trac-plugin-%{plugin}
+Version:	3.0
+Release:	0.4
+License:	BSD
+Group:		Applications/WWW
+# Source0Download:	http://trac-hacks.org/changeset/latest/xmlrpcplugin?old_path=/&filename=xmlrpcplugin&format=zip
+#Source0:	%{plugin}plugin.zip
+Source0:	http://github.com/coderanger/trac-mastertickets/zipball/master
+# Source0-md5:	b32a2dac51488e6fd68bbcf49e384a72
+URL:		http://trac-hacks.org/wiki/MasterTicketsPlugin
+BuildRequires:	python-devel
+Requires:	trac >= %{trac_ver}
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This plugin adds "blocks" and "blocked by" fields to each ticket,
+enabling you to express dependencies between tickets. It also provides
+a graphviz-based dependency-graph feature for those tickets having
+dependencies specified, allowing you to visually understand the
+dependency tree. The dependency graph is viewable by clicking
+'depgraph' in the context (in the upper right corner) menu when
+viewing a ticket that blocks or is blocked by another ticket.
+
+%prep
+%setup -qc -n %{plugin}plugin
+
+%build
+cd coderanger-trac-mastertickets-ffc6543
+%{__python} setup.py build
+%{__python} setup.py egg_info
+
+%install
+rm -rf $RPM_BUILD_ROOT
+cd coderanger-trac-mastertickets-ffc6543
+%{__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]
+	%{plugin}.* = enabled
+EOF
+fi
+
+%files
+%defattr(644,root,root,755)
+%{py_sitescriptdir}/%{plugin}
+%{py_sitescriptdir}/TracMasterTickets-*.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/09/10 12:36:45  zbyniu
+- raw, but works
+

================================================================
Index: packages/trac-plugin-xmlrpc/trac-plugin-xmlrpc.spec
diff -u /dev/null packages/trac-plugin-xmlrpc/trac-plugin-xmlrpc.spec:1.1
--- /dev/null	Fri Sep 10 14:36:50 2010
+++ packages/trac-plugin-xmlrpc/trac-plugin-xmlrpc.spec	Fri Sep 10 14:36:45 2010
@@ -0,0 +1,71 @@
+# $Revision$, $Date$
+%define		trac_ver	0.12
+%define		plugin		xmlrpc
+Summary:	Add simple support for renaming/moving wiki pages
+Name:		trac-plugin-%{plugin}
+Version:	0
+Release:	0.3
+License:	BSD
+Group:		Applications/WWW
+# Source0Download:	http://trac-hacks.org/changeset/latest/xmlrpcplugin?old_path=/&filename=xmlrpcplugin&format=zip
+#Source0:	%{plugin}plugin.zip
+Source0:	http://trac-hacks.org/changeset/latest/xmlrpcplugin?old_path=/&filename=xmlrpcplugin&format=zip
+# Source0-md5:	c7dc2526551d2955721fc10d55a3a86b
+URL:		http://trac-hacks.org/wiki/XmlRpcPlugin
+BuildRequires:	python-devel
+Requires:	trac >= %{trac_ver}
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This plugin allows Trac plugins to export select parts of their
+interface via XML-RPC and JSON-RPC (if json or simplejson is
+available). Latest trunk version includes a pluggable API for
+extending protocols, and see for instance TracRpcProtocolsPlugin
+for more protocols.
+
+%prep
+%setup -q -n %{plugin}plugin
+
+%build
+cd trunk
+%{__python} setup.py build
+%{__python} setup.py egg_info
+
+%install
+rm -rf $RPM_BUILD_ROOT
+cd trunk
+%{__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]
+	tracrpc.* = enabled
+EOF
+fi
+
+%files
+%defattr(644,root,root,755)
+%{py_sitescriptdir}/tracrpc
+%{py_sitescriptdir}/TracXMLRPC-*.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/09/10 12:36:45  zbyniu
+- raw, but works
+
================================================================


More information about the pld-cvs-commit mailing list