1 Summary: utility for viewing and editing binary files
2 Summary(pl): narzêdzie do przegl±dania i edytowania plików binarnych
7 Group: Applications/Text
8 Source0: http://home.mho.net/jswaby/%{name}_tar.gz
9 # Source0-md5: 9dd94106da20bc5a2929c5e95a729106
10 URL: http://home.mho.net/jswaby/fb.html
11 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14 fb is a utility for the viewing and editing of binary files. Files can be
15 viewed in binary, decimal, hexadecimal, and octal, and/or characters.
16 In addition to simple overwriting, a binary file may be dumped as binary,
17 hexadecimal, decimal, or octal numbers; edited with one's favorite text
18 editor; and then translated back into a binary file.
21 fb jest narzêdziem do ogl±dania i edytowania plików binarnych. Pliki
22 mog± byæ ogl±dane w postaci liczb systemu dwójkowego, dziesiêtnego,
23 szesnastkowego, ósemkowego, a tak¿e w postaci znaków ASCII. Oprócz
24 prostego nadpisywania, pliki binarne mog± byæ zapisane do pliku w dowolnej
25 postaci tekstowej, przeedytowane edytorem tekstu, a nastêpnie z powrotem
26 przet³umaczone na plik binarny.
33 CFLAGS="%{rpmcflags}" \
37 rm -rf $RPM_BUILD_ROOT
38 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
40 install %{name} $RPM_BUILD_ROOT%{_bindir}
41 install %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1
44 rm -rf $RPM_BUILD_ROOT
47 %defattr(644,root,root,755)
48 %attr(755,root,root) %{_bindir}/*