# # spec file for package libdvdread (Version 0.9.7) # # 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. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: libdvdread URL: http://www.dtek.chalmers.se/groups/dvd/ License: GPL v2 or later Group: Productivity/Multimedia/Other Version: 0.9.7 Release: 3 Source: libdvdread-%{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 package does not contain DeCSS algorithms). Authors: -------- Björn Englund Håkan Hjort Billy Biggs Christian Wolff %package -n libdvdread3 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 This package contains shared libraries for accessing DVD images (this package does not contain DeCSS algorithms). Authors: -------- Björn Englund Håkan Hjort Billy Biggs Christian Wolff %package devel Summary: Development Environment for libdvdread Group: Development/Libraries/C and C++ Requires: libdvdread3 = %{version} glibc-devel %description devel This package contains the include-files and static libraries for libdvdread. Authors: -------- Björn Englund Håkan Hjort Billy Biggs Christian Wolff %prep %setup -q %patch %build autoreconf -f -i %configure --disable-static --with-pic %{__make} %{?jobs:-j%jobs} %install %makeinstall ln -sf /usr/share/doc/licenses/md5/$(md5sum COPYING | sed 's/ .*//') COPYING %{__rm} -f %{buildroot}%{_libdir}/*.la %clean rm -rf $RPM_BUILD_ROOT %post -n libdvdread3 -p /sbin/ldconfig %postun -n libdvdread3 -p /sbin/ldconfig %files -n libdvdread3 %defattr(-,root,root) %{_libdir}/*.so.3* %files devel %defattr(-,root,root) %doc AUTHORS COPYING NEWS README %{_includedir}/* %{_libdir}/*.so %changelog * 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 - provide old name * 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 - Cleanup superfluous BuildRequires * Mon May 15 2006 - stark@suse.de - update to 0.9.6 * Various bug fixes * Potential memory leak fixes * Better error handling * 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 - adjusted ldconfig invocation * Tue Oct 04 2005 - stark@suse.de - build with -fno-strict-aliasing * Sun Jan 11 2004 - adrian@suse.de - add %%defattr and %%run_ldconfig * Mon Mar 24 2003 - stark@suse.de - update to 0.9.4 * Thu Jan 16 2003 - nadvornik@suse.cz - fixed to compile with new gcc * Fri Aug 09 2002 - stark@suse.de - added Requires to -devel package * Wed Jun 12 2002 - ro@suse.de - use autoreconf (fixes build on ppc64) * Tue May 28 2002 - stark@suse.de - update to 0.9.3 * Wed Feb 13 2002 - stark@suse.de - used %%{_libdir} * Mon Jan 14 2002 - stark@suse.de - bzip2 sources - fixed dlopen() to work with newer versions * Mon Jan 07 2002 - schwab@suse.de - Fix warning. * Wed Jan 02 2002 - stark@suse.de - initial package 0.9.2