]>
Commit | Line | Data |
---|---|---|
191472f3 | 1 | Summary: Utility for viewing and editing binary files |
49b787be | 2 | Summary(pl.UTF-8): Narzędzie do przeglądania i edycji plików binarnych |
73aae614 SZ |
3 | Name: fb |
4 | Version: 1.5 | |
5 | Release: 1 | |
6 | License: GPL | |
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) | |
12 | ||
13 | %description | |
191472f3 | 14 | fb is a utility for the viewing and editing of binary files. Files can |
15 | be viewed in binary, decimal, hexadecimal, and octal, and/or | |
16 | characters. In addition to simple overwriting, a binary file may be | |
17 | dumped as binary, hexadecimal, decimal, or octal numbers; edited with | |
18 | one's favorite text editor; and then translated back into a binary | |
19 | file. | |
73aae614 | 20 | |
a11f504c JR |
21 | %description -l pl.UTF-8 |
22 | fb jest narzędziem do oglądania i edycji plików binarnych. Pliki mogą | |
23 | być oglądane w postaci liczb systemu dwójkowego, dziesiętnego, | |
24 | szesnastkowego, ósemkowego, a także w postaci znaków ASCII. Oprócz | |
25 | prostego nadpisywania, pliki binarne mogą być zapisane do pliku w | |
26 | dowolnej postaci tekstowej, zmodyfikowane edytorem tekstu, a następnie | |
27 | z powrotem przetłumaczone na plik binarny. | |
73aae614 SZ |
28 | |
29 | %prep | |
70fe686c | 30 | %setup -qc |
73aae614 SZ |
31 | |
32 | %build | |
70fe686c JB |
33 | %{__make} %{name} \ |
34 | CC="%{__cc}" \ | |
35 | CFLAGS="%{rpmcflags}" | |
73aae614 SZ |
36 | |
37 | %install | |
38 | rm -rf $RPM_BUILD_ROOT | |
39 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} | |
40 | ||
41 | install %{name} $RPM_BUILD_ROOT%{_bindir} | |
42 | install %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1 | |
43 | ||
44 | %clean | |
45 | rm -rf $RPM_BUILD_ROOT | |
46 | ||
47 | %files | |
48 | %defattr(644,root,root,755) | |
49 | %attr(755,root,root) %{_bindir}/* | |
50 | %{_mandir}/man1/* |