From f655d0d244b8b9e0a402f2c26ab4710ec1123b9c Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Sep 27 2022 10:05:30 +0000 Subject: import sip6-6.5.1-1.el9 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c801f15 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/sip-6.5.1.tar.gz diff --git a/.sip6.metadata b/.sip6.metadata new file mode 100644 index 0000000..52351b1 --- /dev/null +++ b/.sip6.metadata @@ -0,0 +1 @@ +543f8c906d8c2a918fceef116aa17747a793e5cc SOURCES/sip-6.5.1.tar.gz diff --git a/SPECS/sip6.spec b/SPECS/sip6.spec new file mode 100644 index 0000000..77ae9be --- /dev/null +++ b/SPECS/sip6.spec @@ -0,0 +1,50 @@ +%global pypi_name sip + +Name: sip6 +Version: 6.5.1 +Release: 1%{?dist} +Summary: SIP - Python/C++ Bindings Generator +%py_provides python3-sip6 + +# 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: %{pypi_source} + +BuildRequires: gcc +BuildRequires: python3-devel +BuildRequires: %{py3_dist 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 +* Tue Apr 19 2022 Jan Grulich - 6.5.1-1 +- Initial package + Resolves: bz#2071748