Blame SPECS/sip6.spec

abc2b0
%global pypi_name sip
abc2b0
abc2b0
Name:           sip6
fc698e
Version:        6.6.2
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}
fc698e
Patch0:         323d39a2d602
abc2b0
abc2b0
BuildRequires:  gcc
abc2b0
BuildRequires:  python3-devel
fc698e
BuildRequires:  %{py3_dist packaging ply 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
fc698e
* Mon Oct 24 2022 Jan Grulich <jgrulich@redhat.com> - 6.6.2-1
fc698e
- 6.6.2
fc698e
  Resolves: bz#2118862
fc698e
abc2b0
* Tue Apr 19 2022 Jan Grulich <jgrulich@redhat.com> - 6.5.1-1
abc2b0
- Initial package
abc2b0
  Resolves: bz#2071748