|
|
abc2b0 |
%global pypi_name sip
|
|
|
abc2b0 |
|
|
|
abc2b0 |
Name: sip6
|
|
|
abc2b0 |
Version: 6.5.1
|
|
|
abc2b0 |
Release: 1%{?dist}
|
|
|
abc2b0 |
Summary: SIP - Python/C++ Bindings Generator
|
|
|
abc2b0 |
%py_provides python3-sip6
|
|
|
abc2b0 |
|
|
|
abc2b0 |
# code_generator/parser.{c.h} is GPLv2+ with exceptions (bison)
|
|
|
abc2b0 |
License: (GPLv2 or GPLv3) and (GPLv2+ with exceptions)
|
|
|
abc2b0 |
URL: https://www.riverbankcomputing.com/software/sip
|
|
|
abc2b0 |
Source0: %{pypi_source}
|
|
|
abc2b0 |
|
|
|
abc2b0 |
BuildRequires: gcc
|
|
|
abc2b0 |
BuildRequires: python3-devel
|
|
|
abc2b0 |
BuildRequires: %{py3_dist setuptools toml}
|
|
|
abc2b0 |
|
|
|
abc2b0 |
%global _description %{expand:
|
|
|
abc2b0 |
SIP is a collection of tools that makes it very easy to create Python bindings
|
|
|
abc2b0 |
for C and C++ libraries. It was originally developed in 1998 to create PyQt,
|
|
|
abc2b0 |
the Python bindings for the Qt toolkit, but can be used to create bindings for
|
|
|
abc2b0 |
any C or C++ library. For example it is also used to generate wxPython, the
|
|
|
abc2b0 |
Python bindings for wxWidgets.}
|
|
|
abc2b0 |
|
|
|
abc2b0 |
%description %_description
|
|
|
abc2b0 |
|
|
|
abc2b0 |
%prep
|
|
|
abc2b0 |
%autosetup -n %{pypi_name}-%{version} -p 1
|
|
|
abc2b0 |
|
|
|
abc2b0 |
%build
|
|
|
abc2b0 |
%py3_build
|
|
|
abc2b0 |
|
|
|
abc2b0 |
%install
|
|
|
abc2b0 |
%py3_install
|
|
|
abc2b0 |
|
|
|
abc2b0 |
%check
|
|
|
abc2b0 |
%py3_check_import sipbuild sipbuild.distinfo sipbuild.module sipbuild.tools
|
|
|
abc2b0 |
|
|
|
abc2b0 |
|
|
|
abc2b0 |
%files
|
|
|
abc2b0 |
%doc README
|
|
|
abc2b0 |
%license LICENSE LICENSE-GPL2 LICENSE-GPL3
|
|
|
abc2b0 |
%{_bindir}/sip*
|
|
|
abc2b0 |
%{python3_sitearch}/sip-*
|
|
|
abc2b0 |
%{python3_sitearch}/sipbuild/
|
|
|
abc2b0 |
|
|
|
abc2b0 |
%changelog
|
|
|
abc2b0 |
* Tue Apr 19 2022 Jan Grulich <jgrulich@redhat.com> - 6.5.1-1
|
|
|
abc2b0 |
- Initial package
|
|
|
abc2b0 |
Resolves: bz#2071748
|