SPECS: python-ReportLab.spec - added setup.patch - package to py_s...
sls
sls at pld-linux.org
Fri Nov 16 15:30:01 CET 2007
Author: sls Date: Fri Nov 16 14:30:01 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- added setup.patch
- package to py_sitescriptdir again
---- Files affected:
SPECS:
python-ReportLab.spec (1.39 -> 1.40)
---- Diffs:
================================================================
Index: SPECS/python-ReportLab.spec
diff -u SPECS/python-ReportLab.spec:1.39 SPECS/python-ReportLab.spec:1.40
--- SPECS/python-ReportLab.spec:1.39 Tue Nov 6 19:33:44 2007
+++ SPECS/python-ReportLab.spec Fri Nov 16 15:29:55 2007
@@ -10,6 +10,7 @@
Group: Libraries/Python
Source0: http://www.reportlab.com/ftp/ReportLab_%{fversion}.tgz
# Source0-md5: d6eefe9e6e06aaa1315462045c9726ba
+Patch0: %{name}-setup.patch
URL: http://www.reportlab.com/
BuildRequires: python-devel >= 1:2.5
BuildRequires: rpm-pythonprov
@@ -54,6 +55,7 @@
%prep
%setup -q -n reportlab_%{fversion}
+%patch0 -p1
%build
cd reportlab
@@ -77,8 +79,8 @@
rm -rf $RPM_BUILD_ROOT%{py_sitescriptdir}/reportlab/demos
rm -rf $RPM_BUILD_ROOT%{py_sitescriptdir}/reportlab/docs
-rm -rf $RPM_BUILD_ROOT%{py_sitedir}/reportlab/graphics/samples
-rm -rf $RPM_BUILD_ROOT%{py_sitedir}/reportlab/test
+rm -rf $RPM_BUILD_ROOT%{py_sitescriptdir}/reportlab/graphics/samples
+rm -rf $RPM_BUILD_ROOT%{py_sitescriptdir}/reportlab/test
rm -rf $RPM_BUILD_ROOT%{py_sitescriptdir}/reportlab/tools/pythonpoint/demos
%py_postclean
@@ -90,26 +92,49 @@
%defattr(644,root,root,755)
%doc reportlab/README reportlab/docs/*.pdf reportlab/license*
%attr(755,root,root) %{_bindir}/*
-%{py_sitedir}/Reportlab-%{version}-py*.egg-info
-%{py_sitedir}/reportlab
-# mess part 2: docs and static files
%dir %{py_sitescriptdir}/reportlab
+%{py_sitescriptdir}/Reportlab-%{version}-py*.egg-info
+%{py_sitescriptdir}/reportlab/*.py[co]
+%dir %{py_sitescriptdir}/reportlab/extensions
+%{py_sitescriptdir}/reportlab/extensions/*.py[co]
%dir %{py_sitescriptdir}/reportlab/fonts
%{py_sitescriptdir}/reportlab/fonts/*.AFM
%{py_sitescriptdir}/reportlab/fonts/*.PFB
%{py_sitescriptdir}/reportlab/fonts/*.ttf
%{py_sitescriptdir}/reportlab/fonts/*.txt
+%dir %{py_sitescriptdir}/reportlab/graphics
+%{py_sitescriptdir}/reportlab/graphics/*.py[co]
+%dir %{py_sitescriptdir}/reportlab/graphics/charts
+%{py_sitescriptdir}/reportlab/graphics/charts/*.py[co]
+%dir %{py_sitescriptdir}/reportlab/graphics/barcode
+%{py_sitescriptdir}/reportlab/graphics/barcode/*.py[co]
+%dir %{py_sitescriptdir}/reportlab/graphics/widgets
+%{py_sitescriptdir}/reportlab/graphics/widgets/*.py[co]
+%dir %{py_sitescriptdir}/reportlab/lib
+%{py_sitescriptdir}/reportlab/lib/*.py[co]
+%dir %{py_sitescriptdir}/reportlab/pdfbase
+%{py_sitescriptdir}/reportlab/pdfbase/*.py[co]
+%dir %{py_sitescriptdir}/reportlab/pdfgen
+%{py_sitescriptdir}/reportlab/pdfgen/*.py[co]
+%dir %{py_sitescriptdir}/reportlab/platypus
+%{py_sitescriptdir}/reportlab/platypus/*.py[co]
%dir %{py_sitescriptdir}/reportlab/tools
+%{py_sitescriptdir}/reportlab/tools/*.py[co]
%{py_sitescriptdir}/reportlab/tools/README
%dir %{py_sitescriptdir}/reportlab/tools/docco
+%{py_sitescriptdir}/reportlab/tools/docco/*.py[co]
%{py_sitescriptdir}/reportlab/tools/docco/README
%dir %{py_sitescriptdir}/reportlab/tools/py2pdf
+%{py_sitescriptdir}/reportlab/tools/py2pdf/*.py[co]
%{py_sitescriptdir}/reportlab/tools/py2pdf/*.jpg
%{py_sitescriptdir}/reportlab/tools/py2pdf/*.txt
%{py_sitescriptdir}/reportlab/tools/py2pdf/README
%dir %{py_sitescriptdir}/reportlab/tools/pythonpoint
+%{py_sitescriptdir}/reportlab/tools/pythonpoint/*.py[co]
%{py_sitescriptdir}/reportlab/tools/pythonpoint/README
%{py_sitescriptdir}/reportlab/tools/pythonpoint/*.dtd
+%dir %{py_sitescriptdir}/reportlab/tools/pythonpoint/styles
+%{py_sitescriptdir}/reportlab/tools/pythonpoint/styles/*.py[co]
%files examples
%defattr(644,root,root,755)
@@ -125,6 +150,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.40 2007-11-16 14:29:55 sls
+- added setup.patch
+- package to py_sitescriptdir again
+
Revision 1.39 2007-11-06 18:33:44 qboosh
- BR: rpm-pythonprov, macros for py_postclean
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/python-ReportLab.spec?r1=1.39&r2=1.40&f=u
More information about the pld-cvs-commit
mailing list