Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37777693
en ru br
ALT Linux repositórios
S:2.29-alt2
5.0: 2.29-alt1
4.1: 2.29-alt1
4.0: 2.29-alt1

Group :: Rede/Notícias
RPM: rss2mail2

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e 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

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009