]> git.pld-linux.org Git - packages/python3-feedparser.git/blame - python3-feedparser.spec
- meaningful pl, updated tests invocation (still failing)
[packages/python3-feedparser.git] / python3-feedparser.spec
CommitLineData
27e28ee6
ER
1#
2# Conditional build:
c50a13ed 3%bcond_with tests # unit tests (7 tests fail)
27e28ee6
ER
4
5%define module feedparser
c2a94746 6Summary: Parse RSS and Atom feeds in Python
c50a13ed 7Summary(pl.UTF-8): Analiza źródeł RSS i Atom dla Pythona
5a32767f 8Name: python3-%{module}
5e3c8848
JP
9Version: 6.0.10
10Release: 1
c2a94746 11License: BSD
b3def301 12Group: Libraries/Python
75c4dfa0 13Source0: https://github.com/kurtmckee/feedparser/archive/%{version}.tar.gz
5e3c8848 14# Source0-md5: d69e59156dfe7b64842befdc1c621a2d
75c4dfa0 15URL: https://github.com/kurtmckee/feedparser
5a32767f 16BuildRequires: python3-modules >= 1:3.6
b5b5aa3e 17BuildRequires: python3-setuptools
0aeb509c 18BuildRequires: rpm-pythonprov
8baab56e 19BuildRequires: rpmbuild(macros) >= 1.710
5a32767f 20Requires: python3-modules >= 1:3.6
cb02266c 21BuildArch: noarch
b3def301
MM
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
c2a94746
ER
25Universal Feed Parser is a Python module for downloading and parsing
26syndicated feeds. It can handle RSS 0.90, Netscape RSS 0.91, Userland
27RSS 0.91, RSS 0.92, RSS 0.93, RSS 0.94, RSS 1.0, RSS 2.0, Atom 0.3,
28Atom 1.0, and CDF feeds. It also parses several popular extension
29modules, including Dublin Core and Apple's iTunes extensions.
b3def301 30
d0ba5ba0 31%description -l pl.UTF-8
c50a13ed
JB
32Universal Feed Parser to moduł Pythona do pobierania i analizy
33syndykowanych źródeł (feedów). Obsługuje RSS 0.90, Netscape RSS 0.91,
34Userland RSS 0.91, RSS 0.92, RSS 0.93, RSS 0.94, RSS 1.0, RSS 2.0,
35Atom 0.3, Atom 1.0 oraz CDF. Potrafi obsłużyć także kilka popularnych
36modułów rozszerzeń, w tym rozszerzenia Dublin Core oraz Apple iTunes.
b3def301
MM
37
38%prep
27e28ee6 39%setup -q -n %{module}-%{version}
b3def301
MM
40
41%build
bcdb6e7f 42%py3_build
c50a13ed
JB
43
44%if %{with tests}
45%{__python3} tests/runtests.py
46%endif
27e28ee6 47
b3def301
MM
48%install
49rm -rf $RPM_BUILD_ROOT
877d2810 50
bcdb6e7f 51%py3_install
b3def301
MM
52
53%clean
54rm -rf $RPM_BUILD_ROOT
55
877d2810
AM
56%files -n python3-%{module}
57%defattr(644,root,root,755)
75c4dfa0 58%doc LICENSE NEWS README.rst
5a32767f 59%{py3_sitescriptdir}/feedparser
c50a13ed 60%{py3_sitescriptdir}/feedparser-%{version}-py*.egg-info
This page took 0.153959 seconds and 4 git commands to generate.