]> git.pld-linux.org Git - packages/bbe.git/blob - bbe.spec
- release 2 (by relup.sh)
[packages/bbe.git] / bbe.spec
1 Summary:        bbe - Binary block editor
2 Summary(pl.UTF-8):      bbe - binarny edytor blokowy
3 Name:           bbe
4 Version:        0.2.2
5 Release:        2
6 License:        GPL v2
7 Group:          Applications/Text
8 Source0:        http://downloads.sourceforge.net/bbe-/%{name}-%{version}.tar.gz
9 # Source0-md5:  b056d0bfd852384aced73d4533887d4b
10 URL:            http://members.surfeu.fi/tjsa/bbe/
11 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13 %description
14 The bbe program is a sed-like editor for binary files. bbe performs
15 basic byte related transformations on blocks of input stream. bbe is
16 non-interactive command line tool and can be used as a part of a
17 pipeline. bbe makes only one pass over input stream.
18
19 bbe contains also grep-like features, like printing the filename,
20 offset and block number.
21
22 %description -l pl.UTF-8
23 bbe to podobny do seda edytor do plików binarnych. Wykonuje podstawowe
24 przekształcenia związane z bajtami na blokach strumienia wejściowego.
25 bbe jest nieinteraktywnym narzędziem linii poleceń i może być używany
26 jako część potoku. Wykonuje tylko jedno przejście strumienia
27 wejściowego.
28
29 bbe zawiera także elementy podobne do grepa, takie jak wypisywanie
30 nazwy pliku, offsetu i numeru bloku.
31
32 %prep
33 %setup -q
34
35 %build
36 %configure
37 %{__make}
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41 %{__make} install \
42         DESTDIR=$RPM_BUILD_ROOT \
43         htmldir=%{_docdir}/%{name}-%{version}
44
45 # clean docdir
46 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %post   -p      /sbin/postshell
52 -/usr/sbin/fix-info-dir -c %{_infodir}
53
54 %postun -p      /sbin/postshell
55 -/usr/sbin/fix-info-dir -c %{_infodir}
56
57 %files
58 %defattr(644,root,root,755)
59 %doc AUTHORS ChangeLog
60 %attr(755,root,root) %{_bindir}/bbe
61 %{_mandir}/man1/bbe.*
62 %{_infodir}/bbe.*
This page took 0.07904 seconds and 3 git commands to generate.