xine-lib-moles on F7

"Michel Salim" <[email protected]>
Newsgroups gmane.linux.freshrpms.user
Message-ID <[email protected]>
Hi,

Just want to report that xine-lib-moles works fine on F7 after some
adjustments (regenerating the text dumps of the contents of xine-lib
and xine-lib-extras). rpmlint only gives two errors:

- Hardcoded dependency on libdvdcss (can't be avoided)
- rpath on x86_64. I threw in the tried-and-tested rpath removal
script, which works on most cases, but the dxr3 plugin still contains
rpath to /usr/lib64 (which is not necessary).

Here's the diff to the spec file I used to rebuild -- feel free to use it.

Regards,

-- 
Michel Salim
http://hircus.wordpress.com/

My theology, briefly, is that the universe was dictated but not signed.
                -- Christopher Morley
xine-lib-moles.diff (text/x-patch, 1.2 KB)
--- xine-lib-moles.spec.orig	2006-12-18 07:58:30.000000000 -0500
+++ xine-lib-moles.spec	2007-02-05 00:27:23.000000000 -0500
@@ -5,12 +5,12 @@
 
 Summary: Extra libraries for the Xine library
 Name: xine-lib-moles
-Version: 1.1.3
-Release: 1.fc6
+Version: 1.1.4
+Release: 1%{?dist}
 License: GPL
 Group: System Environment/Libraries
 URL: http://xinehq.de/
-Source0: http://dl.sf.net/xine/xine-lib-%{version}.tar.gz
+Source0: http://superb-east.dl.sourceforge.net/xine/xine-lib-%{version}.tar.gz
 # WARNING : Needs to be from the i386 package in order to contain vidix files
 Source1: rpm_-ql_xine-lib.txt
 Source2: rpm_-ql_xine-lib-extras.txt
@@ -48,6 +48,9 @@
     %{!?_with_extdvdnav:--with-included-dvdnav} \
     --with-external-a52dec \
     --with-external-libmad
+# Don't use rpath!
+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}
 
 
@@ -77,6 +80,9 @@
 
 
 %changelog
+* Sun Feb  4 2007 Michel Salim <[email protected]> 1.1.4-1
+- Update to 1.1.4.
+
 * Mon Dec 18 2006 Matthias Saou <http://freshrpms.net/> 1.1.3-1
 - Update to 1.1.3.
 - Rename xine-lib-moles as xine-lib-extras is now the package from Extras which
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.