automatic version update by autodist [release 3.1.8-1mamba;Tue Apr 29 2014]
This commit is contained in:
parent
977abf551a
commit
09d69c1b15
@ -1,2 +1,4 @@
|
||||
# python-reportlab
|
||||
|
||||
An Open Source Python library for generating PDFs and graphics.
|
||||
|
||||
|
95
python-reportlab.spec
Normal file
95
python-reportlab.spec
Normal file
@ -0,0 +1,95 @@
|
||||
Name: python-reportlab
|
||||
Version: 3.1.8
|
||||
Release: 1mamba
|
||||
Summary: An Open Source Python library for generating PDFs and graphics
|
||||
Group: System/Libraries/Python
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Ercole 'ercolinux' Carpanetto <ercole69@gmail.com>
|
||||
URL: http://www.reportlab.org/
|
||||
Source: http://pypi.python.org/packages/source/r/reportlab/reportlab-%{version}.tar.gz
|
||||
Source1: http://www.reportlab.com/ftp/pfbfer-20070710.zip
|
||||
License: BSD
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libfreetype-devel
|
||||
BuildRequires: libpython-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: python-Imaging
|
||||
BuildRequires: python-xml
|
||||
Provides: ReportLab
|
||||
Obsoletes: ReportLab
|
||||
Requires: python >= %python_version
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
An Open Source Python library for generating PDFs and graphics.
|
||||
|
||||
%package doc
|
||||
Group: Documentation
|
||||
Summary: Documentation package for %{name}
|
||||
Requires: %{name} = %{?epoch:epoch:}%{version}-%{release}
|
||||
|
||||
%description doc
|
||||
An Open Source Python library for generating PDFs and graphics.
|
||||
|
||||
This package contains the documentation files.
|
||||
|
||||
%prep
|
||||
%setup -q -n reportlab-%{version}
|
||||
%{__unzip} -qo -d src/reportlab/fonts/ %{S:1}
|
||||
find src -name '*.py' -exec sed -i -e '\,^#!/,d' '{}' ';'
|
||||
|
||||
%build
|
||||
CFLAGS="%{optflags}" %{__python} setup.py build
|
||||
|
||||
# make documentation
|
||||
PYTHONPATH="$(pwd)/$(ls -d build/lib*)" %{__python} docs/genAll.py
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%{__python} setup.py install \
|
||||
-O1 --skip-build \
|
||||
--root="%{buildroot}" \
|
||||
--install-headers=%{_includedir}/python \
|
||||
--install-lib=%{python_sitearch} \
|
||||
--record=%{name}.filelist
|
||||
|
||||
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
||||
|
||||
# remove useless testdemos
|
||||
rm -rf demos/tests
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%files -f %{name}.filelist
|
||||
%defattr(-,root,root)
|
||||
%doc CHANGES.txt LICENSE.txt README.txt
|
||||
|
||||
%files doc
|
||||
%defattr(-,root,root)
|
||||
%doc docs/*.pdf demos tools LICENSE.txt
|
||||
|
||||
%changelog
|
||||
* Tue Apr 29 2014 Automatic Build System <autodist@mambasoft.it> 3.1.8-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sun Feb 23 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0-2mamba
|
||||
- updated source font file also to fix download hanging python process on arm
|
||||
|
||||
* Sat Feb 15 2014 Automatic Build System <autodist@mambasoft.it> 3.0-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
* Fri May 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.7-1mamba
|
||||
- python 2.7 mass rebuild
|
||||
|
||||
* Sun Oct 28 2012 Automatic Build System <autodist@mambasoft.it> 2.6-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Tue Oct 12 2010 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 2.5-1mamba
|
||||
- package renamed from ReportLab to python-reportlab
|
||||
- added doc package
|
||||
|
||||
* Thu Sep 04 2008 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 2.1-1mamba
|
||||
- package created by autospec
|
Loading…
Reference in New Issue
Block a user