update to 3.4.2 [release 3.4.2-1mamba;Tue Dec 13 2016]
This commit is contained in:
parent
fb1b12e440
commit
38ba840ac4
@ -1,13 +1,14 @@
|
|||||||
Name: python-Pillow
|
Name: python-Pillow
|
||||||
Version: 2.6.1
|
Version: 3.4.2
|
||||||
Release: 2mamba
|
Release: 1mamba
|
||||||
Summary: Python Imaging Library (Fork)
|
Summary: Python Imaging Library (Fork)
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: https://pypi.python.org/pypi/Pillow
|
URL: https://pypi.python.org/pypi/Pillow
|
||||||
Source: https://pypi.python.org/packages/source/P/Pillow/Pillow-%{version}.zip
|
Source: http://pypi.debian.net/Pillow/Pillow-%{version}.tar.gz
|
||||||
|
#Source: https://pypi.debian.org/Pillow/Pillow-%{version}.zip
|
||||||
License: Standard PIL License
|
License: Standard PIL License
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
@ -46,6 +47,14 @@ Requires: %{name}-%{pyappend} = %{?epoch:%epoch:}%{version}-%{release}
|
|||||||
|
|
||||||
%description %{pyappend}-devel
|
%description %{pyappend}-devel
|
||||||
This package contains libraries and header files for developing applications that use %{name}.
|
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
|
%endif
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
@ -56,14 +65,22 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|||||||
%description devel
|
%description devel
|
||||||
This package contains libraries and header files for developing applications that use %{name}.
|
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
|
%prep
|
||||||
%setup -q -n Pillow-%{version}
|
%setup -q -n Pillow-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="%{optflags}" %{__python} setup.py build
|
CFLAGS="%{optflags}" %{__python} setup.py build
|
||||||
|
|
||||||
cd Sane
|
#cd Sane
|
||||||
CFLAGS="%{optflags}" %{__python} setup.py build
|
#CFLAGS="%{optflags}" %{__python} setup.py build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
@ -77,38 +94,42 @@ CFLAGS="%{optflags}" %{__python} setup.py build
|
|||||||
install -d -m0755 %{buildroot}%{_includedir}/python%{python_version}
|
install -d -m0755 %{buildroot}%{_includedir}/python%{python_version}
|
||||||
cp -a libImaging/*.h %{buildroot}%{_includedir}/python%{python_version}/
|
cp -a libImaging/*.h %{buildroot}%{_includedir}/python%{python_version}/
|
||||||
|
|
||||||
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
#sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
||||||
|
|
||||||
cd Sane
|
#cd Sane
|
||||||
%{__python} setup.py install \
|
#%{__python} setup.py install \
|
||||||
-O1 --skip-build \
|
# -O1 --skip-build \
|
||||||
--root="%{buildroot}" \
|
# --root="%{buildroot}" \
|
||||||
--install-headers=%{_includedir}/python \
|
# --install-headers=%{_includedir}/python \
|
||||||
--install-lib=%{python_sitearch} \
|
# --install-lib=%{python_sitearch} \
|
||||||
--record=%{name}.filelist
|
# --record=%{name}.filelist
|
||||||
|
|
||||||
%files %{?pyappend} -f %{name}.filelist
|
%files %{?pyappend} -f %{name}.filelist
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
%exclude %{_bindir}/*
|
||||||
%{python_sitearch}/PIL/_imagingcms*.so
|
%{python_sitearch}/PIL/_imagingcms*.so
|
||||||
%{python_sitearch}/PIL/_imagingft*.so
|
%{python_sitearch}/PIL/_imagingft*.so
|
||||||
%{python_sitearch}/PIL/_imagingmath*.so
|
%{python_sitearch}/PIL/_imagingmath*.so
|
||||||
%{python_sitearch}/PIL/_imagingmorph*.so
|
%{python_sitearch}/PIL/_imagingmorph*.so
|
||||||
%if "%{?pyappend}" == ""
|
|
||||||
%{python_sitearch}/PIL/_imagingtk*.so
|
%{python_sitearch}/PIL/_imagingtk*.so
|
||||||
%else
|
|
||||||
%{python_sitearch}/__pycache__/sane.cpython-*.py*
|
|
||||||
%endif
|
|
||||||
%{python_sitearch}/PIL/_webp*.so
|
%{python_sitearch}/PIL/_webp*.so
|
||||||
%{python_sitearch}/_sane*.so
|
#%{python_sitearch}/_sane*.so
|
||||||
%{python_sitearch}/pysane-2.0-py*.egg-info
|
#%{python_sitearch}/pysane-2.0-py*.egg-info
|
||||||
%{python_sitearch}/sane.py*
|
#%{python_sitearch}/sane.py*
|
||||||
%doc docs/COPYING docs/LICENSE
|
%doc docs/COPYING
|
||||||
|
|
||||||
%files %{?pyappend:%pyappend-}devel
|
%files %{?pyappend:%pyappend-}devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_includedir}/python%{python_version}/*.h
|
%{_includedir}/python%{python_version}/*.h
|
||||||
|
|
||||||
|
%files %{?pyappend:%pyappend-}tools
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_bindir}/*.py
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* 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
|
* Sat May 16 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.1-2mamba
|
||||||
- added python3 subpackage
|
- added python3 subpackage
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user