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