]> git.pld-linux.org Git - packages/beav.git/blob - beav.spec
- adapterized.
[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:        2
6 License:        GPL
7 Group:          Applications/Editors
8 Source0:        ftp://ftp.cdrom.com/pub/simtelnet/msdos/binaryed/%{name}140s.zip
9 Patch0:         %{name}-glibc.patch
10 Patch1:         %{name}-linux.patch
11 Patch2:         %{name}-tinfo.patch
12 BuildRequires:  unzip
13 Buildroot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 Beav allows you to edit binary files with almost all of the
17 capabilities of a screen editor. Beav can edit a file and/or do a
18 search and replace in hex, ASCII, EBCDIC, octal, decimal, and binary
19 modes. Data can be displayed in byte, word, or double word formats.
20 While displaying words or double words, the data can be displayed in
21 Intel's or Motorola's byte swap format. Data of any length can be
22 inserted at any point in the file and the source of the data can be
23 the keyboard, another buffer, or a file. Any displayed data can be
24 sent to a printer in the displayed format. Finally, beav can even
25 handle files that are bigger than memory.
26
27 %description -l pl
28 Beav pozwala Ci edytoraæ pliki binarne w trybie pe³noekranowym. Beav
29 potrafi edytowaæ pliki, wyszukiwaæ i zastêpowaæ w trybach
30 heksadecymalnym, ASCII, EBCDIC, ósemkowym, dziesiêtnym oraz binarnym.
31 Dane mog± byæ wy¶wietlane jako bajt, word lub double. Dane word oraz
32 double word dane mog± byæ wy¶wietlane w formacie ,,byte swap'' Intela
33 lub Motorolli. Beav potrafi edytowaæ pliki o wielko¶ci wiêkszej ni¿
34 dostêpna fizycznie pamiêæ.
35
36 %prep
37 %setup -q -T -c
38 unzip -L -q -aa %{SOURCE0}
39
40 %patch1 -p1 -b glibc
41 %patch0 -p1 -b linux
42 %patch2 -p1 -b tinfo
43
44 %build
45 %{__make} -f makefile.uxv \
46         CFLAGS="%{rpmcflags} -DUNIX -DSYSV %{rpmldflags}"
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT%{_bindir}
51
52 install beav $RPM_BUILD_ROOT%{_bindir}
53
54 gzip -9nf *.txt
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files
60 %defattr(644,root,root,755)
61 %doc *.gz
62 %attr(755,root,root) %{_bindir}/*
This page took 0.095078 seconds and 3 git commands to generate.