Name: python-Pillow Version: 6.1.0 Release: 1mamba Summary: Python Imaging Library (Fork) Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://pypi.python.org/pypi/Pillow Source: http://pypi.debian.net/Pillow/Pillow-%{version}.tar.gz #Source: https://pypi.debian.org/Pillow/Pillow-%{version}.zip License: Standard PIL License ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libfreetype-devel BuildRequires: libjpeg-devel BuildRequires: liblcms2-devel BuildRequires: libpython-devel BuildRequires: libtcl-devel BuildRequires: libtiff-devel BuildRequires: libtk-devel BuildRequires: libwebp-devel BuildRequires: libz-devel ## AUTOBUILDREQ-END BuildRequires: libpython3-devel >= 3.7.4 BuildRequires: libopenjpeg-devel >= 2.1.0-1mamba BuildRequires: python27-tk Provides: python-Imaging Obsoletes: python-Imaging Provides: python-Imaging-tk Obsoletes: python-Imaging-tk Provides: python-Imaging-sane Obsoletes: python-Imaging-sane Requires: python >= %python_version BuildRoot: %{_tmppath}/%{name}-%{version}-root %description %{summary}. %if "%{?with_pyver}" %pyver_package %package %{pyappend}-devel Group: Development/Libraries Summary: Development files for %{name} Requires: %{name}-%{pyappend} = %{?epoch:%epoch:}%{version}-%{release} %description %{pyappend}-devel This package contains libraries and header files for developing applications that use %{name}. %package %{pyappend}-tools Group: System tools Summary: Tools for %{name} Requires: %{name}-%{pyappend} = %{?epoch:%epoch:}%{version}-%{release} %description %{pyappend}-tools This package contains tools that use %{name}. %endif %package devel Group: Development/Libraries Summary: Development files for %{name} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description devel This package contains libraries and header files for developing applications that use %{name}. %package tools Group: System/Tools Summary: Tools for %{name} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description tools This package contains tools that use %{name}. %prep %setup -q -n Pillow-%{version} %build CFLAGS="%{optflags}" %{__python} setup.py build #cd Sane #CFLAGS="%{optflags}" %{__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 install -d -m0755 %{buildroot}%{_includedir}/python%{python_version} #cp -a libImaging/*.h %{buildroot}%{_includedir}/python%{python_version}/ #sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist #cd Sane #%{__python} setup.py install \ # -O1 --skip-build \ # --root="%{buildroot}" \ # --install-headers=%{_includedir}/python \ # --install-lib=%{python_sitearch} \ # --record=%{name}.filelist %files %{?pyappend} -f %{name}.filelist %defattr(-,root,root) %{python_sitearch}/PIL/_imagingcms*.so %{python_sitearch}/PIL/_imagingft*.so %{python_sitearch}/PIL/_imagingmath*.so %{python_sitearch}/PIL/_imagingmorph*.so %{python_sitearch}/PIL/_imagingtk*.so %{python_sitearch}/PIL/_webp*.so #%{python_sitearch}/_sane*.so #%{python_sitearch}/pysane-2.0-py*.egg-info #%{python_sitearch}/sane.py* %doc docs/COPYING #%files %{?pyappend:%pyappend-}devel #%defattr(-,root,root) #%{_includedir}/python%{python_version}/*.h #%files %{?pyappend:%pyappend-}tools #%defattr(-,root,root) #%{_bindir}/*.py %changelog * Thu Aug 08 2019 Silvan Calarco 6.1.0-1mamba - update to 6.1.0 * Thu Sep 13 2018 Silvan Calarco 5.2.0-1mamba - update to 5.2.0 * Tue Dec 13 2016 Silvan Calarco 3.4.2-1mamba - update to 3.4.2 * Sat May 16 2015 Silvan Calarco 2.6.1-2mamba - added python3 subpackage * Wed Oct 15 2014 Automatic Build System 2.6.1-1mamba - automatic update by autodist * Fri Sep 26 2014 Silvan Calarco 2.5.3-2mamba - install headers and provide a devel package * Wed Aug 20 2014 Automatic Build System 2.5.3-1mamba - automatic update by autodist * Sun Jul 13 2014 Silvan Calarco 2.4.0-3mamba - rebuilt by autoport with build requirements: libopenjpeg-devel>=2.1.0-1mamba * Sun May 25 2014 Silvan Calarco 2.4.0-2mamba - provide/obsolete python-Imaging * Wed May 21 2014 Silvan Calarco 2.4.0-1mamba - package created by silvan using the webbuild interface