1 Summary: Rael's Binary Grabber
2 Summary(pl.UTF-8): Ściągacz binariów Raela
8 Source0: http://www.student.dtu.dk/~c960941/bgrab/%{name}-%{version}.tgz
9 # Source0-md5: e0c8e05ce219803aa9914ae81b08ee5b
10 Patch0: %{name}-noreplace.patch
11 Patch1: %{name}-regex.h.patch
12 URL: http://www.student.dtu.dk/~c960941/bgrab/
13 BuildRequires: libstdc++-devel
14 BuildRequires: ncurses-devel
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 The purpose of this program is to automate the downloading of binary
19 attachments from UseNet Newsgroups. Given a group name, this program
20 will connect to a news server, read all messages in that group and
21 extract any binary attachments included in any of those messages
22 (including multipart attachments). This program does not require any
23 keyboard interaction and could be fairly easily scheduled to run from
26 %description -l pl.UTF-8
27 Celem tego programu jest automatyczne ściąganie binarnych załączników
28 z grup usenetowych. Po podaniu nazwy grupy program łączy się z
29 serwerem news, czyta wszystkie wiadomości z grupy i wyciąga z nich
30 wszelkie binarne załączniki (także wieloczęściowe). Program ten nie
31 wymaga interakcji i może być w prosty sposób używany z crona.
40 CPPFLAGS="%{rpmcflags} -fno-rtti -fno-exceptions -I/usr/include/ncurses"
41 CXXFLAGS="%{rpmcflags} -fno-rtti -fno-exceptions -I/usr/include/ncurses"
42 CFLAGS="%{rpmcflags} -I/usr/include/ncurses"
45 %{__make} CXXFLAGS="%{rpmcflags} -fno-rtti -fno-exceptions -I/usr/include/ncurses"
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT%{_bindir}
52 install bgrab $RPM_BUILD_ROOT%{_bindir}
55 rm -rf $RPM_BUILD_ROOT
58 %defattr(644,root,root,755)
60 %attr(755,root,root) %{_bindir}/*