SPECS: python-ReportLab-renderPM.spec (NEW) - initial PLD release

patrys patrys at pld-linux.org
Thu Apr 12 14:19:23 CEST 2007


Author: patrys                       Date: Thu Apr 12 12:19:23 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial PLD release

---- Files affected:
SPECS:
   python-ReportLab-renderPM.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/python-ReportLab-renderPM.spec
diff -u /dev/null SPECS/python-ReportLab-renderPM.spec:1.1
--- /dev/null	Thu Apr 12 14:19:23 2007
+++ SPECS/python-ReportLab-renderPM.spec	Thu Apr 12 14:19:17 2007
@@ -0,0 +1,50 @@
+# $Revision$, $Date$
+%define		module	ReportLab
+%define		_snap	20070412
+Summary:	A C coded extension accelerator for the ReportLab Toolkit
+Name:		python-%{module}-rl_accel
+Version:	1.03
+Release:	1
+License:	distributable
+Group:		Libraries/Python
+Source0:	http://www.reportlab.org/daily/renderPM-%{version}-daily-unix.tgz
+# Source0-md5:	c8651574c4ebe2a5abecc2659a35f1bb
+URL:		http://www.reportlab.com/
+BuildRequires:	python-devel >= 1:2.4
+%pyrequires_eq	python
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A C coded extension accelerator for the ReportLab Toolkit.
+
+%prep
+%setup -q -n renderPM-%{version}-%{_snap}
+
+%build
+cd renderPM
+CFLAGS="%{rpmcflags}"; export CFLAGS
+python setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+cd renderPM
+python setup.py install \
+	--root=$RPM_BUILD_ROOT \
+	--optimize=2
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{py_sitedir}/*.so
+
+%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  2007/04/12 12:19:17  patrys
+- initial PLD release
+
================================================================


More information about the pld-cvs-commit mailing list