# # spec file for package libcdio-mini (Version 0.79) # # 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: libcdio-mini # WARNING: Do not edit this auto generated file. #%(sh %{_sourcedir}/libcdio_spec-prepare.sh %{_sourcedir} %{name}) # You want standard build unless you will work-around build dependency on itself. %define STANDARD_BUILD 0 %define _name libcdio BuildRequires: gcc-c++ licenses pkg-config popt-devel %if %STANDARD_BUILD BuildRequires: libcddb-devel libcdio-devel ncurses-devel vcdimager-devel # Only for regression testing: #BuildRequires: cdparanoia %endif Version: 0.79 Release: 3 # WARNING: After changing versions please call Re or rpmbuild to auto-update spec file: %define libcdio_name 7 %define libcdio_paranoia_name 0 %define libcdio_cdda_name 0 %define libcdio++_name 0 %define libiso9660_name 5 %define libudf_name 0 Url: http://www.gnu.org/software/libcdio/ Group: Productivity/Multimedia/Other License: GPL v2 or later Summary: CD-ROM Access Library (internal featureless package breaking dependency loop) Source: %{_name}-%{version}.tar.bz2 Source1: %{_name}_spec-prepare.sh Source2: libcdio-mini-%{version}-rpmlintrc Requires: licenses %if %STANDARD_BUILD == 0 Provides: %{_name} = %{version} %endif BuildRoot: %{_tmppath}/%{name}-%{version}-build Patch0: libcdio-gcc43.patch %description This library encapsulates CD-ROM reading and control. Applications wanting to be oblivious to the OS and device-dependent properties of a CD-ROM can use this library. Authors: -------- Herbert Valerio Riedel Rocky Bernstein %package -n libcdio7-mini Provides: libcdio-mini = %{version}-%{release} Group: Productivity/Multimedia/Other Summary: CD-ROM Access Library # Name for <= 10.2 Obsoletes: libcdio <= 0.78.2 Provides: libcdio = %{version} %description -n libcdio7-mini This library encapsulates CD-ROM reading and control. Applications wanting to be oblivious to the OS and device-dependent properties of a CD-ROM can use this library. Authors: -------- Herbert Valerio Riedel Rocky Bernstein %package -n libcdio_cdda0-mini Group: Productivity/Multimedia/Other Summary: CD-ROM Access Library %description -n libcdio_cdda0-mini This library encapsulates CD-ROM reading and control. Applications wanting to be oblivious to the OS and device-dependent properties of a CD-ROM can use this library. Authors: -------- Herbert Valerio Riedel Rocky Bernstein %package -n libcdio_paranoia0-mini Group: Productivity/Multimedia/Other Summary: CD-ROM Access Library %description -n libcdio_paranoia0-mini This library encapsulates CD-ROM reading and control. Applications wanting to be oblivious to the OS and device-dependent properties of a CD-ROM can use this library. Authors: -------- Herbert Valerio Riedel Rocky Bernstein %package -n libcdio++0-mini Group: Productivity/Multimedia/Other Summary: CD-ROM Access Library %description -n libcdio++0-mini This library encapsulates CD-ROM reading and control. Applications wanting to be oblivious to the OS and device-dependent properties of a CD-ROM can use this library. Authors: -------- Herbert Valerio Riedel Rocky Bernstein %package -n libiso9660-5-mini Group: Productivity/Multimedia/Other Summary: CD-ROM Access Library %description -n libiso9660-5-mini This library encapsulates CD-ROM reading and control. Applications wanting to be oblivious to the OS and device-dependent properties of a CD-ROM can use this library. Authors: -------- Herbert Valerio Riedel Rocky Bernstein %package -n libudf0-mini Group: Productivity/Multimedia/Other Summary: CD-ROM Access Library %description -n libudf0-mini This library encapsulates CD-ROM reading and control. Applications wanting to be oblivious to the OS and device-dependent properties of a CD-ROM can use this library. Authors: -------- Herbert Valerio Riedel Rocky Bernstein %package utils Group: Productivity/Multimedia/Other Summary: CD-ROM Access Library PreReq: %install_info_prereq %description utils This library encapsulates CD-ROM reading and control. Applications wanting to be oblivious to the OS and device-dependent properties of a CD-ROM can use this library. Authors: -------- Herbert Valerio Riedel Rocky Bernstein %package devel Group: Productivity/Multimedia/Other Summary: CD-ROM access library (internal featureless package breaking dependency loop) Requires: libcdio7-mini = %{version} libcdio_cdda0-mini = %{version} libcdio_paranoia0-mini = %{version} libcdio++0-mini = %{version} libiso9660-5-mini = %{version} libudf0-mini = %{version} glibc-devel %if %STANDARD_BUILD == 0 Provides: %{_name}-devel = %{version} %endif %description devel This library encapsulates CD-ROM reading and control. Applications wanting to be oblivious to the OS and device-dependent properties of a CD-ROM can use this library. Authors: -------- Herbert Valerio Riedel Rocky Bernstein %prep %setup -q -n %{_name}-%{version} %patch0 %build %configure --disable-static --with-pic make %{?jobs:-j%jobs} %install %makeinstall mv $RPM_BUILD_ROOT%{_mandir}/jp $RPM_BUILD_ROOT%{_mandir}/ja for FILE in COPYING ; do MD5SUM=$(md5sum $FILE | sed 's/ .*//') if test -f /usr/share/doc/licenses/md5/$MD5SUM ; then ln -sf /usr/share/doc/licenses/md5/$MD5SUM $FILE fi done #empty depdendency libs rm -f %{buildroot}%{_libdir}/*.la %clean rm -rf $RPM_BUILD_ROOT %post -n libcdio7-mini -p /sbin/ldconfig %post -n libcdio_cdda0-mini -p /sbin/ldconfig %post -n libcdio_paranoia0-mini -p /sbin/ldconfig %post -n libcdio++0-mini -p /sbin/ldconfig %post -n libiso9660-5-mini -p /sbin/ldconfig %post -n libudf0-mini -p /sbin/ldconfig %postun -n libcdio7-mini -p /sbin/ldconfig %postun -n libcdio_cdda0-mini -p /sbin/ldconfig %postun -n libcdio_paranoia0-mini -p /sbin/ldconfig %postun -n libcdio++0-mini -p /sbin/ldconfig %postun -n libiso9660-5-mini -p /sbin/ldconfig %postun -n libudf0-mini -p /sbin/ldconfig %post utils %install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz %postun utils %install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz %files -n libcdio7-mini %defattr (-, root, root) %{_libdir}/libcdio.so.* %files -n libcdio_cdda0-mini %defattr (-, root, root) %{_libdir}/libcdio_cdda.so.* %files -n libcdio_paranoia0-mini %defattr (-, root, root) %{_libdir}/libcdio_paranoia.so.* %files -n libcdio++0-mini %defattr (-, root, root) %{_libdir}/libcdio++.so.* %{_libdir}/libiso9660++.so.* %files -n libiso9660-5-mini %defattr (-, root, root) %{_libdir}/libiso9660.so.* %files -n libudf0-mini %defattr (-, root, root) %{_libdir}/libudf.so.* %files utils %defattr (-, root, root) %doc AUTHORS COPYING ChangeLog NEWS README README.libcdio THANKS TODO %{_bindir}/cd-* %if %STANDARD_BUILD %{_bindir}/cdda-* %endif %{_bindir}/iso-* %{_bindir}/mmc-* %doc %{_infodir}/*.info* %doc %{_mandir}/man?/*.* %lang(ja) %doc %{_mandir}/ja/man?/*.* %files devel %defattr (-, root, root) %{_includedir}/cdio %{_includedir}/cdio++ %{_libdir}/libcdio*.so %{_libdir}/libiso9660*.so %{_libdir}/libudf*.so %{_libdir}/pkgconfig/*.pc %changelog * Wed Dec 05 2007 - ro@suse.de - provide main package name in library package for debuginfo for mini package * Fri Nov 16 2007 - sbrabec@suse.cz - Removed unwanted NoSource preventing mirroring to Factory. * Fri Nov 09 2007 - crrodriguez@suse.de - fix build with gcc43 - update to version 0.79 * libcdio cdparanoia doing the wrong thing on a single-sector read. Savannah patch #5999. * Leds to an open file descriptor making it impossible of e.g. unmounting a CDROM containing the file. Savannah bug #21147. * bug #19221 (possibly): memory Leak opening an inaccessible device * more than 30 other bugfixes - remove libtool archives with empty dependency_libs - exclude static libraries * Tue Aug 07 2007 - sbrabec@suse.cz - Fixed mini file list. * Sun Aug 05 2007 - coolo@suse.de - adding versioned provides for upgrade * Fri Jul 20 2007 - sbrabec@suse.cz - Updated to version 0.78.2: * Fixed bug in libcdio.so version numbering. * Added mmc-tool and mmc-close-tray. * libudf: can now read (extract) file data, at least for ICB strategy type 4. * libcdio is starting to get updated for UTF-8 support. * Fixes to eject. * Other fixes. - Split package according to shared library packaging policy. - Added script to convert libcdio.spec to libcdio-mini.spec and update library package names. * Mon Mar 12 2007 - sbrabec@suse.cz - Fixed NoSrc and Provides of temporary package. * Fri Oct 06 2006 - sbrabec@suse.cz - Updated to version 0.77: * Added object-oriented C++ wrapper. * Replaced libpopt with getopt in binaries. * Documented cd-paranoia. * Added cdio_eject_media_drive. * Added more generic read_sectors(). * Some provision for handling Rock-Ridge device numbers. * Block read routines return success if asked to read 0 blocks. * Start UDF handling * Improved developer documentation. * Code improvements. * Bug fixes. * Small cdda-player improvements. * NRG checking parses file. * Revised and improved example programs. * Replaced all uses of strcat and strcpy with strncat and strncpy. * Mon Jul 03 2006 - max@suse.de - Added gcc-c++ to neededforbuild. * Fri Jun 30 2006 - sbrabec@suse.cz - Fixed cyclic dependencies in a correct way. * Tue Jun 27 2006 - sbrabec@suse.cz - Use NoSource in libcdio-mini. * Thu Jun 22 2006 - sbrabec@suse.cz - Simpler solution of cyclic dependencies. * Tue Jan 31 2006 - sbrabec@suse.cz - Do not link with invalid rpath. - Enabled parallel build. - Fixed devel splitting. * Thu Jan 26 2006 - sbrabec@suse.cz - Added %%install_info_prereq. * Wed Jan 25 2006 - mls@suse.de - converted neededforbuild to BuildRequires * Tue Nov 08 2005 - sbrabec@suse.cz - Fixed libiso9660.la circular dependency prevention trick. * Wed Oct 26 2005 - sbrabec@suse.cz - Updated to version 0.76. - Build as user. * Fri Aug 05 2005 - sbrabec@suse.cz - Build with libcddb-1.2.1. * Fri Jul 29 2005 - sbrabec@suse.cz - Updated to version 0.75. * Mon May 09 2005 - sbrabec@suse.cz - Build with libcddb-1.0.2. * Tue Apr 26 2005 - sbrabec@suse.cz - Updated to version 0.73. * Fri Apr 01 2005 - meissner@suse.de - fixed gcc4 compile problem. * Thu Feb 03 2005 - sbrabec@suse.cz - Updated to version 0.72. * Mon Jan 31 2005 - sbrabec@suse.cz - Updated to version 0.72rc2. * Mon Jan 24 2005 - sbrabec@suse.cz - Updated to version 0.71. * Tue Nov 09 2004 - sbrabec@suse.cz - New SuSE package, version 0.70. - Work-around of circular dependency on libcddb and vcdimager.