1 Summary: bbe - Binary block editor
2 Summary(pl.UTF-8): bbe - binarny edytor blokowy
7 Group: Applications/Text
8 Source0: http://downloads.sourceforge.net/bbe-/%{name}-%{version}.tar.gz
9 # Source0-md5: b056d0bfd852384aced73d4533887d4b
10 URL: http://members.surfeu.fi/tjsa/bbe/
11 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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.
19 bbe contains also grep-like features, like printing the filename,
20 offset and block number.
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
29 bbe zawiera także elementy podobne do grepa, takie jak wypisywanie
30 nazwy pliku, offsetu i numeru bloku.
40 rm -rf $RPM_BUILD_ROOT
42 DESTDIR=$RPM_BUILD_ROOT \
43 htmldir=%{_docdir}/%{name}-%{version}
46 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
49 rm -rf $RPM_BUILD_ROOT
51 %post -p /sbin/postshell
52 -/usr/sbin/fix-info-dir -c %{_infodir}
54 %postun -p /sbin/postshell
55 -/usr/sbin/fix-info-dir -c %{_infodir}
58 %defattr(644,root,root,755)
59 %doc AUTHORS ChangeLog
60 %attr(755,root,root) %{_bindir}/bbe