added python3 subpackage [release 2.6.1-2mamba;Sat May 16 2015]

This commit is contained in:
Silvan Calarco 2024-01-06 10:40:52 +01:00
parent 4249acda55
commit fb1b12e440

View File

@ -1,6 +1,6 @@
Name: python-Pillow Name: python-Pillow
Version: 2.6.1 Version: 2.6.1
Release: 1mamba Release: 2mamba
Summary: Python Imaging Library (Fork) Summary: Python Imaging Library (Fork)
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
@ -36,6 +36,18 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
%{summary}. %{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}.
%endif
%package devel %package devel
Group: Development/Libraries Group: Development/Libraries
Summary: Development files for %{name} Summary: Development files for %{name}
@ -75,24 +87,31 @@ cd Sane
--install-lib=%{python_sitearch} \ --install-lib=%{python_sitearch} \
--record=%{name}.filelist --record=%{name}.filelist
%files -f %{name}.filelist %files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root) %defattr(-,root,root)
%{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
%{python_sitearch}/PIL/_imagingtk.so %if "%{?pyappend}" == ""
%{python_sitearch}/PIL/_webp.so %{python_sitearch}/PIL/_imagingtk*.so
%{python_sitearch}/_sane.so %else
%{python_sitearch}/pysane-2.0-py2.7.egg-info %{python_sitearch}/__pycache__/sane.cpython-*.py*
%endif
%{python_sitearch}/PIL/_webp*.so
%{python_sitearch}/_sane*.so
%{python_sitearch}/pysane-2.0-py*.egg-info
%{python_sitearch}/sane.py* %{python_sitearch}/sane.py*
%doc docs/COPYING docs/LICENSE %doc docs/COPYING docs/LICENSE
%files devel %files %{?pyappend:%pyappend-}devel
%defattr(-,root,root) %defattr(-,root,root)
%{_includedir}/python%{python_version}/*.h %{_includedir}/python%{python_version}/*.h
%changelog %changelog
* 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 * Wed Oct 15 2014 Automatic Build System <autodist@mambasoft.it> 2.6.1-1mamba
- automatic update by autodist - automatic update by autodist