]> git.pld-linux.org Git - packages/fb.git/blob - fb.spec
- tabs in preamble
[packages/fb.git] / fb.spec
1 Summary:        Utility for viewing and editing binary files
2 Summary(pl.UTF-8):      Narzędzie do przeglądania i edycji plików binarnych
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
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.
20
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.
28
29 %prep
30 %setup -qc
31
32 %build
33 %{__make} %{name} \
34         CC="%{__cc}" \
35         CFLAGS="%{rpmcflags}"
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/*
This page took 0.059399 seconds and 3 git commands to generate.