Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37038260
en ru br
Репозитории ALT

Группа :: Сети/Новости
Пакет: rss2email

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: rss2email
Version: 3.12.2
Release: alt1

Summary: Receive RSS or Atom feeds by email
License: GPL-2.0-only or GPL-3.0-only
Group: Networking/News
Url: https://github.com/rss2email/rss2email
Vcs: git://git.altlinux.org/gears/r/rss2email.git
BuildArch: noarch
Source: %name-%version-%release.tar

Requires: python3-module-%name = %EVR

BuildRequires: rpm-build-python3
BuildRequires: python3-module-feedparser
BuildRequires: python3-module-html2text

%description
rss2email is a simple program which you can run in your crontab.
It watches RSS (or Atom) feeds and sends you a nicely formatted
email message for each new item.

%package -n python3-module-%name
Summary: %name python3 module
Group: Development/Python3
License: GPL-2.0-only or GPL-3.0-only
Conflicts: %name < %version

%description -n python3-module-%name
This package contains %name python3 module.

%prep
%setup -n %name-%version-%release

%build
%python3_build

%install
%python3_install
install -pm755 r2e-migrate %buildroot%_bindir/
mkdir -p %buildroot%_man1dir
install -pm644 r2e.1 r2e-migrate.1 %buildroot%_man1dir/

%check
PATH="$PATH:%buildroot%_bindir" PYTHONPATH=%buildroot%python3_sitelibdir \
%__python3 ./test/test.py

%define _unpackaged_files_terminate_build 1

%files
%_bindir/r2e
%_bindir/r2e-migrate
%_man1dir/r2e.1*
%_man1dir/r2e-migrate.1*
%doc AUTHORS CHANGELOG README.rst README.migrate

%files -n python3-module-%name
%python3_sitelibdir/%{name}*

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin