]> git.pld-linux.org Git - packages/chrpath.git/blob - chrpath.spec
- rediffed
[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.16
5 Release:        1
6 License:        GPL
7 Group:          Applications/Editors
8 Source0:        https://alioth-archive.debian.org/releases/chrpath/chrpath/%{version}/%{name}-%{version}.tar.gz
9
10 # Source0-md5:  2bf8d1d1ee345fc8a7915576f5649982
11 Patch1:         %{name}-multilib.patch
12 URL:            https://alioth.debian.org/projects/chrpath/
13 BuildRequires:  autoconf >= 2.50
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 %ifarch %{x8664} ppc64 s390x sparc64
33 %patch1 -p1
34 %endif
35
36 %build
37 %{__libtoolize}
38 %{__aclocal}
39 %{__autoheader}
40 %{__autoconf}
41 %{__automake}
42 %configure \
43         --disable-static
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
59 %attr(755,root,root) %{_bindir}/chrpath
60 %ifarch %{x8664} ppc64 s390x sparc64
61 %attr(755,root,root) %{_libdir}/libchrpath*.so
62 %endif
63 %{_mandir}/man1/chrpath.1*
This page took 0.117753 seconds and 4 git commands to generate.