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