]>
Commit | Line | Data |
---|---|---|
44196499 JR |
1 | Summary: Download and assemble multipart binaries from newsgroups |
2 | Name: brag | |
b11474ff | 3 | Version: 1.1.0 |
44196499 JR |
4 | Release: 1 |
5 | License: GPL | |
6 | Group: Applications/News | |
8962202b | 7 | Group(de): Applikationen/News |
8 | Group(pl): Aplikacje/News | |
9 | Source0: http://brag.sourceforge.net/%{name}-%{version}.tar.gz | |
10 | Patch0: %{name}-install.patch | |
44196499 JR |
11 | Requires: tcl >= 8.0 |
12 | BuildArch: noarch | |
13 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
14 | ||
15 | %description | |
16 | Brag is command line tool to collect and assemble multipart binary | |
17 | attachements from newsgroups. Ideal for regular news scanning using | |
18 | cron. Supported message encodings: uuencode and MIME base64. | |
19 | ||
20 | %prep | |
21 | %setup -q | |
22 | %patch0 -p1 | |
23 | ||
24 | %build | |
25 | ||
26 | %install | |
27 | rm -rf $RPM_BUILD_ROOT | |
28 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} | |
44196499 | 29 | |
8962202b | 30 | %{__make} install ROOT="$RPM_BUILD_ROOT" |
31 | ||
32 | gzip -9nf CHANGES README | |
44196499 JR |
33 | |
34 | %clean | |
35 | rm -rf $RPM_BUILD_ROOT | |
36 | ||
37 | %files | |
38 | %defattr(644,root,root,755) | |
8962202b | 39 | %doc *.gz |
44196499 JR |
40 | %attr(755,root,root) %{_bindir}/brag |
41 | %{_mandir}/man1/brag.1* |