]> git.pld-linux.org Git - packages/chrpath.git/blobdiff - chrpath.spec
- rediffed
[packages/chrpath.git] / chrpath.spec
index 34c137e1051096e843cb28b93a536b09c7d11de9..fa49997e82320297dec4bb5ac5d9bdf265785758 100644 (file)
@@ -1,16 +1,18 @@
-# TODO: biarch support (work on ELF32 binaries too in 64-bit version)
 Summary:       chrpath - change the rpath or runpath in binaries
-Summary(pl):   chrpath - narzêdzie do zmiany rpath lub runpath w binariach
+Summary(pl.UTF-8):     chrpath - narzędzie do zmiany rpath lub runpath w binariach
 Name:          chrpath
-Version:       0.13
+Version:       0.16
 Release:       1
 License:       GPL
 Group:         Applications/Editors
-#Source0ActiveFtp
-Source0:       ftp://ftp.hungry.com/pub/hungry/chrpath/%{name}-%{version}.tar.gz
-# Source0-md5: b73072a8fbba277558c50364b65bb407
-BuildRequires: autoconf
+Source0:       https://alioth-archive.debian.org/releases/chrpath/chrpath/%{version}/%{name}-%{version}.tar.gz
+
+# Source0-md5: 2bf8d1d1ee345fc8a7915576f5649982
+Patch1:                %{name}-multilib.patch
+URL:           https://alioth.debian.org/projects/chrpath/
+BuildRequires: autoconf >= 2.50
 BuildRequires: automake
+BuildRequires: libtool
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                no_install_post_chrpath 1
@@ -20,20 +22,25 @@ chrpath changes, lists or removes the rpath or runpath setting in a
 binary. The rpath, or runpath if it is present, is where the runtime
 linker should look for the libraries needed for a program.
 
-%description -l pl
+%description -l pl.UTF-8
 chrpath zmienia, pokazuje lub usuwa ustawienia rpath lub runpath w
-binariach. rpath lub runpath, jeli jest ustawione, pokazuje miejsce,
-w którym linker powinien szukaæ bibliotek wymaganych przez program.
+binariach. rpath lub runpath, jeśli jest ustawione, pokazuje miejsce,
+w którym linker powinien szukać bibliotek wymaganych przez program.
 
 %prep
 %setup -q
+%ifarch %{x8664} ppc64 s390x sparc64
+%patch1 -p1
+%endif
 
 %build
+%{__libtoolize}
 %{__aclocal}
 %{__autoheader}
 %{__autoconf}
 %{__automake}
-%configure
+%configure \
+       --disable-static
 %{__make}
 
 %install
@@ -49,5 +56,8 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README
-%attr(755,root,root) %{_bindir}/*
-%{_mandir}/man1/*
+%attr(755,root,root) %{_bindir}/chrpath
+%ifarch %{x8664} ppc64 s390x sparc64
+%attr(755,root,root) %{_libdir}/libchrpath*.so
+%endif
+%{_mandir}/man1/chrpath.1*
This page took 0.400282 seconds and 4 git commands to generate.