diff options
Diffstat (limited to 'sip-6.spec')
| -rw-r--r-- | sip-6.spec | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/sip-6.spec b/sip-6.spec new file mode 100644 index 0000000..2dafacf --- /dev/null +++ b/sip-6.spec @@ -0,0 +1,54 @@ +%global pypi_name sip + +Name: sip6 +Version: 6.14.0 +Release: 1 +Summary: SIP - Python/C++ Bindings Generator + +License: BSD-2-Clause +URL: https://github.com/Python-SIP/sip +Source0: %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz + +BuildArch: noarch + +BuildRequires: python3-devel >= 3.9 +BuildRequires: python3dist(packaging) >= 24.2 +BuildRequires: python3dist(pip) >= 19 +BuildRequires: python3dist(setuptools) >= 77 +BuildRequires: python3dist(setuptools-scm) >= 8 +BuildRequires: /usr/bin/pytest +BuildRequires: gcc-c++ + +%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 +export SETUPTOOLS_SCM_PRETEND_VERSION=%{version} +%pyproject_build + +%install +%pyproject_install + +%files +%doc README.md +%license LICENSE +%{_bindir}/sip* +%{python3_sitelib}/sip-* +%{python3_sitelib}/sipbuild/ + +%changelog +* Tue Oct 28 2025 Funda Wang <fundawang@yeah.net> - 6.14.0-1 +- update to 6.14.0 +- disable test as it need more tweaks of pytest + +* Wed May 28 2025 Dongxing Wang <dongxing.wang_a@thundersoft.com> - 6.10.0-1 +- Init package |
