]>
Commit | Line | Data |
---|---|---|
f1c1a96a | 1 | Summary: SIP - Python/C++ Bindings Generator |
a931e7ef | 2 | Name: sip6 |
886681be | 3 | Version: 6.7.7 |
0a7892ba | 4 | Release: 1 |
f1c1a96a JR |
5 | License: GPL v2 |
6 | #Source0Download: https://pypi.org/project/sip/ | |
7 | Source0: https://files.pythonhosted.org/packages/source/s/sip/sip-%{version}.tar.gz | |
886681be | 8 | # Source0-md5: a131efd79649d31ee11601b19d1e3784 |
f1c1a96a | 9 | URL: https://www.riverbankcomputing.com/software/sip |
f1c1a96a JR |
10 | BuildRequires: python3-devel |
11 | BuildRequires: python3-setuptools | |
82681571 | 12 | BuildRequires: rpmbuild(macros) >= 1.714 |
25159992 JP |
13 | Obsoletes: python-sip < 6 |
14 | Obsoletes: python-sip-devel < 6 | |
15 | Obsoletes: python-PyQt5-sip < 6 | |
16 | Obsoletes: python-PyQt5-sip-devel < 6 | |
17 | Obsoletes: python3-sip < 6 | |
18 | Obsoletes: python3-sip-devel < 6 | |
19 | Obsoletes: python3-PyQt5-sip < 6 | |
20 | Obsoletes: python3-PyQt5-sip-devel < 6 | |
76f41a74 | 21 | Obsoletes: sip < 6 |
a931e7ef | 22 | Obsoletes: sip5 < 6 |
f1c1a96a JR |
23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
24 | ||
25 | %description | |
26 | SIP is a collection of tools that makes it very easy to create Python | |
27 | bindings for C and C++ libraries. It was originally developed in 1998 | |
28 | to create PyQt, the Python bindings for the Qt toolkit, but can be | |
29 | used to create bindings for any C or C++ library. For example it is | |
30 | also used to generate wxPython, the Python bindings for wxWidgets. | |
31 | ||
32 | %prep | |
33 | %setup -q -n sip-%{version} | |
f1c1a96a JR |
34 | |
35 | %build | |
36 | %py3_build | |
37 | ||
38 | %install | |
39 | rm -rf $RPM_BUILD_ROOT | |
40 | %py3_install | |
41 | ||
f1c1a96a JR |
42 | %clean |
43 | rm -rf $RPM_BUILD_ROOT | |
44 | ||
45 | %files | |
46 | %defattr(644,root,root,755) | |
47 | %doc README | |
48 | %attr(755,root,root) %{_bindir}/sip* | |
49 | %dir %{py3_sitedir}/sipbuild | |
50 | %{py3_sitedir}/sip-%{version}-py*.egg-info | |
51 | %{py3_sitedir}/sipbuild/*.py | |
52 | %attr(755,root,root) %{py3_sitedir}/sipbuild/*.so | |
53 | %{py3_sitedir}/sipbuild/__pycache__ | |
54 | %dir %{py3_sitedir}/sipbuild/distinfo | |
55 | %{py3_sitedir}/sipbuild/distinfo/*.py | |
56 | %{py3_sitedir}/sipbuild/distinfo/__pycache__ | |
a931e7ef | 57 | %{py3_sitedir}/sipbuild/generator/*.py |
10e12fae | 58 | %dir %{py3_sitedir}/sipbuild/generator |
a931e7ef | 59 | %{py3_sitedir}/sipbuild/generator/__pycache__ |
0a7892ba JP |
60 | %dir %{py3_sitedir}/sipbuild/generator/outputs |
61 | %{py3_sitedir}/sipbuild/generator/outputs/*.py | |
62 | %{py3_sitedir}/sipbuild/generator/outputs/__pycache__ | |
63 | %dir %{py3_sitedir}/sipbuild/generator/outputs/formatters | |
64 | %{py3_sitedir}/sipbuild/generator/outputs/formatters/*.py | |
65 | %{py3_sitedir}/sipbuild/generator/outputs/formatters/__pycache__ | |
10e12fae | 66 | %dir %{py3_sitedir}/sipbuild/generator/parser |
a931e7ef JR |
67 | %{py3_sitedir}/sipbuild/generator/parser/*.py |
68 | %{py3_sitedir}/sipbuild/generator/parser/__pycache__ | |
0a7892ba JP |
69 | %dir %{py3_sitedir}/sipbuild/generator/resolver |
70 | %{py3_sitedir}/sipbuild/generator/resolver/*.py | |
71 | %{py3_sitedir}/sipbuild/generator/resolver/__pycache__ | |
f1c1a96a JR |
72 | %dir %{py3_sitedir}/sipbuild/module |
73 | %{py3_sitedir}/sipbuild/module/*.py | |
74 | %{py3_sitedir}/sipbuild/module/__pycache__ | |
75 | %dir %{py3_sitedir}/sipbuild/tools | |
76 | %{py3_sitedir}/sipbuild/tools/*.py | |
77 | %{py3_sitedir}/sipbuild/tools/__pycache__ | |
518cbfe2 | 78 | %{py3_sitedir}/sipbuild/module/source |