update to 4.16.4 [release 4.16.4-1mamba;Fri Nov 14 2014]
This commit is contained in:
parent
0642170339
commit
001a96d20d
@ -1,5 +1,5 @@
|
|||||||
Name: python-sip
|
Name: python-sip
|
||||||
Version: 4.16.1
|
Version: 4.16.4
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: Python extension module generator for C and C++ libraries
|
Summary: Python extension module generator for C and C++ libraries
|
||||||
Group: System/Libraries/Python
|
Group: System/Libraries/Python
|
||||||
@ -21,22 +21,41 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|||||||
%description
|
%description
|
||||||
SIP is an extension module generator similar to SWIG but is specifically designed for creating Python modules.
|
SIP is an extension module generator similar to SWIG but is specifically designed for creating Python modules.
|
||||||
|
|
||||||
%package devel
|
%package %{?with_pyver:py%{with_pyver}-}devel
|
||||||
Summary: Development files for SIP
|
Summary: Development files for SIP
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
|
||||||
%description devel
|
%description %{?with_pyver:py%{with_pyver}-}devel
|
||||||
SIP is an extension module generator similar to SWIG but is specifically designed for creating Python modules.
|
SIP is an extension module generator similar to SWIG but is specifically designed for creating Python modules.
|
||||||
|
|
||||||
This package contains header files need for development.
|
This package contains header files need for development.
|
||||||
|
|
||||||
|
%if "%?with_pyver"
|
||||||
|
%define pyver %{with_pyver}
|
||||||
|
%define __python %(rpm --eval %{__python%{with_pyver}})
|
||||||
|
%define python_sitearch %(rpm --eval %{python%{with_pyver}_sitearch})
|
||||||
|
%define python_sitelib %(rpm --eval %{python%{with_pyver}_sitelib})
|
||||||
|
%define python_inc %(rpm --eval %{python%{with_pyver}_inc})
|
||||||
|
%define python_version %(rpm --eval %{python%{with_pyver}_version})
|
||||||
|
%define python_provides %(rpm --eval %{python%{with_pyver}_provides})
|
||||||
|
%define python_requires %(rpm --eval %{python%{with_pyver}_requires})
|
||||||
|
%define py_requires %(rpm --eval %{py%{with_pyver}_requires})
|
||||||
|
|
||||||
|
%package py%{pyver}
|
||||||
|
Group: System/Libraries/Python
|
||||||
|
Summary: Python %{pyver} extension module generator for C and C++ libraries
|
||||||
|
%py_requires
|
||||||
|
|
||||||
|
%description py%{pyver}
|
||||||
|
SIP is an extension module generator similar to SWIG but is specifically designed for creating Python modules.
|
||||||
|
%endif
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n sip-%{version}
|
%setup -q -n sip-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__python27} configure.py CXXFLAGS="%{optflags}" CFLAGS="%{optflags}" \
|
%{__python} configure.py CXXFLAGS="%{optflags}" CFLAGS="%{optflags}" \
|
||||||
-d %{python27_sitearch}
|
-d %{python_sitearch}
|
||||||
|
|
||||||
%make
|
%make
|
||||||
|
|
||||||
@ -49,21 +68,34 @@ install -d -m0755 %{buildroot}%{_datadir}/sip
|
|||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
%files
|
%files %{?with_pyver:py%{pyver}}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{python27_sitearch}/*.so
|
%{python_sitearch}/*.so
|
||||||
%doc LICENSE*
|
%doc LICENSE*
|
||||||
|
|
||||||
%files devel
|
%files %{?with_pyver:py%{pyver}-}devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/sip
|
%{_bindir}/sip
|
||||||
%dir %{_datadir}/sip
|
%dir %{_datadir}/sip
|
||||||
%{_includedir}/python%{python27_version}/sip.h
|
%if "%?with_pyver"
|
||||||
%{python27_sitearch}/*.py
|
%{python3_inc}/sip.h
|
||||||
|
%else
|
||||||
|
%{_includedir}/python%{python_version}/sip.h
|
||||||
|
%endif
|
||||||
|
%{python_sitearch}/*.py
|
||||||
%doc NEWS README
|
%doc NEWS README
|
||||||
%doc doc/*
|
%doc doc/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Nov 14 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 4.16.4-1mamba
|
||||||
|
- update to 4.16.4
|
||||||
|
|
||||||
|
* Fri Nov 14 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 4.16.3-2mamba
|
||||||
|
- -py3 support
|
||||||
|
|
||||||
|
* Sun Sep 21 2014 Automatic Build System <autodist@mambasoft.it> 4.16.3-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
* Sat Jun 14 2014 Automatic Build System <autodist@mambasoft.it> 4.16.1-1mamba
|
* Sat Jun 14 2014 Automatic Build System <autodist@mambasoft.it> 4.16.1-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user