17
0
Files
python-feedparser/python3-feedparser.spec
Alexandre Rogoski 36085a18fc Accepting request 157140 from home:apersaud:branches:devel:languages:python
updated to 5.1.3 and added python3 spec file. Not sure how to submit a linkpac request to create that then will link to devel:languages:python, so it would be great, if this gets accepted also a linkpac package with the name python3-feedparser could be created. Thanks!

OBS-URL: https://build.opensuse.org/request/show/157140
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-feedparser?expand=0&rev=27
2013-03-05 01:31:14 +00:00

55 lines
1.6 KiB
RPMSpec

#
# spec file for package python3-feedparser
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: python3-feedparser
Version: 5.1.3
Release: 0
Summary: Universal Feed Parser Module for Python
License: BSD-2-Clause
Group: Development/Libraries/Python
Url: http://sourceforge.net/projects/feedparser/
Source: feedparser-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python3
BuildRequires: python3-2to3
BuildRequires: python3-devel
BuildRequires: python3-distribute
BuildRequires: python3-xml
Requires: python3-xml
BuildArch: noarch
%description
A universal feed parser module for Python that handles RSS 0.9x, RSS 1.0, RSS
2.0, CDF, Atom 0.3, Atom 1.0 feeds.
%prep
%setup -q -n feedparser-%{version}
%build
python3 setup.py build
%install
python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
%files
%defattr(-,root,root)
%doc LICENSE NEWS README
%{python3_sitelib}/*
%changelog