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