]>
Commit | Line | Data |
---|---|---|
0d345801 | 1 | Summary: bbe - Binary block editor |
2 | Name: bbe | |
3 | Version: 0.2.2 | |
4 | Release: 0.1 | |
5 | License: GPL v2 | |
6 | Group: Applications/Text | |
7 | URL: http://members.surfeu.fi/tjsa/bbe/ | |
8 | Source0: http://dl.sourceforge.net/bbe-/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: b056d0bfd852384aced73d4533887d4b | |
10 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
11 | ||
12 | %description | |
13 | The bbe program is a sed-like editor for binary files. bbe performs | |
14 | basic byte related transformations on blocks of input stream. bbe is | |
15 | non-interactive command line tool and can be used as a part of a | |
16 | pipeline. bbe makes only one pass over input stream. | |
17 | ||
18 | bbe contains also grep-like features, like printing the filename, | |
19 | offset and block number. | |
20 | ||
21 | %prep | |
22 | %setup -q | |
23 | ||
24 | %build | |
25 | %configure | |
26 | %{__make} | |
27 | ||
28 | %install | |
29 | rm -rf $RPM_BUILD_ROOT | |
30 | %{__make} install \ | |
31 | DESTDIR=$RPM_BUILD_ROOT \ | |
32 | htmldir=%{_docdir}/%{name}-%{version} | |
33 | ||
34 | %files | |
35 | %defattr(644,root,root,755) | |
36 | %doc AUTHORS ChangeLog | |
37 | %attr(755,root,root) %{_bindir}/bbe | |
38 | %{_mandir}/man1/bbe.* | |
39 | %{_infodir}/bbe.* | |
40 | ||
41 | %clean | |
42 | rm -rf $RPM_BUILD_ROOT |