]> git.pld-linux.org Git - packages/biew.git/blob - biew.spec
- initial rpm version
[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:        520
5 Release:        1
6 License:        GPL
7 Group:          Applications/Editors
8 Group(pl):      Aplikacje/Edytory
9 Source0:        ftp://biew.sourceforge.net/pub/biew/%{name}-%{version}.tar.bz2
10 Patch0:         biew-CURSES.patch
11 URL:            http://biew.sourceforge.net/
12 BuildRequires: ncurses-devel
13 Buildroot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 BIEW is advenced Binary vIEWer with built-in editor for binary,
17 hexadecimal and disassembler modes. His disassembler support many
18 procesors(Pentium4, K7 Athlon, Cyrix-M2) and many file formats(MZ, NE,
19 PE, LE, LX, DOS.SYS, NLM, arch, ELF, a.out, coff32 PharLap, rdoff)
20
21 %description -l pl
22 BIEW(Binary vIEWer) jest zaawansowan± przegl±dark± i edytorem plików
23 binarnych. Zawiera wbudowany disasembler z suportem 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
30 %setup -q 
31 %patch0 -p1
32
33 %build
34 %ifarch %{ix86}
35  target=%{_target_cpu}
36 %else
37  target=generic
38 %endif
39
40 %{__make} TARGET_PLATFORM=$target TARGET_OS=%{_target_os} compilation=advenced
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44 install -d $RPM_BUILD_ROOT%{_bindir}/ $RPM_BUILD_ROOT%{_libdir}/biew/
45 install biew $RPM_BUILD_ROOT%{_bindir}
46 install bin_rc/biew.hlp $RPM_BUILD_ROOT%{_libdir}/biew/
47 install bin_rc/standard.skn $RPM_BUILD_ROOT%{_libdir}/biew/
48 gzip -9nf doc/*txt doc/*.en doc/*.ru
49
50 %clean 
51 rm -rf $RPM_BUILD_ROOT
52
53 %files 
54 %defattr(644,root,root,755)
55 %attr(755,root,root) %{_bindir}/biew
56 %dir %{_libdir}/biew
57 %{_libdir}/biew/*
58 %doc doc/biew_en.txt* doc/release.txt* doc/unix.txt*
This page took 0.027921 seconds and 3 git commands to generate.