]> git.pld-linux.org Git - packages/fb.git/blob - fb.spec
5225db4bb66c8a333c6726954f7f8dfcb3400114
[packages/fb.git] / fb.spec
1 Summary:        utility for viewing and editing binary files
2 Summary(pl):    narzêdzie do przegl±dania i edytowania 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 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.                         
19
20 %description -l pl
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.
27
28 %prep
29 %setup -c -n %{name}
30
31 %build
32 %{__make} \
33         CFLAGS="%{rpmcflags}" \
34         %{name}
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
39
40 install %{name} $RPM_BUILD_ROOT%{_bindir}
41 install %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46 %files
47 %defattr(644,root,root,755)
48 %attr(755,root,root) %{_bindir}/*
49 %{_mandir}/man1/*
This page took 0.033421 seconds and 2 git commands to generate.