Group :: Rede/Notícias
RPM: suck
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define BUILD_INN 0
Name: suck
Version: 4.3.2
Release: alt4
Summary: download news from remote NNTP server
License: Public Domain
Group: Networking/News
URL: http://www.sucknews.org
Source: %name-%version.tar.gz
Source1: sample.tar.gz
Source2: active-ignore
Patch0: %name-warn.patch
Patch1: %name-4.3.2-alt-configure.patch
Patch2: %name-4.3.2-rpost-ssl-alt.patch
Packager: Vladimir V Kamarzin <vvk at altlinux.ru>
BuildRequires: libdante libssl openssl-devel
%if %BUILD_INN
BuildRequires: inn-devel
%endif
%description
This package contains software for copying news from an NNTP server to your
local machine, and copying replies back up to an NNTP server. It works
with most standard NNTP servers, including INN, CNEWS, DNEWS, and typhoon.
%prep
%setup -D -a 1
%patch0 -p1
%patch1 -p1
%patch2 -p1
%build
autoconf
%if %BUILD_INN
%configure --enable-inn
%else
%configure
%endif
%make
%install
%makeinstall
mkdir -p %buildroot%_man1dir
mv %buildroot%_mandir/*.1 %buildroot/%_man1dir
mkdir -p %buildroot%_localstatedir/sucknews/
install -m 664 %SOURCE2 %buildroot%_localstatedir/sucknews
mkdir -p %buildroot%_localstatedir/sucknews/Msgs
mkdir -p %buildroot%_localstatedir/sucknews/tmp
%files
%doc README CHANGELOG sample/{get,put}.news sample/put.news.sm
%_bindir/*
%_man1dir/*
%attr (3770,root,news) %dir %_localstatedir/sucknews
%attr (3770,root,news) %dir %_localstatedir/sucknews/Msgs
%attr (3770,root,news) %dir %_localstatedir/sucknews/tmp
%attr (660,root,news) %config(noreplace) %_localstatedir/sucknews/active-ignore
%changelog
…
Todas as alterações você pod ver aqui
Name: suck
Version: 4.3.2
Release: alt4
Summary: download news from remote NNTP server
License: Public Domain
Group: Networking/News
URL: http://www.sucknews.org
Source: %name-%version.tar.gz
Source1: sample.tar.gz
Source2: active-ignore
Patch0: %name-warn.patch
Patch1: %name-4.3.2-alt-configure.patch
Patch2: %name-4.3.2-rpost-ssl-alt.patch
Packager: Vladimir V Kamarzin <vvk at altlinux.ru>
BuildRequires: libdante libssl openssl-devel
%if %BUILD_INN
BuildRequires: inn-devel
%endif
%description
This package contains software for copying news from an NNTP server to your
local machine, and copying replies back up to an NNTP server. It works
with most standard NNTP servers, including INN, CNEWS, DNEWS, and typhoon.
%prep
%setup -D -a 1
%patch0 -p1
%patch1 -p1
%patch2 -p1
%build
autoconf
%if %BUILD_INN
%configure --enable-inn
%else
%configure
%endif
%make
%install
%makeinstall
mkdir -p %buildroot%_man1dir
mv %buildroot%_mandir/*.1 %buildroot/%_man1dir
mkdir -p %buildroot%_localstatedir/sucknews/
install -m 664 %SOURCE2 %buildroot%_localstatedir/sucknews
mkdir -p %buildroot%_localstatedir/sucknews/Msgs
mkdir -p %buildroot%_localstatedir/sucknews/tmp
%files
%doc README CHANGELOG sample/{get,put}.news sample/put.news.sm
%_bindir/*
%_man1dir/*
%attr (3770,root,news) %dir %_localstatedir/sucknews
%attr (3770,root,news) %dir %_localstatedir/sucknews/Msgs
%attr (3770,root,news) %dir %_localstatedir/sucknews/tmp
%attr (660,root,news) %config(noreplace) %_localstatedir/sucknews/active-ignore
%changelog
…
Todas as alterações você pod ver aqui