[packages/python-pyRXP] - updated to 1.16
qboosh
qboosh at pld-linux.org
Sun Jan 22 17:19:19 CET 2023
commit 3cc05815525f79221617ad94e27784ddf7dac8cd
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Jan 22 17:20:34 2023 +0100
- updated to 1.16
python-pyRXP.spec | 40 ++++++++++++++++++----------------------
1 file changed, 18 insertions(+), 22 deletions(-)
---
diff --git a/python-pyRXP.spec b/python-pyRXP.spec
index 3791147..fe550dd 100644
--- a/python-pyRXP.spec
+++ b/python-pyRXP.spec
@@ -6,25 +6,22 @@
# (need for spec for http://www.reportlab.org/rl_toolkit.html)
#
-%define _snap 20071106
-%define module pyRXP
-
Summary: A Python wrapper for the RXP parser
Summary(pl.UTF-8): Pythonowy interfejs do analizatora XML RXP
-Name: python-%{module}
-Version: 1.12
+Name: python-pyRXP
+Version: 1.16
Release: 1
License: GPL v2
Group: Libraries/Python
-Source0: http://www.reportlab.org/daily/%{module}-%{version}-daily-unix.tgz
-# Source0-md5: 614ec61a1f65231e8018897b5f5e2f5f
-Source1: http://www.reportlab.com/docs/PyRXP_Documentation.pdf
-# Source1-md5: 984096b03131336f4eb53de829782576
-URL: http://www.reportlab.org/pyrxp.html
-BuildRequires: rpmbuild(macros) >= 1.710
+#Source0Download: https://pypi.org/simple/pyRXP/
+Source0: https://www.reportlab.com/ftp/pyRXP-%{version}-daily-unix.tar.gz
+# Source0-md5: 6c883cc6e9ac32585365dd2ae8867d81
+URL: https://pypi.org/project/pyRXP/
BuildRequires: python-devel >= 1:2.5
+BuildRequires: rpm-build >= 4.6
BuildRequires: rpm-pythonprov
-%pyrequires_eq python-modules
+BuildRequires: rpmbuild(macros) >= 1.714
+Requires: python-modules >= 1:2.5
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -38,8 +35,9 @@ analizatora XML-a z obsługą przestrzeni nazw, napisanego w C.
%package doc
Summary: Documentation for Python pyRXP module
Summary(pl.UTF-8): Dokumentacja do modułu Pythona pyRXP
-Group: Libraries/Python
+Group: Documentation
Requires: %{name} = %{version}-%{release}
+BuildArch: noarch
%description doc
This package contains documentation files for Python pyRXP module.
@@ -52,6 +50,7 @@ Summary: Example programs for Python pyRXP module
Summary(pl.UTF-8): Programy przykładowe do modułu Pythona pyRXP
Group: Development/Languages/Python
Requires: %{name} = %{version}-%{release}
+BuildArch: noarch
%description examples
This package contains example programs for Python pyRXP module.
@@ -60,19 +59,15 @@ This package contains example programs for Python pyRXP module.
Pakiet zawierający programy przykładowe dla modułu Pythona pyRXP.
%prep
-%setup -q -n pyRXP-%{version}-%{_snap}
+%setup -q -n pyRXP-%{version}
%build
-cd pyRXP
%py_build
-cp -a %{SOURCE1} docs
-
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{py_sitedir},%{_examplesdir}/%{name}-%{version}}
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
-cd pyRXP
%py_install
cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
@@ -82,13 +77,14 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc pyRXP/README
+%doc README.rst
+%attr(755,root,root) %{py_sitedir}/pyRXP.so
+%attr(755,root,root) %{py_sitedir}/pyRXPU.so
%{py_sitedir}/pyRXP-%{version}-py*.egg-info
-%attr(755,root,root) %{py_sitedir}/*.so
%files doc
%defattr(644,root,root,755)
-%doc pyRXP/docs/PyRXP_Documentation.pdf
+%doc docs/*.{gif,html}
%files examples
%defattr(644,root,root,755)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-pyRXP.git/commitdiff/3cc05815525f79221617ad94e27784ddf7dac8cd
More information about the pld-cvs-commit
mailing list