]> git.pld-linux.org Git - packages/chrpath.git/blob - chrpath.spec
4923b339a0f169f0095c256fb0dc368b41053862
[packages/chrpath.git] / chrpath.spec
1 Summary:        chrpath - change the rpath or runpath in binaries
2 Summary(pl.UTF-8):      chrpath - narzędzie do zmiany rpath lub runpath w binariach
3 Name:           chrpath
4 Version:        0.14
5 Release:        1
6 License:        GPL
7 Group:          Applications/Editors
8 #Source0ActiveFtp
9 Source0:        https://alioth.debian.org/frs/download.php/file/3648/%{name}-%{version}.tar.gz
10 # Source0-md5:  ea6b212b23393bf58b0ef9bcf6491b86
11 Patch0:         %{name}-keepgoing.patch
12 Patch1:         %{name}-multilib.patch
13 URL:            https://alioth.debian.org/projects/chrpath/
14 BuildRequires:  autoconf >= 2.50
15 BuildRequires:  automake
16 BuildRequires:  libtool
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %define         no_install_post_chrpath 1
20
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
26 %description -l pl.UTF-8
27 chrpath zmienia, pokazuje lub usuwa ustawienia rpath lub runpath w
28 binariach. rpath lub runpath, jeśli jest ustawione, pokazuje miejsce,
29 w którym linker powinien szukać bibliotek wymaganych przez program.
30
31 %prep
32 %setup -q
33 %patch0 -p1
34 %ifarch %{x8664} ppc64 s390x sparc64
35 %patch1 -p1
36 %endif
37
38 %build
39 %{__libtoolize}
40 %{__aclocal}
41 %{__autoheader}
42 %{__autoconf}
43 %{__automake}
44 %configure \
45         --disable-static
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
61 %attr(755,root,root) %{_bindir}/chrpath
62 %ifarch %{x8664} ppc64 s390x sparc64
63 %attr(755,root,root) %{_libdir}/libchrpath*.so
64 %endif
65 %{_mandir}/man1/chrpath.1*
This page took 0.026339 seconds and 2 git commands to generate.