File rss2email.spec of Package rss2email

# spec file for package rss2email
# 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:           rss2email
Version:        3.9
Release:        0
Summary:        Receive RSS feeds by email
License:        GPL-2.0 or GPL-3.0
Group:          Development/Languages/Python
Source:         rss2email-%{version}.tar.gz
BuildRequires:  python3
BuildRequires:  python3-feedparser
BuildRequires:  python3-html2text
BuildRequires:  python3-setuptools
Requires:       python3
Requires:       python3-feedparser
Requires:       python3-html2text
Requires:       python3-xml
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

A free, open-source tool for Windows, Mac OS and UNIX for
getting news from RSS feeds in email. It is a simple program which you
can run in your crontab.  It watches RSS feeds and sends you nicely
formatted email message for each new item.

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

python3 build

python3 install --prefix=%{_prefix} --root=%{buildroot}
install -Dm644 r2e.1 %{buildroot}/%{_mandir}/man1/r2e.1


openSUSE Build Service is sponsored by