File chrpath.spec of Package chrpath

#
# spec file for package chrpath
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           chrpath
Summary:        Modifies the dynamic library load path (rpath and runpath) of compiled programs and libraries
Version:        0.13
Release:        136
License:        GPL-2.0+
Group:          Development/Tools/Building
Source:         ftp://ftp.hungry.com/pub/hungry/%{name}/%{name}-%{version}.tar.gz
Url:            http://freshmeat.net/projects/chrpath
AutoReqProv:    on
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Chrpath allows you to modify the dynamic library load path (rpath) of
compiled programs. Currently, only removing and modifying the rpath is
supported. It cannot extend or add an rpath.



Authors:
--------
    Petter Reinholdtsen <pere@hungry.com>

%prep
%setup -q

%build
%configure 
make -C testsuite prog CC="%__cc $RPM_OPT_FLAGS"
make

%install
make install DESTDIR=$RPM_BUILD_ROOT prefix=/usr doc_DATA= mandir=/usr/share/man

%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog NEWS README
%doc %{_mandir}/man1/*
%{_bindir}/*

%changelog
openSUSE Build Service is sponsored by