packages: python-SVNPlot/python-SVNPlot.spec (NEW) - init

arvenil arvenil at pld-linux.org
Wed Jun 9 01:42:20 CEST 2010


Author: arvenil                      Date: Tue Jun  8 23:42:20 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- init

---- Files affected:
packages/python-SVNPlot:
   python-SVNPlot.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/python-SVNPlot/python-SVNPlot.spec
diff -u /dev/null packages/python-SVNPlot/python-SVNPlot.spec:1.1
--- /dev/null	Wed Jun  9 01:42:20 2010
+++ packages/python-SVNPlot/python-SVNPlot.spec	Wed Jun  9 01:42:15 2010
@@ -0,0 +1,60 @@
+# $Revision$, $Date$
+%define _name	svnplot
+
+%define	module	SVNPlot
+Summary:	Python module to generate graphs and statistics from Subversion repository data
+Name:		python-%{module}
+Version:	0.6.1
+Release:	0.1
+License:	BSD
+Group:		Development/Languages/Python
+Source0:	http://svnplot.googlecode.com/files/%{module}-%{version}.zip
+# Source0-md5:	1e1cb3c3d4841681ab3ccb885244875d
+URL:		http://code.google.com/p/svnplot/
+BuildRequires:	python-devel
+BuildRequires:	rpm-pythonprov
+%pyrequires_eq	python
+Requires:	python-matplotlib
+Requires:	python-pysvn
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Python module to generate graphs and statistics from Subversion
+repository data.
+
+%prep
+%setup  -q -n %{module}-%{version}
+
+%build
+%{__python} setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__python} python setup.py install \
+	--root=$RPM_BUILD_ROOT \
+	--optimize=2
+
+%py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
+%py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%dir %{py_sitescriptdir}/%{_name}
+%{py_sitescriptdir}/%{_name}/*.py[co]
+%{py_sitescriptdir}/%{_name}/javascript
+%{py_sitescriptdir}/%{module}-*.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/06/08 23:42:15  arvenil
+- init
+
================================================================


More information about the pld-cvs-commit mailing list