Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:smarty12:Python
python-mwlib.ext
python-mwlib.ext.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-mwlib.ext.spec of Package python-mwlib.ext
# # spec file for package python-mwlib.ext # # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define mod_name mwlib.ext Name: python-mwlib.ext Version: 0.13.2 Release: 1 Summary: Provide dependencies for mwlib Group: Development/Languages/Python License: BSD-2-Clause Url: http://pypi.python.org/pypi/mwlib.ext Source0: http://pypi.python.org/packages/source/m/%{mod_name}/%{mod_name}-%{version}.zip BuildRequires: python-devel BuildRequires: python-setuptools BuildRequires: unzip fdupes %if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(True);")} %endif Requires: python-pyparsing >= 1.4.11 Requires: python-odfpy >= 0.9 Requires: python-gevent Requires: python-timelib >= 0.2 Requires: python-bottle >= 0.10 Requires: python-pypdf >= 1.12 Requires: python-apipkg Requires: python-qserve >= 0.2.7 Requires: python-roman Requires: python-lxml Requires: python-py >= 1.4 Requires: python-sqlite3dbm Requires: python-simplejson >= 2.5 Requires: python-greenlet BuildRoot: %{_tmppath}/%{name}-%{version}-build %description mwlib.ext provides external dependencies needed by the mwlib library. It contains a copy of reportlab, which is a BSD licensed pdf generation library. Please \ visit http://code.pediapress.com/ for further information. %prep %setup -n %{mod_name}-%{version} # fix for rpmlint pushd upstream-src/src/reportlab/graphics/barcode sed '/^#!/ c #!/usr/bin/python' test.py > test1.py && mv test1.py test.py popd %build python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} # fix for rpmlint pushd %{buildroot}%{python_sitearch}/mwlib/ext/reportlab list="lib/units.py lib/normalDate.py graphics/testshapes.py graphics/widgets/table.py lib/corp.py lib/logger.py lib/pagesizes.py lib/randomtext.py \ lib/set_ops.py lib/__init__.py graphics/testdrawings.py graphics/barcode/test.py lib/fonts.py lib/formatters.py" for i in $list do chmod +x "$i" done popd %fdupes -s %{buildroot}%{python_sitearch} %files %defattr(-,root,root) %doc README.txt %{python_sitearch} %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor