]> git.pld-linux.org Git - packages/chrpath.git/blob - chrpath.spec
- rel 3
[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.13
5 Release:        3
6 License:        GPL
7 Group:          Applications/Editors
8 #Source0ActiveFtp
9 Source0:        ftp://ftp.hungry.com/pub/hungry/chrpath/%{name}-%{version}.tar.gz
10 # Source0-md5:  b73072a8fbba277558c50364b65bb407
11 Patch0:         %{name}-keepgoing.patch
12 Patch1:         %{name}-multilib.patch
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  libtool
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %define         no_install_post_chrpath 1
19
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
25 %description -l pl.UTF-8
26 chrpath zmienia, pokazuje lub usuwa ustawienia rpath lub runpath w
27 binariach. rpath lub runpath, jeśli jest ustawione, pokazuje miejsce,
28 w którym linker powinien szukać bibliotek wymaganych przez program.
29
30 %prep
31 %setup -q
32 %patch0 -p1
33 %ifarch %{x8664} ppc64 s390x sparc64
34 %patch1 -p1
35 %endif
36
37 %build
38 %{__libtoolize}
39 %{__aclocal}
40 %{__autoheader}
41 %{__autoconf}
42 %{__automake}
43 %configure \
44         --disable-static
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}/*
61 %ifarch %{x8664} ppc64 s390x sparc64
62 %attr(755,root,root) %{_libdir}/libchrpath*.so
63 %endif
64 %{_mandir}/man1/*
This page took 0.046881 seconds and 3 git commands to generate.