--- /dev/null
+Name: chrpath
+Version: 0.16
+Release: 1
+License: GPL-2.0+
+Summary: Modify rpath of compiled programs
+Url: http://www.tux.org/pub/X-Windows/ftp.hungry.com/chrpath/
+Group: Development/Tools
+Source0: %{name}-%{version}.tar.gz
+Source1001: chrpath.manifest
+
+%description
+chrpath allows you to modify the dynamic library load path (rpath) of
+compiled programs. Currently, only removing and modifying the rpath
+is supported.
+
+%prep
+%setup -q
+cp %{SOURCE1001} .
+
+
+%build
+export CFLAGS+=" -fPIC"
+export LDFLAGS+=" -pie"
+
+chmod +x ./bootstrap
+./bootstrap
+%configure --disable-static
+# Call make instruction with smp support
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+rm -rf %{buildroot}%{_prefix}/doc/%{name}-%{version}
+%remove_docs
+
+%files
+%manifest %{name}.manifest
+%license COPYING
+%{_bindir}/chrpath
+
+