]> git.pld-linux.org Git - packages/elftoaout.git/blob - elftoaout.spec
69a5499d34a7c5594239749e38f441706ba20592
[packages/elftoaout.git] / elftoaout.spec
1 Summary:        A utility for converting ELF binaries to a.out binaries.
2 Name:           elftoaout
3 Version:        2.2
4 Release:        3
5 License:        GPL
6 Group:          Utilities/System
7 Group(pl):      Narzêdzia/System
8 Source0:        ftp://sunsite.mff.cuni.cz/OS/Linux/Sparc/local/elftoaout/%{name}-%{version}.tgz
9 ExclusiveArch:  sparc sparc64
10 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
11
12 %description
13 The elftoaout utility converts a static ELF binary to a static a.out
14 binary. If you're using an ELF system (i.e., Red Hat Linux) on a
15 SPARC, you'll need to run elftoaout on the kernel image so that the
16 SPARC PROM can netboot the image.
17
18 If you're installing Red Hat Linux on a SPARC, you'll need to install
19 the elftoaout package.
20
21 %description -l pl
22 Narzêdzie elftoaout konwertuje statyczne binaria ELF do statycznych
23 binariów a.out. Je¶li u¿ywacie systemu opartego na ELF-ie na SPARC-u,
24 bêdziecie musieli przekonwertowaæ obraz kernela za pomoc± elftoaout,
25 aby SPARC PROM móg³ go uruchomiæ z sieci. Je¶li instaluje siê Linuksa
26 na SPARC-u, nale¿y zainstalowaæ pakiet elftoaout.
27
28 %prep
29 %setup -q
30
31 %build
32 make
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
37
38 install -s elftoaout $RPM_BUILD_ROOT%{_bindir}/elftoaout
39 install elftoaout.1 $RPM_BUILD_ROOT%{_mandir}/man1/elftoaout.1
40
41 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/*
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46 %files
47 %defattr(644,root,root,755)
48 %attr(755,root,root) %{_bindir}/elftoaout
49 %{_mandir}/man1/*
This page took 0.039065 seconds and 2 git commands to generate.