blob: 9e6391bc0ad6abf6ac39ac23c331b7574653d095 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
Summary: Tool to optimize relocations in object files
Summary(pl.UTF-8): Narzędzie optymalizujące relokacje w plikach obiektów
Name: objprelink
Version: 1
Release: 5
License: GPL
Group: Development/Tools
Source0: http://leon.bottou.com/objprelink/%{name}.c.gz
# Source0-md5: 53c4c235ec3da92e4a9fb50ffa54beeb
URL: http://leon.bottou.com/objprelink/
BuildRequires: binutils, /usr/lib/libiberty.a
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
ExclusiveArch: %{ix86} ppc
%description
This program replaces relocations in object files with less expensive
ones. This allows faster run-time dynamic linking.
%description -l pl.UTF-8
Ten program zamienia relokacje w plikach obiektów na mniej wymagające.
Dzięki temu program jest szybciej konsolidowany w momencie
uruchomienia.
%prep
%setup -q -T -c
cp -f %{SOURCE0} .
gzip -d *.gz
%build
%{__cc} %{rpmcflags} -o objprelink objprelink.c -lbfd -liberty
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_bindir}
install objprelink $RPM_BUILD_ROOT%{_bindir}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/*
|