]>
Commit | Line | Data |
---|---|---|
f1c1a96a | 1 | Summary: SIP - Python/C++ Bindings Generator |
a8d1b059 | 2 | Summary(pl.UTF-8): SIP - generator wiązań Python/C++ |
f1c1a96a JR |
3 | Name: sip5 |
4 | Version: 5.5.0 | |
28ff92c4 | 5 | Release: 5 |
f1c1a96a | 6 | License: GPL v2 |
a8d1b059 | 7 | #Source0Download: https://pypi.org/simple/sip/ |
f1c1a96a JR |
8 | Source0: https://files.pythonhosted.org/packages/source/s/sip/sip-%{version}.tar.gz |
9 | # Source0-md5: 657c52aff0a180fc0f481e210bc9a2ba | |
f1c1a96a | 10 | Patch0: python3.10.patch |
a8d1b059 JB |
11 | URL: https://www.riverbankcomputing.com/software/sip |
12 | BuildRequires: python3-devel >= 1:3.5 | |
f1c1a96a JR |
13 | BuildRequires: python3-setuptools |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
15 | ||
16 | %description | |
17 | SIP is a collection of tools that makes it very easy to create Python | |
18 | bindings for C and C++ libraries. It was originally developed in 1998 | |
19 | to create PyQt, the Python bindings for the Qt toolkit, but can be | |
20 | used to create bindings for any C or C++ library. For example it is | |
21 | also used to generate wxPython, the Python bindings for wxWidgets. | |
22 | ||
a8d1b059 JB |
23 | %description -l pl.UTF-8 |
24 | SIP to zbiór narzędzi ułatwiających tworzenie wiązań Pythona do | |
25 | bibliotek C i C++. Pierwotnie powstał w 1998 roku, aby stworzyć PyQt - | |
26 | wiązań Pythona do biblioteki Qt, ale może być używany do tworzenia | |
27 | wiązań do dowolnej biblioteki C lub C++. Jest używana także np. do | |
28 | generowania wxPythona - wiązań Pythona do wxWidgets. | |
29 | ||
f1c1a96a JR |
30 | %prep |
31 | %setup -q -n sip-%{version} | |
32 | %patch0 -p1 | |
33 | ||
34 | %build | |
35 | %py3_build | |
36 | ||
37 | %install | |
38 | rm -rf $RPM_BUILD_ROOT | |
a8d1b059 | 39 | |
f1c1a96a JR |
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 | |
a8d1b059 JB |
48 | %attr(755,root,root) %{_bindir}/sip-build |
49 | %attr(755,root,root) %{_bindir}/sip-distinfo | |
50 | %attr(755,root,root) %{_bindir}/sip-install | |
51 | %attr(755,root,root) %{_bindir}/sip-module | |
52 | %attr(755,root,root) %{_bindir}/sip-sdist | |
53 | %attr(755,root,root) %{_bindir}/sip-wheel | |
54 | %attr(755,root,root) %{_bindir}/sip5 | |
f1c1a96a | 55 | %{py3_sitedir}/sip-%{version}-py*.egg-info |
a8d1b059 | 56 | %dir %{py3_sitedir}/sipbuild |
f1c1a96a JR |
57 | %{py3_sitedir}/sipbuild/*.py |
58 | %attr(755,root,root) %{py3_sitedir}/sipbuild/*.so | |
59 | %{py3_sitedir}/sipbuild/__pycache__ | |
60 | %dir %{py3_sitedir}/sipbuild/distinfo | |
61 | %{py3_sitedir}/sipbuild/distinfo/*.py | |
62 | %{py3_sitedir}/sipbuild/distinfo/__pycache__ | |
63 | %dir %{py3_sitedir}/sipbuild/legacy | |
64 | %{py3_sitedir}/sipbuild/legacy/*.py | |
65 | %{py3_sitedir}/sipbuild/legacy/__pycache__ | |
66 | %dir %{py3_sitedir}/sipbuild/module | |
67 | %{py3_sitedir}/sipbuild/module/*.py | |
68 | %{py3_sitedir}/sipbuild/module/__pycache__ | |
a8d1b059 | 69 | %{py3_sitedir}/sipbuild/module/source |
f1c1a96a JR |
70 | %dir %{py3_sitedir}/sipbuild/tools |
71 | %{py3_sitedir}/sipbuild/tools/*.py | |
72 | %{py3_sitedir}/sipbuild/tools/__pycache__ |