SPECS: trac-plugin-eclipse.spec (NEW) - new, not tested

glen glen at pld-linux.org
Mon May 26 19:07:35 CEST 2008


Author: glen                         Date: Mon May 26 17:07:35 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new, not tested

---- Files affected:
SPECS:
   trac-plugin-eclipse.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/trac-plugin-eclipse.spec
diff -u /dev/null SPECS/trac-plugin-eclipse.spec:1.1
--- /dev/null	Mon May 26 19:07:35 2008
+++ SPECS/trac-plugin-eclipse.spec	Mon May 26 19:07:29 2008
@@ -0,0 +1,99 @@
+# $Revision$, $Date$
+# TODO
+# - how to package eclipse ext?
+
+%define		subver	r3719
+%define		rel		0.1
+Summary:	Eclipse Trac Integration
+Name:		trac-plugin-eclipse
+Version:	0.1
+Release:	0.%{subver}.%{rel}
+License:	BSD-like
+Group:		Applications/WWW
+Source0:	trac-plugin-tracrpcext-r3719.tar.bz2
+# Source0-md5:	8fb5e84a2fede6710aa082c95810e151
+Source1:	http://trac-hacks.org/attachment/wiki/EclipseTracPlugin/EclipseTrac.zip?format=raw
+# Source1-md5:	ab5c9b5d196272a261cd2d799702847d
+URL:		http://trac-hacks.org/wiki/EclipseTracPlugin
+BuildRequires:	python-devel
+BuildRequires:	python-setuptools >= 0.6
+Requires:	python-ldap
+Requires:	trac >= 0.10
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		_eclipsedir		%{_prefix}/lib/eclipse
+
+%description
+This is a plugin that provides a complete Trac interface usable from
+the Eclipse environment.
+
+%package -n eclipse-plugin-trac
+Summary:	Eclipse plugin for trac
+Group:		Development/Languages
+
+%description -n eclipse-plugin-trac
+Eclipse Trac Integration
+
+%prep
+%setup -qc -a1
+mv trac-plugin-tracrpcext-%{subver} tracrpcext
+
+%build
+cd tracrpcext
+%{__python} setup.py build
+%{__python} setup.py egg_info
+cd ..
+
+%install
+rm -rf $RPM_BUILD_ROOT
+cd tracrpcext
+%{__python} setup.py install \
+	--single-version-externally-managed \
+	--optimize 2 \
+	--root=$RPM_BUILD_ROOT
+cd ..
+
+install -d $RPM_BUILD_ROOT%{_eclipsedir}/plugins
+cp -a features plugins web index.html site.xml $RPM_BUILD_ROOT%{_eclipsedir}
+
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+if [ "$1" = "1" ]; then
+	%banner -e %{name} <<-'EOF'
+	Don't forget to enable both the TracRpcExt-Plugin and the XmlRpcPlugin:
+
+	[components]
+	tracrpc.* = enabled
+	tracrpcext.* = enabled
+	EOF
+#'
+fi
+
+%files
+%defattr(644,root,root,755)
+%{py_sitescriptdir}/TracExtendedXmlRpc-*.egg-info
+%dir %{py_sitescriptdir}/tracrpcext
+%{py_sitescriptdir}/tracrpcext/*.py[co]
+
+%files -n eclipse-plugin-trac
+%defattr(644,root,root,755)
+%{_eclipsedir}/features/EclipseTrac_*.jar
+%{_eclipsedir}/plugins/mm.eclipse.trac_*.jar
+%{_eclipsedir}/plugins/org.apache.xmlrpc_*.jar
+%{_eclipsedir}/index.html
+%{_eclipsedir}/site.xml
+%{_eclipsedir}/web
+
+%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  2008-05-26 17:07:29  glen
+- new, not tested
================================================================


More information about the pld-cvs-commit mailing list