This repository has been archived on 2024-11-07. You can view files and clone it, but cannot push or open issues or pull requests.
python-wordaxe/python-wordaxe.spec

52 lines
1.5 KiB
RPMSpec
Raw Normal View History

Name: python-wordaxe
Version: 1.0.1
Release: 2mamba
Summary: Hyphenation algorithms for python programs and ReportLab paragraphs
Group: System/Libraries/Python
Vendor: openmamba
Distribution: openmamba
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
URL: http://deco-cow.sourceforge.net
Source: http://downloads.sourceforge.net/project/deco-cow/wordaxe-%{version}.zip
License: Apache License 2.0, BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython-devel
## AUTOBUILDREQ-END
Requires: python >= %python_version
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildArch: noarch
%description
wordaxe provide hyphenation for python programs and ReportLab paragraphs.
%prep
%setup -q -n wordaxe-%{version}
%build
%{__python} setup.py build
%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
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f %{name}.filelist
%defattr(-,root,root)
%doc docs/*en.pdf docs/*.txt
%changelog
* Fri May 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.1-2mamba
- python 2.7 mass rebuild
* Tue Oct 12 2010 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 1.0.1-1mamba
- package created by autospec