]> git.pld-linux.org Git - packages/python3-PyQt5-sip.git/commitdiff
- new
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 30 Jun 2022 21:24:00 +0000 (23:24 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Thu, 30 Jun 2022 21:24:00 +0000 (23:24 +0200)
python3-PyQt5-sip.spec [new file with mode: 0644]

diff --git a/python3-PyQt5-sip.spec b/python3-PyQt5-sip.spec
new file mode 100644 (file)
index 0000000..474cd45
--- /dev/null
@@ -0,0 +1,51 @@
+%define                module  PyQt5-sip
+Summary:       The sip module support for PyQt5
+Name:          python3-%{module}
+Version:       12.11.0
+Release:       0.1
+License:       GPL v3
+Group:         Libraries/Python
+#Source0Download: https://pypi.org/simple/MODULE/
+Source0:       https://files.pythonhosted.org/packages/source/P/PyQt5_sip/PyQt5_sip-%{version}.tar.gz
+# Source0-md5: 190c585ed6fcb5730f550b1330cd473f
+URL:           https://www.riverbankcomputing.com/software/sip/
+BuildRequires: python3-devel >= 1:3.2
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.714
+Requires:      python3-modules >= 1:3.2
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The sip extension module provides support for the PyQt5 package.
+
+%package apidocs
+Summary:       API documentation for Python %{module} module
+Summary(pl.UTF-8):     Dokumentacja API modułu Pythona %{module}
+Group:         Documentation
+BuildArch:     noarch
+
+%description apidocs
+API documentation for Python %{module} module.
+
+%description apidocs -l pl.UTF-8
+Dokumentacja API modułu Pythona %{module}.
+
+%prep
+%setup -q -n PyQt5_sip-%{version}
+
+%build
+%py3_build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%py3_install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%attr(755,root,root) %{py3_sitedir}/PyQt5/*.so
+%{py3_sitedir}/PyQt5_sip-%{version}-py*.egg-info
This page took 0.047647 seconds and 4 git commands to generate.