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 # 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
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}/*