# # spec file for package python-djvulibre (Version 0.3.3) # # Copyright (c) 2010, 2011 Kyrill Detinov # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # Name: python-djvulibre Version: 0.3.3 Release: 0 License: GPL-2.0 Summary: Python Support for the DjVu Image Format URL: http://jwilk.net/software/python-djvulibre Group: Development/Libraries/Python Source0: http://pypi.python.org/packages/source/p/python-djvulibre/%{name}-%{version}.tar.gz BuildRequires: libdjvulibre-devel BuildRequires: pkg-config BuildRequires: python-Cython BuildRequires: python-devel BuildRequires: python-setuptools BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot %py_requires %description python-djvulibre is a set of Python bindings for the DjVuLibre library, an open source implementation of DjVu. Authors: -------- Jakub Wilk %prep %setup -q %build export CFLAGS="%{optflags} -fno-strict-aliasing" %__python setup.py build %install %__python setup.py install \ --root=%{buildroot} \ --prefix=%{_prefix} \ --record-rpm=INSTALLED_FILES %clean %{?buildroot:%__rm -rf "%{buildroot}"} %files -f INSTALLED_FILES %defattr(-,root,root,-) %doc doc/changelog examples %changelog