]> git.pld-linux.org Git - packages/python-pyRXP.git/blame - python-pyRXP.spec
- updated to 2.2.0 (last available version for python 2.7)
[packages/python-pyRXP.git] / python-pyRXP.spec
CommitLineData
b0ae55d0 1# TODO:
da38de5b 2# - use external rxp
283022a9
MG
3# - make documentation from rml file instead of downloading it
4# (need for spec for http://www.reportlab.org/rl_toolkit.html)
db462542 5#
6
0c6c2d84 7Summary: A Python wrapper for the RXP parser
a9ff2f69 8Summary(pl.UTF-8): Pythonowy interfejs do analizatora XML RXP
3cc05815 9Name: python-pyRXP
b0ae55d0
JB
10# keep 2.x here for python2 support; no accessible sdist found for 2.2.1 or 2.2.3
11Version: 2.2.0
cf4b230f 12Release: 1
ed3d0882 13License: GPL v2
14Group: Libraries/Python
3cc05815 15#Source0Download: https://pypi.org/simple/pyRXP/
b0ae55d0
JB
16Source0: https://files.pythonhosted.org/packages/source/p/pyRXP/pyRXP-%{version}.tar.gz
17# Source0-md5: 97a826803521fd8fade6e2ea3ec0827f
3cc05815 18URL: https://pypi.org/project/pyRXP/
b0ae55d0 19BuildRequires: python-devel >= 1:2.7
3cc05815 20BuildRequires: rpm-build >= 4.6
872be436 21BuildRequires: rpm-pythonprov
3cc05815 22BuildRequires: rpmbuild(macros) >= 1.714
b0ae55d0
JB
23Requires: python-modules >= 1:2.7
24Obsoletes: python-pyRXP-examples < 2
ed3d0882 25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27%description
39bf1c14 28pyRXP is a Python wrapper for RXP, a validating namespace-aware
ed3d0882 29XML parser in C.
30
93d12eb7
JR
31%description -l pl.UTF-8
32pyRXP to pythonowy interfejs do RXP - kontrolującego poprawność
33analizatora XML-a z obsługą przestrzeni nazw, napisanego w C.
39bf1c14 34
283022a9
MG
35%package doc
36Summary: Documentation for Python pyRXP module
a9ff2f69 37Summary(pl.UTF-8): Dokumentacja do modułu Pythona pyRXP
3cc05815 38Group: Documentation
283022a9 39Requires: %{name} = %{version}-%{release}
3cc05815 40BuildArch: noarch
283022a9
MG
41
42%description doc
43This package contains documentation files for Python pyRXP module.
44
93d12eb7
JR
45%description doc -l pl.UTF-8
46Pakiet zawierający dokumentację dla modułu Pythona pyRXP.
283022a9 47
ed3d0882 48%prep
3cc05815 49%setup -q -n pyRXP-%{version}
ed3d0882 50
b0ae55d0
JB
51# missing in sdist
52touch LICENSE.txt
53
ed3d0882 54%build
50122ca4 55%py_build
ed3d0882 56
57%install
58rm -rf $RPM_BUILD_ROOT
59
50122ca4 60%py_install
ed3d0882 61
ed3d0882 62%clean
63rm -rf $RPM_BUILD_ROOT
64
65%files
66%defattr(644,root,root,755)
3cc05815 67%doc README.rst
3cc05815 68%attr(755,root,root) %{py_sitedir}/pyRXPU.so
cf4b230f 69%{py_sitedir}/pyRXP-%{version}-py*.egg-info
283022a9
MG
70
71%files doc
72%defattr(644,root,root,755)
3cc05815 73%doc docs/*.{gif,html}
This page took 0.127134 seconds and 5 git commands to generate.