]> git.pld-linux.org Git - packages/bgrab.git/blob - bgrab.spec
- tabs in preamble
[packages/bgrab.git] / bgrab.spec
1 Summary:        Rael's Binary Grabber
2 Summary(pl.UTF-8):      Ś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 # 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)
16
17 %description
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
24 crond.
25
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.
32
33 %prep
34 %setup -q
35 %patch0 -p1
36 %patch1 -p1
37 chmod 755 configure
38
39 %build
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"
43 %configure
44
45 %{__make} CXXFLAGS="%{rpmcflags} -fno-rtti -fno-exceptions  -I/usr/include/ncurses"
46
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT%{_bindir}
51
52 install bgrab $RPM_BUILD_ROOT%{_bindir}
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %files
58 %defattr(644,root,root,755)
59 %doc COPYING README*
60 %attr(755,root,root) %{_bindir}/*
This page took 0.044191 seconds and 3 git commands to generate.