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