[Erp5-report] r16231 - /spec/mandriva/2007.1/python2.4-reportlab/
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Sep 10 17:53:30 CEST 2007
Author: kazuhiko
Date: Mon Sep 10 17:53:29 2007
New Revision: 16231
URL: http://svn.erp5.org?rev=16231&view=rev
Log:
* Mon Sep 10 2007 Kazuhiko Shiozaki <kazuhiko at nexedi.com> 1.20-1mdv2007.1
- version up and apply some patches
Added:
spec/mandriva/2007.1/python2.4-reportlab/python-reportlab-filename.patch.bz2 (with props)
spec/mandriva/2007.1/python2.4-reportlab/python-reportlab-image.patch.bz2 (with props)
spec/mandriva/2007.1/python2.4-reportlab/python-reportlab-table.patch.bz2 (with props)
Modified:
spec/mandriva/2007.1/python2.4-reportlab/python2.4-reportlab.spec
Added: spec/mandriva/2007.1/python2.4-reportlab/python-reportlab-filename.patch.bz2
URL: http://svn.erp5.org/spec/mandriva/2007.1/python2.4-reportlab/python-reportlab-filename.patch.bz2?rev=16231&view=auto
==============================================================================
Binary file - no diff available.
Propchange: spec/mandriva/2007.1/python2.4-reportlab/python-reportlab-filename.patch.bz2
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: spec/mandriva/2007.1/python2.4-reportlab/python-reportlab-image.patch.bz2
URL: http://svn.erp5.org/spec/mandriva/2007.1/python2.4-reportlab/python-reportlab-image.patch.bz2?rev=16231&view=auto
==============================================================================
Binary file - no diff available.
Propchange: spec/mandriva/2007.1/python2.4-reportlab/python-reportlab-image.patch.bz2
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: spec/mandriva/2007.1/python2.4-reportlab/python-reportlab-table.patch.bz2
URL: http://svn.erp5.org/spec/mandriva/2007.1/python2.4-reportlab/python-reportlab-table.patch.bz2?rev=16231&view=auto
==============================================================================
Binary file - no diff available.
Propchange: spec/mandriva/2007.1/python2.4-reportlab/python-reportlab-table.patch.bz2
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Modified: spec/mandriva/2007.1/python2.4-reportlab/python2.4-reportlab.spec
URL: http://svn.erp5.org/spec/mandriva/2007.1/python2.4-reportlab/python2.4-reportlab.spec?rev=16231&r1=16230&r2=16231&view=diff
==============================================================================
--- spec/mandriva/2007.1/python2.4-reportlab/python2.4-reportlab.spec (original)
+++ spec/mandriva/2007.1/python2.4-reportlab/python2.4-reportlab.spec Mon Sep 10 17:53:29 2007
@@ -1,12 +1,15 @@
-%define ver 1_19
+%define ver 1_20
%define py_platsitedir %{_libdir}/python2.4/site-packages
Summary: ReportLab library to create PDF documents using Python
Name: python2.4-reportlab
-Version: 1.19
-Release: %mkrel 6
+Version: 1.20
+Release: %mkrel 1
URL: http://www.reportlab.org/
-Source0: http://www.reportlab.org/ftp/ReportLab_%{ver}.tar.bz2
+Source0: http://www.reportlab.org/ftp/ReportLab_%{ver}.tgz
+Patch0: python-reportlab-table.patch.bz2
+Patch1: python-reportlab-image.patch.bz2
+Patch2: python-reportlab-filename.patch.bz2
License: BSD
Group: Publishing
BuildRoot: %{_tmppath}/%{name}-buildroot
@@ -32,8 +35,12 @@
* from XML to PDF in one step
%prep
-%setup -q -n reportlab-%ver
+%setup -q -n reportlab_%ver
find . -type f | xargs perl -p -i -e 's@#!/bin/env python@#!/usr/bin/env python2.4@'
+cd reportlab
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
%build
cd reportlab
@@ -43,9 +50,6 @@
rm -rf $RPM_BUILD_ROOT
cd reportlab
python2.4 setup.py install --root=$RPM_BUILD_ROOT
-cd $RPM_BUILD_ROOT%_libdir/python*
-tar c reportlab | tar x -C site-packages
-rm -rf reportlab
%clean
rm -rf $RPM_BUILD_ROOT
@@ -55,9 +59,10 @@
%doc reportlab/docs
%{py_platsitedir}/*
+%changelog
+* Mon Sep 10 2007 Kazuhiko Shiozaki <kazuhiko at nexedi.com> 1.20-1mdv2007.1
+- version up and apply some patches
-
-%changelog
* Sat Jun 30 2007 Jean-Paul Smets <jp at nexedi.com> 1.19-6mdv2007.1
- py_platsitedir is now based on _libdir
More information about the Erp5-report
mailing list