]>
Commit | Line | Data |
---|---|---|
f0e136b7 | 1 | Summary: A utility for converting ELF binaries to a.out binaries |
22de4e47 | 2 | Summary(pl.UTF-8): Narzędzie do konwersji binariów ELF do a.out |
5a69c9b2 | 3 | Name: elftoaout |
f0e136b7 | 4 | Version: 2.3 |
dc06399b PS |
5 | Release: 1.1 |
6 | License: GPL v2 | |
8262fc01 | 7 | Group: Applications/System |
aa7e62cd | 8 | Source0: ftp://sunsite.icm.edu.pl/site/linux-sparc/elftoaout/%{name}-%{version}.tgz |
8a686b34 | 9 | # Source0-md5: be3bd6f7ba8ae107cbdbaa820ba64f86 |
ffb137b7 | 10 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
e4048f37 JR |
11 | |
12 | %description | |
13 | The elftoaout utility converts a static ELF binary to a static a.out | |
5a69c9b2 | 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. | |
e4048f37 | 17 | |
5a69c9b2 | 18 | If you're installing Red Hat Linux on a SPARC, you'll need to install |
19 | the elftoaout package. | |
e4048f37 | 20 | |
d5d968e2 JR |
21 | %description -l pl.UTF-8 |
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. | |
d69d9223 | 27 | |
e4048f37 JR |
28 | %prep |
29 | %setup -q | |
30 | ||
31 | %build | |
3e21d07e | 32 | %{__make} \ |
33 | CFLAGS="%{rpmcflags}" | |
e4048f37 JR |
34 | |
35 | %install | |
36 | rm -rf $RPM_BUILD_ROOT | |
5a69c9b2 | 37 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} |
e4048f37 | 38 | |
8262fc01 | 39 | install elftoaout $RPM_BUILD_ROOT%{_bindir}/elftoaout |
5a69c9b2 | 40 | install elftoaout.1 $RPM_BUILD_ROOT%{_mandir}/man1/elftoaout.1 |
e4048f37 | 41 | |
e4048f37 JR |
42 | %clean |
43 | rm -rf $RPM_BUILD_ROOT | |
44 | ||
45 | %files | |
5a69c9b2 | 46 | %defattr(644,root,root,755) |
47 | %attr(755,root,root) %{_bindir}/elftoaout | |
48 | %{_mandir}/man1/* |