Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37044968
en ru br
Репозитории ALT
S:2.29-alt2
5.1: 2.29-alt1
4.1: 2.29-alt1
4.0: 2.29-alt1
www.altlinux.org/Changes

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

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

Name: rss2mail2
Version: 2.29
Release: alt2

Summary: An RSS aggregator that delivers feeds as plain text email
License: GPL or Artistic
Group: Networking/News
URL: http://exo.org.uk/code/rss2mail/
BuildArch: noarch
Source: rss2mail2

# this dependency cannot be detected automatically

Requires: perl-Class-DBI-SQLite

# Automatically added by buildreq on Mon Nov 15 2010 (-bi)

BuildRequires: perl-AppConfig perl-Class-DBI-BaseDSN perl-Class-DBI-SQLite perl-Exception-Class perl-HTML-FormatText-WithLinks perl-MIME-Lite perl-MIME-tools perl-Pod-Parser perl-Text-Autoformat perl-Text-Diff perl-XML-Feed

%description
rss2mail2 is an RSS aggregator for those that like to get all their
information delivered to their inbox. It runs through your list of feeds
and sends you one mail per updated feed containing all the new and
updated items in that feed. Optionally it will provide you with a
universal style diff of the updated feeds.

%prep
%setup -cT
cp -pv %SOURCE0 %name

%build
pod2man --release='%name v%version' %name %name.1
cat >%{name}rc <<'__EOF__'
base_dir = ${HOME}/.%name
dsn = dbi:SQLite:dbname=${HOME}/.%name/rss.db
mail_from = %name
mail_to = ${USER}
mail_per_item = 1
oldest = 120
max_not_found = 32
__EOF__

%install
install -pD -m755 %name %buildroot%_bindir/%name
install -pD -m644 %name.1 %buildroot%_man1dir/%name.1
install -pD -m644 %{name}rc %buildroot/etc/%{name}rc

# for perl.req

%define __spec_autodep_custom_pre export HOME=%buildroot
cp -pv %buildroot/etc/%{name}rc %buildroot/.%{name}rc

%files
%_bindir/%name
%_man1dir/%name.1*
%config(noreplace) /etc/%{name}rc

%changelog

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

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