]> git.pld-linux.org Git - packages/biew.git/blob - biew.spec
- 53p5
[packages/biew.git] / biew.spec
1 Summary:        BIEW is Binary vIEWer and editor 
2 Summary(pl):    BIEW jest przegl±dark± plików binarnych z edytorem
3 Name:           biew
4 Version:        53p5
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://biew.sourceforge.net/pub/biew/5.x/src/%{name}%{version}.tar.bz2
12 Patch0:         %{name}-CURSES.patch
13 URL:            http://biew.sourceforge.net/
14 BuildRequires:  ncurses-devel
15 Buildroot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 BIEW is advenced Binary vIEWer with built-in editor for binary,
19 hexadecimal and disassembler modes. His disassembler support many
20 procesors(Pentium4, K7 Athlon, Cyrix-M2) and many file formats (MZ, NE,
21 PE, LE, LX, DOS.SYS, NLM, arch, ELF, a.out, coff32 PharLap, rdoff)
22
23 %description -l pl
24 BIEW (Binary vIEWer) jest zaawansowan± przegl±dark± i edytorem plików
25 binarnych. Zawiera wbudowany disasembler z suportem dla wielu nowych
26 procesorów (w tym Pentium4, Athlon i Cyrix-M2) oraz wielu formatów
27 plików wykonywalnych (MZ, NE, PE, LE, LX, DOS.SYS, NLM, arch, ELF,
28 a.out, coff32 PharLap, rdoff)
29
30 %prep
31 %setup -q -n %{name}%{version}
32 %patch0 -p1
33
34 %build
35 %ifarch %{ix86}
36  target=%{_target_cpu}
37 %else
38  target=generic
39 %endif
40
41 %{__make} \
42         TARGET_PLATFORM=$target \
43         TARGET_OS=%{_target_os} \
44         INCS="-I. -I/usr/include/ncurses" \
45         compilation=%{?debug:debug}%{!?debug:advance}
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49 install -d $RPM_BUILD_ROOT%{_bindir}/ $RPM_BUILD_ROOT%{_libdir}/biew/
50
51 install biew $RPM_BUILD_ROOT%{_bindir}
52 install bin_rc/{biew.hlp,standard.skn} $RPM_BUILD_ROOT%{_libdir}/biew/
53
54 gzip -9nf doc/*txt doc/*.en doc/*.ru
55
56 %clean 
57 rm -rf $RPM_BUILD_ROOT
58
59 %files 
60 %defattr(644,root,root,755)
61 %doc doc/*.gz
62 %attr(755,root,root) %{_bindir}/biew
63 %{_libdir}/biew
This page took 0.054344 seconds and 3 git commands to generate.