]> git.pld-linux.org Git - packages/chrpath.git/blob - chrpath.spec
edeceb7498caba688296844e4b2a1743d9aa7554
[packages/chrpath.git] / chrpath.spec
1 Summary:        chrpath - change the rpath or runpath in binaries
2 Summary(pl):    chrpath - narzêdzie do zmiany rpath lub runpath w binariach
3 Name:           chrpath
4 Version:        0.13
5 Release:        1.1
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}-multilib.patch
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  libtool
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %define         no_install_post_chrpath 1
18
19 %description
20 chrpath changes, lists or removes the rpath or runpath setting in a
21 binary. The rpath, or runpath if it is present, is where the runtime
22 linker should look for the libraries needed for a program.
23
24 %description -l pl
25 chrpath zmienia, pokazuje lub usuwa ustawienia rpath lub runpath w
26 binariach. rpath lub runpath, je¶li jest ustawione, pokazuje miejsce,
27 w którym linker powinien szukaæ bibliotek wymaganych przez program.
28
29 %prep
30 %setup -q
31 %ifarch %{x8664} ppc64 s390x sparc64
32 %patch0 -p1
33 %endif
34
35 %build
36 %{__libtoolize}
37 %{__aclocal}
38 %{__autoheader}
39 %{__autoconf}
40 %{__automake}
41 %configure
42 %{__make}
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46
47 %{__make} install \
48         DESTDIR=$RPM_BUILD_ROOT \
49         doc_DATA=""
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %files
55 %defattr(644,root,root,755)
56 %doc AUTHORS ChangeLog NEWS README
57 %attr(755,root,root) %{_bindir}/*
58 %ifarch %{x8664} ppc64 s390x sparc64
59 %attr(755,root,root) %{_libdir}/libchrpath*.so
60 %endif
61 %{_mandir}/man1/*
This page took 0.157426 seconds and 3 git commands to generate.