install headers and provide a devel package [release 2.5.3-2mamba;Fri Sep 26 2014]
This commit is contained in:
parent
9bec4266f7
commit
9ed26af5b9
@ -1,6 +1,6 @@
|
|||||||
Name: python-Pillow
|
Name: python-Pillow
|
||||||
Version: 2.5.3
|
Version: 2.5.3
|
||||||
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,14 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|||||||
%description
|
%description
|
||||||
%{summary}.
|
%{summary}.
|
||||||
|
|
||||||
|
%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}.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n Pillow-%{version}
|
%setup -q -n Pillow-%{version}
|
||||||
|
|
||||||
@ -54,6 +62,9 @@ CFLAGS="%{optflags}" %{__python} setup.py build
|
|||||||
--install-lib=%{python_sitearch} \
|
--install-lib=%{python_sitearch} \
|
||||||
--record=%{name}.filelist
|
--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
|
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
||||||
|
|
||||||
cd Sane
|
cd Sane
|
||||||
@ -75,8 +86,16 @@ cd Sane
|
|||||||
%{python_sitearch}/_sane.so
|
%{python_sitearch}/_sane.so
|
||||||
%{python_sitearch}/pysane-2.0-py2.7.egg-info
|
%{python_sitearch}/pysane-2.0-py2.7.egg-info
|
||||||
%{python_sitearch}/sane.py*
|
%{python_sitearch}/sane.py*
|
||||||
|
%doc docs/COPYING docs/LICENSE
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_includedir}/python%{python_version}/*.h
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* 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
|
* Wed Aug 20 2014 Automatic Build System <autodist@mambasoft.it> 2.5.3-1mamba
|
||||||
- automatic update by autodist
|
- automatic update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user