]> git.pld-linux.org Git - packages/beav.git/blob - beav.spec
933d729ae3b291b6b4594b5efc9b5b912fbc3b4a
[packages/beav.git] / beav.spec
1 Summary:        A binary editor with Emacs-like keybindings
2 Summary(pl):    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
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.045477 seconds and 2 git commands to generate.