2024-01-06 10:40:52 +01:00
|
|
|
Name: python-Pillow
|
2024-01-06 10:40:52 +01:00
|
|
|
Version: 9.0.0
|
2024-01-06 10:40:52 +01:00
|
|
|
Release: 1mamba
|
2024-01-06 10:40:52 +01:00
|
|
|
Summary: Python Imaging Library (Fork)
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 10:40:52 +01:00
|
|
|
URL: https://pypi.org/project/Pillow/
|
2024-01-06 10:40:52 +01:00
|
|
|
Source: http://pypi.debian.net/Pillow/Pillow-%{version}.tar.gz
|
2024-01-06 10:40:52 +01:00
|
|
|
License: Standard PIL License
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libfreetype-devel
|
|
|
|
BuildRequires: libjpeg-devel
|
|
|
|
BuildRequires: liblcms2-devel
|
2024-01-06 10:40:52 +01:00
|
|
|
BuildRequires: libopenjpeg-devel
|
|
|
|
BuildRequires: libpython3-devel
|
2024-01-06 10:40:52 +01:00
|
|
|
BuildRequires: libtiff-devel
|
|
|
|
BuildRequires: libwebp-devel
|
2024-01-06 10:40:52 +01:00
|
|
|
BuildRequires: libxcb-devel
|
2024-01-06 10:40:52 +01:00
|
|
|
BuildRequires: libz-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
|
|
|
|
%description
|
|
|
|
%{summary}.
|
|
|
|
|
2024-01-06 10:40:52 +01:00
|
|
|
%if "%{?with_pyver}"
|
|
|
|
%pyver_package
|
|
|
|
%endif
|
|
|
|
|
2024-01-06 10:40:52 +01:00
|
|
|
%prep
|
|
|
|
%setup -q -n Pillow-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
CFLAGS="%{optflags}" %{__python} setup.py build
|
|
|
|
|
2024-01-06 10:40:52 +01:00
|
|
|
#cd Sane
|
|
|
|
#CFLAGS="%{optflags}" %{__python} setup.py build
|
2024-01-06 10:40:52 +01:00
|
|
|
|
|
|
|
%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
|
|
|
|
|
2024-01-06 10:40:52 +01:00
|
|
|
install -d -m0755 %{buildroot}%{_includedir}/python%{python_version}
|
2024-01-06 10:40:52 +01:00
|
|
|
#cp -a libImaging/*.h %{buildroot}%{_includedir}/python%{python_version}/
|
2024-01-06 10:40:52 +01:00
|
|
|
|
2024-01-06 10:40:52 +01:00
|
|
|
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
2024-01-06 10:40:52 +01:00
|
|
|
|
2024-01-06 10:40:52 +01:00
|
|
|
%files %{?pyappend} -f %{name}.filelist
|
2024-01-06 10:40:52 +01:00
|
|
|
%defattr(-,root,root)
|
2024-01-06 10:40:52 +01:00
|
|
|
%{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
|
2024-01-06 10:40:52 +01:00
|
|
|
%dir %{python_sitearch}/Pillow-%{version}-py*.egg-info
|
|
|
|
%{python_sitearch}/Pillow-%{version}-py*.egg-info/*
|
2024-01-06 10:40:52 +01:00
|
|
|
%doc docs/COPYING
|
2024-01-06 10:40:52 +01:00
|
|
|
|
2024-01-06 10:40:52 +01:00
|
|
|
%changelog
|
2024-01-06 10:40:52 +01:00
|
|
|
* Mon Jan 03 2022 Automatic Build System <autodist@mambasoft.it> 9.0.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:40:52 +01:00
|
|
|
* Sat Oct 16 2021 Automatic Build System <autodist@mambasoft.it> 8.4.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:40:52 +01:00
|
|
|
* Fri Sep 03 2021 Automatic Build System <autodist@mambasoft.it> 8.3.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:40:52 +01:00
|
|
|
* Wed Jul 07 2021 Automatic Build System <autodist@mambasoft.it> 8.3.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:40:52 +01:00
|
|
|
* Thu Jul 01 2021 Automatic Build System <autodist@mambasoft.it> 8.3.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:40:52 +01:00
|
|
|
* Sat Apr 03 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 8.2.0-2mamba
|
|
|
|
- rebuilt with distdeps
|
2024-01-06 10:40:52 +01:00
|
|
|
|
2024-01-06 10:40:52 +01:00
|
|
|
* Fri Apr 02 2021 Automatic Build System <autodist@mambasoft.it> 8.2.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Mar 06 2021 Automatic Build System <autodist@mambasoft.it> 8.1.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Mar 02 2021 Automatic Build System <autodist@mambasoft.it> 8.1.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Feb 21 2021 Automatic Build System <autodist@mambasoft.it> 8.1.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Sep 30 2020 Automatic Build System <autodist@mambasoft.it> 7.2.0-1mamba
|
|
|
|
- automatic update by autodist
|
2024-01-06 10:40:52 +01:00
|
|
|
|
2024-01-06 10:40:52 +01:00
|
|
|
* Thu Aug 08 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 6.1.0-1mamba
|
|
|
|
- update to 6.1.0
|
|
|
|
|
2024-01-06 10:40:52 +01:00
|
|
|
* Thu Sep 13 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 5.2.0-1mamba
|
|
|
|
- update to 5.2.0
|
|
|
|
|
2024-01-06 10:40:52 +01:00
|
|
|
* Tue Dec 13 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 3.4.2-1mamba
|
|
|
|
- update to 3.4.2
|
|
|
|
|
2024-01-06 10:40:52 +01:00
|
|
|
* Sat May 16 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.1-2mamba
|
|
|
|
- added python3 subpackage
|
|
|
|
|
2024-01-06 10:40:52 +01:00
|
|
|
* Wed Oct 15 2014 Automatic Build System <autodist@mambasoft.it> 2.6.1-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 10:40:52 +01:00
|
|
|
* Fri Sep 26 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.5.3-2mamba
|
|
|
|
- install headers and provide a devel package
|
|
|
|
|
2024-01-06 10:40:52 +01:00
|
|
|
* Wed Aug 20 2014 Automatic Build System <autodist@mambasoft.it> 2.5.3-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 10:40:52 +01:00
|
|
|
* Sun Jul 13 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.0-3mamba
|
|
|
|
- rebuilt by autoport with build requirements: libopenjpeg-devel>=2.1.0-1mamba
|
|
|
|
|
2024-01-06 10:40:52 +01:00
|
|
|
* Sun May 25 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.0-2mamba
|
|
|
|
- provide/obsolete python-Imaging
|
|
|
|
|
|
|
|
* Wed May 21 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.0-1mamba
|
|
|
|
- package created by silvan using the webbuild interface
|