From 11cb2a00875f6936e6d9c37cc22d64669a68324ff0673a670a0a17976461654a Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Fri, 12 Sep 2008 19:46:02 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libdvdread?expand=0&rev=5 --- libdvdread-0.9.7.tar.bz2 | 3 -- libdvdread-4.1.3.tar.bz2 | 3 ++ libdvdread-strict-aliasing.patch | 4 +- libdvdread.changes | 8 +++ libdvdread.spec | 85 +++++++++++++++++++------------- 5 files changed, 64 insertions(+), 39 deletions(-) delete mode 100644 libdvdread-0.9.7.tar.bz2 create mode 100644 libdvdread-4.1.3.tar.bz2 diff --git a/libdvdread-0.9.7.tar.bz2 b/libdvdread-0.9.7.tar.bz2 deleted file mode 100644 index e635000..0000000 --- a/libdvdread-0.9.7.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:846ca37120779240f785240f1dded78be7f909cf5c4aa826b78c5791a381b3b6 -size 281704 diff --git a/libdvdread-4.1.3.tar.bz2 b/libdvdread-4.1.3.tar.bz2 new file mode 100644 index 0000000..71c088e --- /dev/null +++ b/libdvdread-4.1.3.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:07c39907beccd141adb710403c4704a1e1fe2f3f61d1e5a74fc5bcb7679819b4 +size 96899 diff --git a/libdvdread-strict-aliasing.patch b/libdvdread-strict-aliasing.patch index f3eebf4..4e80fbe 100644 --- a/libdvdread-strict-aliasing.patch +++ b/libdvdread-strict-aliasing.patch @@ -1,5 +1,5 @@ ---- dvdread/nav_print.c -+++ dvdread/nav_print.c +--- src/nav_print.c ++++ src/nav_print.c @@ -72,7 +72,7 @@ printf("pci_gi:\n"); printf("nv_pck_lbn 0x%08x\n", pci_gi->nv_pck_lbn); diff --git a/libdvdread.changes b/libdvdread.changes index 65ff4d5..2d83cb6 100644 --- a/libdvdread.changes +++ b/libdvdread.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Sep 10 10:15:12 CEST 2008 - hvogel@suse.de + +- update to 4.1.3 fork from mplayer + * fixes regarding potential memory and resource leaks + * added dvdread-config + * added pkgconfig support + ------------------------------------------------------------------- Tue Aug 21 02:29:37 CEST 2007 - crrodriguez@suse.de diff --git a/libdvdread.spec b/libdvdread.spec index 7829250..1f88072 100644 --- a/libdvdread.spec +++ b/libdvdread.spec @@ -1,25 +1,33 @@ # -# spec file for package libdvdread (Version 0.9.7) +# spec file for package libdvdread (Version 4.1.3) # -# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. -# This file and all modifications and additions to the pristine -# package are under the same license as the package itself. +# Copyright (c) 2008 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: libdvdread -URL: http://www.dtek.chalmers.se/groups/dvd/ +Summary: Library for Reading DVD Video Images +Url: http://www.mplayerhq.hu/ License: GPL v2 or later Group: Productivity/Multimedia/Other -Version: 0.9.7 -Release: 3 -Source: libdvdread-%{version}.tar.bz2 +Version: 4.1.3 +Release: 1 +Source0: http://www1.mplayerhq.hu/MPlayer/releases/dvdnav/%{name}-%{version}.tar.bz2 Patch: libdvdread-strict-aliasing.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build -Summary: Library for Reading DVD Video Images %description This package contains shared libraries for accessing DVD images (this @@ -34,14 +42,14 @@ Authors: Billy Biggs Christian Wolff -%package -n libdvdread3 +%package -n libdvdread4 +License: GPL v2 or later Summary: Library for Reading DVD Video Images Group: Productivity/Multimedia/Other Provides: %{name} = %{version} -#opensuse 10.2 Obsoletes: %{name} <= 0.9.7 -%description -n libdvdread3 +%description -n libdvdread4 This package contains shared libraries for accessing DVD images (this package does not contain DeCSS algorithms). @@ -55,9 +63,10 @@ Authors: Christian Wolff %package devel +License: GPL v2 or later Summary: Development Environment for libdvdread Group: Development/Libraries/C and C++ -Requires: libdvdread3 = %{version} glibc-devel +Requires: libdvdread4 = %{version} glibc-devel %description devel This package contains the include-files and static libraries for @@ -89,33 +98,41 @@ ln -sf /usr/share/doc/licenses/md5/$(md5sum COPYING | sed 's/ .*//') COPYING %clean rm -rf $RPM_BUILD_ROOT -%post -n libdvdread3 -p /sbin/ldconfig +%post -n libdvdread4 -p /sbin/ldconfig -%postun -n libdvdread3 -p /sbin/ldconfig +%postun -n libdvdread4 -p /sbin/ldconfig -%files -n libdvdread3 +%files -n libdvdread4 %defattr(-,root,root) -%{_libdir}/*.so.3* +%{_libdir}/*.so.4* %files devel %defattr(-,root,root) %doc AUTHORS COPYING NEWS README %{_includedir}/* %{_libdir}/*.so +%_bindir/dvdread-config +%_libdir/pkgconfig/dvdread.pc +%_datadir/aclocal/dvdread.m4 %changelog -* Tue Aug 21 2007 - crrodriguez@suse.de +* Wed Sep 10 2008 hvogel@suse.de +- update to 4.1.3 fork from mplayer + * fixes regarding potential memory and resource leaks + * added dvdread-config + * added pkgconfig support +* Tue Aug 21 2007 crrodriguez@suse.de - fix devel package dependencies - remote static libraries and pointless libtool archive -* Mon Jul 30 2007 - ro@suse.de +* Mon Jul 30 2007 ro@suse.de - provide old name -* Wed Jul 25 2007 - sbrabec@suse.cz +* Wed Jul 25 2007 sbrabec@suse.cz - Updated to version 0.9.7: * Properly call dvdinput_free(). - Name package according to shared library packaging policy. -* Mon Jun 12 2006 - kukuk@suse.de +* Mon Jun 12 2006 kukuk@suse.de - Cleanup superfluous BuildRequires -* Mon May 15 2006 - stark@suse.de +* Mon May 15 2006 stark@suse.de - update to 0.9.6 * Various bug fixes * Potential memory leak fixes @@ -123,28 +140,28 @@ rm -rf $RPM_BUILD_ROOT * Some support for multithreaded apps * Added DVDFileStat() call * Fixed a missing attribute packed for app_info in audio_attr_t -* Fri Dec 16 2005 - stark@suse.de +* Sat Dec 17 2005 stark@suse.de - adjusted ldconfig invocation -* Tue Oct 04 2005 - stark@suse.de +* Tue Oct 04 2005 stark@suse.de - build with -fno-strict-aliasing -* Sun Jan 11 2004 - adrian@suse.de +* Sun Jan 11 2004 adrian@suse.de - add %%defattr and %%run_ldconfig -* Mon Mar 24 2003 - stark@suse.de +* Mon Mar 24 2003 stark@suse.de - update to 0.9.4 -* Thu Jan 16 2003 - nadvornik@suse.cz +* Thu Jan 16 2003 nadvornik@suse.cz - fixed to compile with new gcc -* Fri Aug 09 2002 - stark@suse.de +* Fri Aug 09 2002 stark@suse.de - added Requires to -devel package -* Wed Jun 12 2002 - ro@suse.de +* Wed Jun 12 2002 ro@suse.de - use autoreconf (fixes build on ppc64) -* Tue May 28 2002 - stark@suse.de +* Tue May 28 2002 stark@suse.de - update to 0.9.3 -* Wed Feb 13 2002 - stark@suse.de +* Wed Feb 13 2002 stark@suse.de - used %%{_libdir} -* Mon Jan 14 2002 - stark@suse.de +* Mon Jan 14 2002 stark@suse.de - bzip2 sources - fixed dlopen() to work with newer versions -* Mon Jan 07 2002 - schwab@suse.de +* Mon Jan 07 2002 schwab@suse.de - Fix warning. -* Wed Jan 02 2002 - stark@suse.de +* Wed Jan 02 2002 stark@suse.de - initial package 0.9.2