]> git.pld-linux.org Git - packages/fb.git/blob - fb.spec
- pass CC, cosmetics
[packages/fb.git] / fb.spec
1 Summary:        Utility for viewing and editing binary files
2 Summary(pl):    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
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, przeedytowane 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.061858 seconds and 3 git commands to generate.