Blame SPECS/sip6.spec

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