]> git.pld-linux.org Git - packages/bgrab.git/blob - bgrab.spec
- addedd CXXFLAGS to %%{__make} to avoid compile problems
[packages/bgrab.git] / bgrab.spec
1 Summary:        Rael's Binary Grabber
2 Summary(pl):    ¦ci±gacz binariów Raela
3 Name:           bgrab
4 Version:        1.3.6
5 Release:        2
6 License:        Free
7 Group:          Networking/News
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)
15
16 %description
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
23 crond.
24
25 %description -l pl
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.
31
32 %prep
33 %setup -q
34 %patch0 -p1
35 %patch1 -p1
36 chmod 755 configure
37
38 %build
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"
42 %configure
43
44 %{__make} CXXFLAGS="%{rpmcflags} -fno-rtti -fno-exceptions  -I%{_includedir}/ncurses"
45
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49 install -d $RPM_BUILD_ROOT%{_bindir}
50
51 install bgrab $RPM_BUILD_ROOT%{_bindir}
52
53 gzip -9nf COPYING README*
54
55 %clean
56 rm -rf $RPM_BUILD_ROOT
57
58 %files
59 %defattr(644,root,root,755)
60 %doc *.gz
61 %attr(755,root,root) %{_bindir}/*
This page took 0.066552 seconds and 3 git commands to generate.