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