]> git.pld-linux.org Git - packages/beav.git/blob - beav.spec
- dropped pre-cvs changelog
[packages/beav.git] / beav.spec
1 Summary:        A binary editor with Emacs-like keybindings
2 Summary(pl.UTF-8):      Binarny edytor z klawiszologią zbliżoną do Emacsa
3 Name:           beav
4 Version:        1.40
5 Release:        4
6 License:        GPL
7 Group:          Applications/Editors
8 Source0:        ftp://ftp.cdrom.com/pub/simtelnet/msdos/binaryed/%{name}140s.zip
9 # Source0-md5:  21ebeb1c2fb04ca9ef6dbae842cc1687
10 Patch0:         %{name}-glibc.patch
11 Patch1:         %{name}-linux.patch
12 Patch2:         %{name}-tinfo.patch
13 BuildRequires:  ncurses-devel
14 BuildRequires:  unzip
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 Beav allows you to edit binary files with almost all of the
19 capabilities of a screen editor. Beav can edit a file and/or do a
20 search and replace in hex, ASCII, EBCDIC, octal, decimal, and binary
21 modes. Data can be displayed in byte, word, or double word formats.
22 While displaying words or double words, the data can be displayed in
23 Intel's or Motorola's byte swap format. Data of any length can be
24 inserted at any point in the file and the source of the data can be
25 the keyboard, another buffer, or a file. Any displayed data can be
26 sent to a printer in the displayed format. Finally, Beav can even
27 handle files that are bigger than memory.
28
29 %description -l pl.UTF-8
30 Beav umożliwia edycję plików binarnych w trybie pełnoekranowym. Beav
31 potrafi modyfikować pliki, wyszukiwać i zastępować w trybach
32 heksadecymalnym, ASCII, EBCDIC, ósemkowym, dziesiętnym oraz binarnym.
33 Dane mogą być wyświetlane jako bajt, słowo lub podwójne słowo. Dane w
34 postaci słowa lub podwójnego słowa mogą być wyświetlone w formacie
35 Intela lub Motoroli ze zmienioną kolejnością bajtów. W dowolnym
36 miejscu pliku można wstawić dane dowolnej długości pochodzące z
37 klawiatury, innego bufora lub pliku. Dowolne wyświetlane dane mogą być
38 wysłane na drukarkę w wyświetlanym formacie. Beav jest w stanie
39 obsługiwać nawet pliki nawet większe niż rozmiar pamięci.
40
41
42 %prep
43 %setup -q -c -T
44 unzip -L -q -aa %{SOURCE0}
45
46 %patch1 -p1
47 %patch0 -p1
48 %patch2 -p1
49
50 %build
51 %{__make} -f makefile.uxv \
52         CFLAGS="%{rpmcflags} -DUNIX -DSYSV %{rpmldflags}"
53
54 %install
55 rm -rf $RPM_BUILD_ROOT
56 install -d $RPM_BUILD_ROOT%{_bindir}
57
58 install beav $RPM_BUILD_ROOT%{_bindir}
59
60 %clean
61 rm -rf $RPM_BUILD_ROOT
62
63 %files
64 %defattr(644,root,root,755)
65 %doc *.txt
66 %attr(755,root,root) %{_bindir}/*
This page took 0.074043 seconds and 3 git commands to generate.