%define version 0.9.4 %define release 5mdk %define name libdvdread %define major 3 %define libname %mklibname dvdread %major Summary: Library to read DVD images Name: %name Version: %version Release: %release License: GPL Group: System/Libraries Source0: http://www.dtek.chalmers.se/groups/dvd/dist/%{name}-%{version}.tar.bz2 Patch0: %{name}-0.9.4.automake.patch.bz2 URL: http://www.dtek.chalmers.se/groups/dvd/ BuildRoot: %_tmppath/%{name}-buildroot %description libdvdread provides a simple foundation for reading DVD-Video images. %package -n %libname Summary: Library to read DVD images Group: System/Libraries %description -n %libname Libdvdread provides a simple foundation for reading DVD-Video images. This package contains the shared library to run applications utilizing libdvdread. %package -n %libname-devel Summary: Libdvdread library headers Group: Development/C Requires: %{libname} = %{version}-%release Provides: %name-devel = %version-%release %description -n %libname-devel This is the libraries, include files and other resources you can use to incorporate libdvdread into applications. %package utils Summary: Libdvdread utilities Group: Video %description utils This contains some test utilities based on libdvdread: ifo_dump, play_title and title_info. %prep %setup -q %patch %build rm missing libtoolize --copy --force aclocal autoconf automake -a -c %configure2_5x %make %install rm -rf $RPM_BUILD_ROOT %makeinstall mkdir -p %buildroot/%_bindir cp src/.libs/* %buildroot/%_bindir %post -n %libname -p /sbin/ldconfig %postun -n %libname -p /sbin/ldconfig %clean rm -rf $RPM_BUILD_ROOT %files -n %libname %defattr(644,root,root,755) %doc README AUTHORS TODO %attr(755,root,root) %{_libdir}/lib*.so.* %files -n %libname-devel %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/lib*.so %attr(755,root,root) %{_libdir}/lib*.la %_libdir/*.a %{_includedir}/dvdread %files utils %defattr(755,root,root,755) %_bindir/* %changelog * Tue Nov 30 2004 Guillaume Rousse <guillomovitch@mandrake.org> 0.9.4-5mdk - patched makefile to export UDF* symbols too - rpmbuildupdate aware * Tue Nov 9 2004 Götz Waschk <waschk@linux-mandrake.com> 0.9.4-4mdk - rebuild * Fri Aug 13 2004 Götz Waschk <waschk@linux-mandrake.com> 0.9.4-3mdk - rebuild * Wed Jul 9 2003 Götz Waschk <waschk@linux-mandrake.com> 0.9.4-2mdk - remove redundant buildrequires - autoconf 2.5 macro * Tue Apr 8 2003 Götz Waschk <waschk@linux-mandrake.com> 0.9.4-1mdk - mklibname macro - new major - new version * Fri Dec 27 2002 Götz Waschk <waschk@linux-mandrake.com> 0.9.3-4mdk - rebuild * Fri Nov 29 2002 Götz Waschk <waschk@linux-mandrake.com> 0.9.3-3mdk - remove missing docs to fix build (thanks Quel Qun) * Wed Oct 30 2002 Götz Waschk <waschk@linux-mandrake.com> 0.9.3-2mdk - fix provides and requires of devel package - fix rpmlint error - fix a typo - include the utilities in the utils package * Fri May 31 2002 Lenny Cartier <lenny@mandrakesoft.com> 0.9.3-1mdk - updated by Kenton Groombridge <kgroombr@coastalnow.net> : - Updated th version of libdvdread to 0.9.3 * Mon Nov 19 2001 Lenny Cartier <lenny@mandrakesoft.com> 0.9.2-1mdk - new