automatic version update by autodist [release 6.2.2-1mamba;Sun Apr 04 2021]
This commit is contained in:
parent
addab976fe
commit
b6fdede914
113
python-Pillow6.spec
Normal file
113
python-Pillow6.spec
Normal file
@ -0,0 +1,113 @@
|
||||
Name: python-Pillow6
|
||||
Version: 6.2.2
|
||||
Release: 1mamba
|
||||
Summary: Python Imaging Library (Fork)
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: https://pypi.python.org/pypi/Pillow
|
||||
Source: http://pypi.debian.net/Pillow/Pillow-%{version}.tar.gz
|
||||
License: Standard PIL License
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libfreetype-devel
|
||||
BuildRequires: libjpeg-devel
|
||||
BuildRequires: liblcms2-devel
|
||||
BuildRequires: libopenjpeg-devel
|
||||
BuildRequires: libpython27-devel
|
||||
BuildRequires: libtiff-devel
|
||||
BuildRequires: libwebp-devel
|
||||
BuildRequires: libz-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: libopenjpeg-devel >= 2.1.0-1mamba
|
||||
BuildRequires: python27-tk
|
||||
BuildRequires: libpython27-devel
|
||||
|
||||
%description
|
||||
%{summary}.
|
||||
|
||||
%package -n python-Pillow
|
||||
Summary: Python Imaging Library (Fork)
|
||||
Group: System/Libraries
|
||||
Provides: python-Imaging
|
||||
Obsoletes: python-Imaging <= 6.1.0
|
||||
Provides: python-Imaging-tk
|
||||
Obsoletes: python-Imaging-tk <= 6.1.0
|
||||
Provides: python-Imaging-sane
|
||||
Obsoletes: python-Imaging-sane <= 6.1.0
|
||||
|
||||
%description -n python-Pillow
|
||||
%{summary}.
|
||||
|
||||
%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}"
|
||||
%{__python27} 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
|
||||
|
||||
%files -n python-Pillow -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
|
||||
%dir %{python_sitearch}/Pillow-%{version}-py*.egg-info
|
||||
%{python_sitearch}/Pillow-%{version}-py*.egg-info/*
|
||||
%doc docs/COPYING
|
||||
|
||||
%changelog
|
||||
* Sun Apr 04 2021 Automatic Build System <autodist@mambasoft.it> 6.2.2-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sat Apr 03 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 6.1.0-2mamba
|
||||
- py27 legacy package
|
||||
|
||||
* Thu Aug 08 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 6.1.0-1mamba
|
||||
- update to 6.1.0
|
||||
|
||||
* Thu Sep 13 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 5.2.0-1mamba
|
||||
- update to 5.2.0
|
||||
|
||||
* Tue Dec 13 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 3.4.2-1mamba
|
||||
- update to 3.4.2
|
||||
|
||||
* Sat May 16 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.1-2mamba
|
||||
- added python3 subpackage
|
||||
|
||||
* Wed Oct 15 2014 Automatic Build System <autodist@mambasoft.it> 2.6.1-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
* Fri Sep 26 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.5.3-2mamba
|
||||
- install headers and provide a devel package
|
||||
|
||||
* Wed Aug 20 2014 Automatic Build System <autodist@mambasoft.it> 2.5.3-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
* 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
|
||||
|
||||
* 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
|
Loading…
Reference in New Issue
Block a user