]>
Commit | Line | Data |
---|---|---|
0d345801 | 1 | Summary: bbe - Binary block editor |
dac33eac | 2 | Summary(pl.UTF-8): bbe - binarny edytor blokowy |
0d345801 | 3 | Name: bbe |
4 | Version: 0.2.2 | |
13385a67 | 5 | Release: 2 |
0d345801 | 6 | License: GPL v2 |
7 | Group: Applications/Text | |
fc988b6c | 8 | Source0: http://downloads.sourceforge.net/bbe-/%{name}-%{version}.tar.gz |
0d345801 | 9 | # Source0-md5: b056d0bfd852384aced73d4533887d4b |
dac33eac | 10 | URL: http://members.surfeu.fi/tjsa/bbe/ |
0d345801 | 11 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
12 | ||
13 | %description | |
14 | The bbe program is a sed-like editor for binary files. bbe performs | |
15 | basic byte related transformations on blocks of input stream. bbe is | |
16 | non-interactive command line tool and can be used as a part of a | |
17 | pipeline. bbe makes only one pass over input stream. | |
18 | ||
19 | bbe contains also grep-like features, like printing the filename, | |
20 | offset and block number. | |
21 | ||
dac33eac JB |
22 | %description -l pl.UTF-8 |
23 | bbe to podobny do seda edytor do plików binarnych. Wykonuje podstawowe | |
24 | przekształcenia związane z bajtami na blokach strumienia wejściowego. | |
25 | bbe jest nieinteraktywnym narzędziem linii poleceń i może być używany | |
26 | jako część potoku. Wykonuje tylko jedno przejście strumienia | |
27 | wejściowego. | |
28 | ||
29 | bbe zawiera także elementy podobne do grepa, takie jak wypisywanie | |
30 | nazwy pliku, offsetu i numeru bloku. | |
31 | ||
0d345801 | 32 | %prep |
33 | %setup -q | |
34 | ||
35 | %build | |
36 | %configure | |
37 | %{__make} | |
38 | ||
39 | %install | |
40 | rm -rf $RPM_BUILD_ROOT | |
41 | %{__make} install \ | |
42 | DESTDIR=$RPM_BUILD_ROOT \ | |
43 | htmldir=%{_docdir}/%{name}-%{version} | |
44 | ||
0ffb89f4 | 45 | # clean docdir |
fc988b6c | 46 | %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} |
0ffb89f4 MB |
47 | |
48 | %clean | |
49 | rm -rf $RPM_BUILD_ROOT | |
50 | ||
a7c6f033 ER |
51 | %post -p /sbin/postshell |
52 | -/usr/sbin/fix-info-dir -c %{_infodir} | |
53 | ||
54 | %postun -p /sbin/postshell | |
55 | -/usr/sbin/fix-info-dir -c %{_infodir} | |
56 | ||
0d345801 | 57 | %files |
58 | %defattr(644,root,root,755) | |
59 | %doc AUTHORS ChangeLog | |
60 | %attr(755,root,root) %{_bindir}/bbe | |
61 | %{_mandir}/man1/bbe.* | |
62 | %{_infodir}/bbe.* |