File python-perceval.spec of Package python-perceval

# spec file for package python-perceval
# Copyright (c) 2017 SUSE LINUX 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

Name:           python-perceval
Version:        0.9.0
Release:        0
License:        GPL-3.0
Summary:        Fetch data from software repositories
Group:          Development/Languages/Python
BuildRequires:  python3-devel
BuildRequires:  python3-setuptools
BuildRequires:  python3-beautifulsoup4 >= 4.3.2
BuildRequires:  python3-feedparser >= 5.1.3
BuildRequires:  python3-dateutil >= 2.0.0
BuildRequires:  python3-requests >= 2.7.0
BuildRequires:  fdupes
Requires:       python3-beautifulsoup4 >= 4.3.2
Requires:       python3-feedparser >= 5.1.3
Requires:       python3-dateutil >= 2.0.0
Requires:       python3-requests >= 2.7.0
Requires:       python-grimoirelab-toolkit
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

Send Sir Perceval on a quest to retrieve and gather data from software
repositories like bugzilla, git, github, mediawiki, mbox, rss, etc.

%setup -q -n perceval-%{version}

python3 build

python3 install --prefix=%{_prefix} --root=%{buildroot}
%fdupes -s %{buildroot}/%{python_sitelib}