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