]>
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 |
74fdcd1a JP |
4 | Version: 0.16 |
5 | Release: 1 | |
713f70b7 | 6 | License: GPL |
7 | Group: Applications/Editors | |
74fdcd1a JP |
8 | Source0: https://alioth-archive.debian.org/releases/chrpath/chrpath/%{version}/%{name}-%{version}.tar.gz |
9 | ||
10 | # Source0-md5: 2bf8d1d1ee345fc8a7915576f5649982 | |
4876571d | 11 | Patch1: %{name}-multilib.patch |
fcac02b0 JB |
12 | URL: https://alioth.debian.org/projects/chrpath/ |
13 | BuildRequires: autoconf >= 2.50 | |
713f70b7 | 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 |
4876571d PS |
32 | %ifarch %{x8664} ppc64 s390x sparc64 |
33 | %patch1 -p1 | |
9a223c16 | 34 | %endif |
713f70b7 | 35 | |
36 | %build | |
e70cca99 | 37 | %{__libtoolize} |
713f70b7 | 38 | %{__aclocal} |
39 | %{__autoheader} | |
40 | %{__autoconf} | |
41 | %{__automake} | |
c067b174 PS |
42 | %configure \ |
43 | --disable-static | |
713f70b7 | 44 | %{__make} |
45 | ||
46 | %install | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
49 | %{__make} install \ | |
50 | DESTDIR=$RPM_BUILD_ROOT \ | |
51 | doc_DATA="" | |
52 | ||
53 | %clean | |
54 | rm -rf $RPM_BUILD_ROOT | |
55 | ||
56 | %files | |
57 | %defattr(644,root,root,755) | |
58 | %doc AUTHORS ChangeLog NEWS README | |
fcac02b0 | 59 | %attr(755,root,root) %{_bindir}/chrpath |
9a223c16 JB |
60 | %ifarch %{x8664} ppc64 s390x sparc64 |
61 | %attr(755,root,root) %{_libdir}/libchrpath*.so | |
62 | %endif | |
fcac02b0 | 63 | %{_mandir}/man1/chrpath.1* |