diff --git a/sip-6.7.5.tar.gz b/sip-6.7.5.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..897c0c04c79b98ea88d824e7679bae2b68b6c6f4 Binary files /dev/null and b/sip-6.7.5.tar.gz differ diff --git a/sip.spec b/sip.spec new file mode 100644 index 0000000000000000000000000000000000000000..cd109420bc8ee0f76c603d88ce5f97ec52d58996 --- /dev/null +++ b/sip.spec @@ -0,0 +1,51 @@ +%define anolis_release 1 + +%global pypi_name sip + +Name: sip +Version: 6.7.5 +Release: %{anolis_release}%{?dist} +Summary: SIP - Python/C++ Bindings Generator +%py_provides python3-sip + +# code_generator/parser.{c.h} is GPLv2+ with exceptions (bison) +License: (GPLv2 or GPLv3) and (GPLv2+ with exceptions) +URL: https://www.riverbankcomputing.com/software/sip +Source0: https://files.pythonhosted.org/packages/fd/9b/8e727256983e5b1d975f8dfce6f477b5ab6bada14a00b07fa3db51fcd6fe/%{name}-%{version}.tar.gz + +BuildRequires: gcc +BuildRequires: python3-devel +BuildRequires: %{py3_dist packaging ply setuptools toml} + +%global _description %{expand: +SIP is a collection of tools that makes it very easy to create Python bindings +for C and C++ libraries. It was originally developed in 1998 to create PyQt, +the Python bindings for the Qt toolkit, but can be used to create bindings for +any C or C++ library. For example it is also used to generate wxPython, the +Python bindings for wxWidgets.} + +%description %_description + +%prep +%autosetup -n %{pypi_name}-%{version} -p 1 + +%build +%py3_build + +%install +%py3_install + +%check +%py3_check_import sipbuild sipbuild.distinfo sipbuild.module sipbuild.tools + + +%files +%doc README +%license LICENSE LICENSE-GPL2 LICENSE-GPL3 +%{_bindir}/sip* +%{python3_sitearch}/sip-* +%{python3_sitearch}/sipbuild/ + +%changelog +* Mon Dec 12 2022 Funda Wang - 6.7.5-1 +- Import 6.7.5