Name: python-imagesize Version: 0.7.1 Release: 1mamba Summary: This module analyzes jpeg/jpeg2000/png/gif image header and return image size Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://pypi.python.org/pypi/imagesize Source: https://pypi.debian.net/imagesize/imagesize-%{version}.tar.gz License: MIT ## AUTOBUILDREQ-BEGIN BuildRequires: libpython-devel ## AUTOBUILDREQ-END Requires: python >= %python_version BuildRoot: %{_tmppath}/%{name}-%{version}-root %description %{summary}. %if 0%{?with_pyver} %pyver_package %endif %prep %setup -q -n imagesize-%{version} %build CFLAGS="%{optflags}" %{__python} setup.py build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %{__python} setup.py install \ -O1 --skip-build \ --root="%{buildroot}" \ --install-headers=%{python_inc} \ --install-lib=%{python_sitearch} \ --record=%{name}.filelist #sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist %files %{?pyappend} -f %{name}.filelist %defattr(-,root,root) %changelog * Sun Oct 02 2016 Silvan Calarco 0.7.1-1mamba - package created using the webbuild interface