[packages/sip5] - pl, more verbose files (so it's visible that there are no conflicts with sip 4.x)
qboosh
qboosh at pld-linux.org
Tue Apr 18 05:38:23 CEST 2023
commit a8d1b059e02a99d1130ee1b272d68e89fa2b30d9
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue Apr 18 05:40:55 2023 +0200
- pl, more verbose files (so it's visible that there are no conflicts with sip 4.x)
sip5.spec | 27 +++++++++++++++++++++------
1 file changed, 21 insertions(+), 6 deletions(-)
---
diff --git a/sip5.spec b/sip5.spec
index c9a6066..f4c83c7 100644
--- a/sip5.spec
+++ b/sip5.spec
@@ -1,14 +1,15 @@
Summary: SIP - Python/C++ Bindings Generator
+Summary(pl.UTF-8): SIP - generator wiązań Python/C++
Name: sip5
Version: 5.5.0
Release: 5
License: GPL v2
-#Source0Download: https://pypi.org/project/sip/
+#Source0Download: https://pypi.org/simple/sip/
Source0: https://files.pythonhosted.org/packages/source/s/sip/sip-%{version}.tar.gz
# Source0-md5: 657c52aff0a180fc0f481e210bc9a2ba
-URL: https://www.riverbankcomputing.com/software/sip
Patch0: python3.10.patch
-BuildRequires: python3-devel
+URL: https://www.riverbankcomputing.com/software/sip
+BuildRequires: python3-devel >= 1:3.5
BuildRequires: python3-setuptools
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -19,6 +20,13 @@ to create PyQt, the Python bindings for the Qt toolkit, but can be
used to create bindings for any C or C++ library. For example it is
also used to generate wxPython, the Python bindings for wxWidgets.
+%description -l pl.UTF-8
+SIP to zbiór narzędzi ułatwiających tworzenie wiązań Pythona do
+bibliotek C i C++. Pierwotnie powstał w 1998 roku, aby stworzyć PyQt -
+wiązań Pythona do biblioteki Qt, ale może być używany do tworzenia
+wiązań do dowolnej biblioteki C lub C++. Jest używana także np. do
+generowania wxPythona - wiązań Pythona do wxWidgets.
+
%prep
%setup -q -n sip-%{version}
%patch0 -p1
@@ -28,6 +36,7 @@ also used to generate wxPython, the Python bindings for wxWidgets.
%install
rm -rf $RPM_BUILD_ROOT
+
%py3_install
%clean
@@ -36,9 +45,15 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc README
-%attr(755,root,root) %{_bindir}/sip*
-%dir %{py3_sitedir}/sipbuild
+%attr(755,root,root) %{_bindir}/sip-build
+%attr(755,root,root) %{_bindir}/sip-distinfo
+%attr(755,root,root) %{_bindir}/sip-install
+%attr(755,root,root) %{_bindir}/sip-module
+%attr(755,root,root) %{_bindir}/sip-sdist
+%attr(755,root,root) %{_bindir}/sip-wheel
+%attr(755,root,root) %{_bindir}/sip5
%{py3_sitedir}/sip-%{version}-py*.egg-info
+%dir %{py3_sitedir}/sipbuild
%{py3_sitedir}/sipbuild/*.py
%attr(755,root,root) %{py3_sitedir}/sipbuild/*.so
%{py3_sitedir}/sipbuild/__pycache__
@@ -51,7 +66,7 @@ rm -rf $RPM_BUILD_ROOT
%dir %{py3_sitedir}/sipbuild/module
%{py3_sitedir}/sipbuild/module/*.py
%{py3_sitedir}/sipbuild/module/__pycache__
+%{py3_sitedir}/sipbuild/module/source
%dir %{py3_sitedir}/sipbuild/tools
%{py3_sitedir}/sipbuild/tools/*.py
%{py3_sitedir}/sipbuild/tools/__pycache__
-%{py3_sitedir}/sipbuild/module/source
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/sip5.git/commitdiff/a8d1b059e02a99d1130ee1b272d68e89fa2b30d9
More information about the pld-cvs-commit
mailing list