]>
Commit | Line | Data |
---|---|---|
713f70b7 | 1 | Summary: chrpath - change the rpath or runpath in binaries |
b2df3966 | 2 | Summary(pl.UTF-8): chrpath - narzędzie do zmiany rpath lub runpath w binariach |
713f70b7 | 3 | Name: chrpath |
7c7e424a | 4 | Version: 0.13 |
4876571d | 5 | Release: 2 |
713f70b7 | 6 | License: GPL |
7 | Group: Applications/Editors | |
00a9cfcb | 8 | #Source0ActiveFtp |
713f70b7 | 9 | Source0: ftp://ftp.hungry.com/pub/hungry/chrpath/%{name}-%{version}.tar.gz |
7c7e424a | 10 | # Source0-md5: b73072a8fbba277558c50364b65bb407 |
4876571d PS |
11 | Patch0: %{name}-keepgoing.patch |
12 | Patch1: %{name}-multilib.patch | |
713f70b7 | 13 | BuildRequires: autoconf |
14 | BuildRequires: automake | |
e70cca99 | 15 | BuildRequires: libtool |
713f70b7 | 16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
17 | ||
ab8c7471 | 18 | %define no_install_post_chrpath 1 |
c7b1fa76 | 19 | |
713f70b7 | 20 | %description |
21 | chrpath changes, lists or removes the rpath or runpath setting in a | |
22 | binary. The rpath, or runpath if it is present, is where the runtime | |
23 | linker should look for the libraries needed for a program. | |
24 | ||
fe9d906f | 25 | %description -l pl.UTF-8 |
9308e7bc | 26 | chrpath zmienia, pokazuje lub usuwa ustawienia rpath lub runpath w |
fe9d906f JR |
27 | binariach. rpath lub runpath, jeśli jest ustawione, pokazuje miejsce, |
28 | w którym linker powinien szukać bibliotek wymaganych przez program. | |
9308e7bc | 29 | |
713f70b7 | 30 | %prep |
9308e7bc | 31 | %setup -q |
e70cca99 | 32 | %patch0 -p1 |
4876571d PS |
33 | %ifarch %{x8664} ppc64 s390x sparc64 |
34 | %patch1 -p1 | |
9a223c16 | 35 | %endif |
713f70b7 | 36 | |
37 | %build | |
e70cca99 | 38 | %{__libtoolize} |
713f70b7 | 39 | %{__aclocal} |
40 | %{__autoheader} | |
41 | %{__autoconf} | |
42 | %{__automake} | |
c067b174 PS |
43 | %configure \ |
44 | --disable-static | |
713f70b7 | 45 | %{__make} |
46 | ||
47 | %install | |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | ||
50 | %{__make} install \ | |
51 | DESTDIR=$RPM_BUILD_ROOT \ | |
52 | doc_DATA="" | |
53 | ||
54 | %clean | |
55 | rm -rf $RPM_BUILD_ROOT | |
56 | ||
57 | %files | |
58 | %defattr(644,root,root,755) | |
59 | %doc AUTHORS ChangeLog NEWS README | |
60 | %attr(755,root,root) %{_bindir}/* | |
9a223c16 JB |
61 | %ifarch %{x8664} ppc64 s390x sparc64 |
62 | %attr(755,root,root) %{_libdir}/libchrpath*.so | |
63 | %endif | |
713f70b7 | 64 | %{_mandir}/man1/* |