[librep] fix spec-file



commit e96994768d09c08c582eaa4239be858957455357
Author: Christopher Roy Bratusek <zanghar freenet de>
Date:   Sat Sep 25 10:41:53 2010 +0200

    fix spec-file

 librep.spec.in |   17 +++++++++++------
 1 files changed, 11 insertions(+), 6 deletions(-)
---
diff --git a/librep.spec.in b/librep.spec.in
index a968b2c..854ee11 100644
--- a/librep.spec.in
+++ b/librep.spec.in
@@ -4,10 +4,11 @@ Release: 1%{?dist}
 Summary: An embeddable LISP environment
 License: GPLv2+
 Group: Development/Languages
-Source: http://download.sourceforge.net/librep/librep-%{version}.tar.bz2
-URL: http://librep.sourceforge.net/
-Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root
+Source0: http://download.tuxfamily.org/sawfish/%{name}/%{name}-%{version}.tar.bz2
+URL: http://sawfish.wikia.com/
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: gmp-devel, gdbm-devel, readline-devel, libffi-devel, texinfo
+BuildRequires: chrpath
 
 %if %{?_emacs_sitelispdir:1}%{!?_emacs_sitelispdir:0}
 %define emacs_lispdir %{_emacs_sitelispdir}
@@ -46,14 +47,13 @@ nicely interacts and integrates into emacs.
 
 %build
 %configure --with-readline --enable-shared --disable-static
-sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
-sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
 make %{?_smp_mflags}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 make install DESTDIR=$RPM_BUILD_ROOT
 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
+chrpath --delete $RPM_BUILD_ROOT%{_bindir}/rep
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -71,8 +71,9 @@ fi
 
 %files
 %defattr(-,root,root,-)
-%doc NEWS README THANKS TODO BUGS TREE HACKING
+%doc NEWS README TODO
 %dir %{_libdir}/rep/
+%dir %{_libdir}/rep/%{version}/
 %{_bindir}/rep
 %{_bindir}/rep-remote
 %{_datadir}/rep/
@@ -99,6 +100,10 @@ fi
 %{emacs_lispdir}/*.el
 
 %changelog
+* Sat Sep 25 2010 Kim B. Heino <b bbbs net> - 0.91.0-1
+- fix rpath again
+- fix doc-files, url, misc fixes
+
 * Sun Jan 10 2010 Kim B. Heino <b bbbs net> - 0.90.6-1
 - fix devel package, fix rpmlint warnings
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]