333 lines
12 KiB
RPMSpec
333 lines
12 KiB
RPMSpec
Name: python-sip
|
|
Version: 6.5.0
|
|
Release: 1mamba
|
|
Summary: Python extension module generator for C and C++ libraries
|
|
Group: System/Libraries/Python
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://www.riverbankcomputing.com/software/sip
|
|
Source: https://pypi.debian.net/sip/sip-%{version}.tar.gz
|
|
#Source: https://www.riverbankcomputing.com/static/Downloads/sip/%{version}/sip-%{version}.tar.gz
|
|
#Source: http://sourceforge.net/projects/pyqt/files/sip/sip-%{version}/sip-%{version}.tar.gz
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libpython3-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: libpython3-devel >= 3.7.4
|
|
|
|
%description
|
|
SIP is an extension module generator similar to SWIG but is specifically designed for creating Python modules.
|
|
|
|
%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
|
|
Provides: python-sip-%{?with_pyver:py%{with_pyver}-}devel
|
|
Obsoletes: python-sip-%{?with_pyver:py%{with_pyver}-}devel
|
|
Obsoletes: python-sip-py36 < 5.5.0
|
|
Requires: sip = %{?epoch:%epoch:}%{version}-%{release}
|
|
%py_requires
|
|
|
|
%description py%{pyver}
|
|
SIP is an extension module generator similar to SWIG but is specifically designed for creating Python modules.
|
|
%endif
|
|
|
|
%package -n sip
|
|
Group: Development/Tools
|
|
Summary: Python %{pyver} extension module generator for C and C++ libraries
|
|
Requires: python-toml-py%{pyver}
|
|
|
|
%description -n sip
|
|
SIP is an extension module generator similar to SWIG but is specifically designed for creating Python modules.
|
|
This package provides the sip tool and documentation.
|
|
|
|
%prep
|
|
%setup -q -n sip-%{version}
|
|
|
|
%build
|
|
CFLAGS="%{optflags}" %{__python} setup.py build
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%{__python} setup.py install \
|
|
-O1 --skip-build \
|
|
--root="%{buildroot}" \
|
|
--install-headers=%{python_inc} \
|
|
--install-lib=%{python_sitearch} \
|
|
--record=%{name}.filelist
|
|
|
|
sed -i "s,.*/man/.*,&.gz," %{name}.filelist
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%posttrans %{?with_pyver:py%{pyver}}
|
|
# cleanup of empty egg-info dirs
|
|
find %{python_sitearch}/*.egg-info -type d -empty -delete > /dev/null || true
|
|
:
|
|
|
|
%files %{?with_pyver:py%{pyver}} -f %{name}.filelist
|
|
%defattr(-,root,root)
|
|
%exclude %{_bindir}/*
|
|
%doc LICENSE LICENSE-GPL2 LICENSE-GPL3
|
|
|
|
%files -n sip
|
|
%defattr(-,root,root)
|
|
#%{_bindir}/sip5
|
|
%{_bindir}/sip-*
|
|
#%doc NEWS README
|
|
#%doc doc/*
|
|
|
|
%changelog
|
|
* Thu Dec 02 2021 Automatic Build System <autodist@mambasoft.it> 6.5.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Oct 28 2021 Automatic Build System <autodist@mambasoft.it> 6.4.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Oct 14 2021 Automatic Build System <autodist@mambasoft.it> 6.3.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Oct 14 2021 Automatic Build System <autodist@mambasoft.it> 6.3.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Oct 04 2021 Automatic Build System <autodist@mambasoft.it> 6.2.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Jun 15 2021 Automatic Build System <autodist@mambasoft.it> 6.1.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed May 12 2021 Automatic Build System <autodist@mambasoft.it> 6.1.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Mar 11 2021 Automatic Build System <autodist@mambasoft.it> 6.0.3-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Feb 25 2021 Automatic Build System <autodist@mambasoft.it> 6.0.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Feb 10 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 6.0.1-1mamba
|
|
- update to 6.0.1
|
|
|
|
* Wed Feb 10 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.5.0-1mamba
|
|
- update to 5.5.0
|
|
|
|
* Sun Oct 25 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 5.4.0-3mamba
|
|
- fix posttrans package in previous release
|
|
|
|
* Sun Oct 25 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 5.4.0-2mamba
|
|
- fix startup by applying cleanup of all empty egg-info directories in posttrans
|
|
|
|
* Sat Oct 24 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 5.4.0-1mamba
|
|
- update to 5.4.0
|
|
|
|
* Fri Apr 10 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 5.1.2-1mamba
|
|
- update to 5.1.2
|
|
|
|
* Mon Oct 28 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 4.19.19-2mamba
|
|
- package sip binary apart to fix conflicts beteen -devel packages
|
|
|
|
* Sat Oct 26 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 4.19.19-1mamba
|
|
- update to 4.19.19
|
|
|
|
* Thu Aug 08 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 4.19.18-2mamba
|
|
- rebuilt with python3 3.7.4
|
|
|
|
* Fri Aug 02 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 4.19.18-1mamba
|
|
- update to 4.19.18
|
|
|
|
* Sun Jan 06 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 4.19.13-2mamba
|
|
- restore build of PtQt4 module
|
|
|
|
* Fri Oct 05 2018 Automatic Build System <autodist@mambasoft.it> 4.19.13-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Sep 19 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 4.19.12-2mamba
|
|
- rebuilt also with python36
|
|
|
|
* Thu Jul 19 2018 Automatic Build System <autodist@mambasoft.it> 4.19.12-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Apr 14 2018 Automatic Build System <autodist@mambasoft.it> 4.19.8-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Jan 27 2018 Automatic Build System <autodist@mambasoft.it> 4.19.7-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Dec 27 2017 Automatic Build System <autodist@mambasoft.it> 4.19.6-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Nov 08 2017 Automatic Build System <autodist@mambasoft.it> 4.19.5-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Aug 09 2017 Automatic Build System <autodist@mambasoft.it> 4.19.3-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Mar 05 2017 Automatic Build System <autodist@mambasoft.it> 4.19.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Jan 25 2017 Automatic Build System <autodist@mambasoft.it> 4.19-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri Sep 23 2016 Automatic Build System <autodist@mambasoft.it> 4.18.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Apr 20 2016 Automatic Build System <autodist@mambasoft.it> 4.18-2mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Apr 20 2016 Automatic Build System <autodist@mambasoft.it> 4.18-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri Mar 11 2016 Automatic Build System <autodist@mambasoft.it> 4.17-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Jan 26 2016 Automatic Build System <autodist@mambasoft.it> 4.16.9-2mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Jan 26 2016 Automatic Build System <autodist@mambasoft.it> 4.16.9-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Mar 31 2015 Automatic Build System <autodist@mambasoft.it> 4.16.7-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Sun Mar 01 2015 Automatic Build System <autodist@mambasoft.it> 4.16.6-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Dec 25 2014 Automatic Build System <autodist@mambasoft.it> 4.16.5-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* 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
|
|
- automatic version update by autodist
|
|
|
|
* Thu Mar 27 2014 Automatic Build System <autodist@mambasoft.it> 4.15.5-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Jan 09 2014 Automatic Build System <autodist@mambasoft.it> 4.15.4-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Oct 16 2013 Automatic Build System <autodist@mambasoft.it> 4.15.3-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Sep 30 2013 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 4.15.2-1mamba
|
|
- update to 4.15.2
|
|
|
|
* Tue Jun 18 2013 Automatic Build System <autodist@mambasoft.it> 4.14.7-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri May 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 4.14.6-2mamba
|
|
- rebuilt with python 2.7
|
|
|
|
* Mon Apr 22 2013 Automatic Build System <autodist@mambasoft.it> 4.14.6-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Mar 28 2013 Automatic Build System <autodist@mambasoft.it> 4.14.5-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Mar 09 2013 Automatic Build System <autodist@mambasoft.it> 4.14.4-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Feb 25 2013 Automatic Build System <autodist@mambasoft.it> 4.14.3-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Dec 09 2012 Automatic Build System <autodist@mambasoft.it> 4.14.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri Nov 02 2012 Automatic Build System <autodist@mambasoft.it> 4.14.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Oct 18 2012 Automatic Build System <autodist@mambasoft.it> 4.14-1mamba
|
|
- update to 4.14
|
|
|
|
* Sat Aug 11 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 4.13.3-1mamba
|
|
- update to 4.13.3
|
|
|
|
* Wed Jun 13 2012 Automatic Build System <autodist@mambasoft.it> 4.13.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Aug 21 2011 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 4.12.4-1mamba
|
|
- update to 4.12.4
|
|
|
|
* Sun Jun 19 2011 Automatic Build System <autodist@mambasoft.it> 4.12.3-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Wed May 18 2011 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 4.12.2-1mamba
|
|
- update to 4.12.2
|
|
|
|
* Tue Feb 01 2011 Automatic Build System <autodist@mambasoft.it> 4.12.1-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Fri Dec 31 2010 Automatic Build System <autodist@mambasoft.it> 4.12-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Sat Oct 30 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 4.11.2-2mamba
|
|
- rebuilt with libqt 4.7.0
|
|
|
|
* Thu Oct 28 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 4.11.2-1mamba
|
|
- update to 4.11.2
|
|
|
|
* Sun Oct 03 2010 Automatic Build System <autodist@mambasoft.it> 4.11.1-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Mon Aug 16 2010 Automatic Build System <autodist@mambasoft.it> 4.10.5-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Tue Jul 13 2010 Automatic Build System <autodist@mambasoft.it> 4.10.3-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Wed May 05 2010 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 4.10.2-1mamba
|
|
- update to 4.10.2
|
|
|
|
* Fri Apr 02 2010 Davide Madrisan <davide.madrisan@gmail.com> 4.10.1-1mamba
|
|
- update to 4.10.1
|
|
|
|
* Tue Mar 09 2010 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 4.10-2mamba
|
|
- added devel package
|
|
|
|
* Tue Jan 26 2010 Automatic Build System <autodist@mambasoft.it> 4.10-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Wed Oct 28 2009 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 4.9.1-1mamba
|
|
- update to 4.9.1
|
|
|
|
* Wed Aug 12 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 4.8.2-1mamba
|
|
- update to 4.8.2
|
|
|
|
* Fri Dec 05 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 4.7.9-1mamba
|
|
- update to 4.7.9
|
|
|
|
* Mon Nov 10 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 4.7.8-1mamba
|
|
- update to 4.7.8
|
|
|
|
* Wed Aug 13 2008 gil <puntogil@libero.it> 4.7.7-1mamba
|
|
- update to 4.7.7
|
|
|
|
* Fri May 09 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 4.7.4-1mamba
|
|
- update to 4.7.4
|
|
|
|
* Fri Oct 05 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 4.7.1-1mamba
|
|
- update to 4.7.1
|
|
|
|
* Mon Jul 10 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 4.4.5-1qilnx
|
|
- package created by autospec
|