commit 84b6afc6953207efcf4988cad05ca2ed599a696ab2607e98e4fd16c3b774df8b Author: OBS User unknown Date: Thu Jan 24 12:09:33 2008 +0000 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libcdio?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/libcdio-0.79.tar.bz2 b/libcdio-0.79.tar.bz2 new file mode 100644 index 0000000..4e6403b --- /dev/null +++ b/libcdio-0.79.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d406b80f78225eadfd1d0387fa9a3811117a9daeb1835c13291c4d42870ca789 +size 1308055 diff --git a/libcdio-gcc43.patch b/libcdio-gcc43.patch new file mode 100644 index 0000000..c085201 --- /dev/null +++ b/libcdio-gcc43.patch @@ -0,0 +1,12 @@ +Index: include/cdio++/iso9660.hpp +=================================================================== +--- include/cdio++/iso9660.hpp.orig 2006-03-07 22:04:01.000000000 +0100 ++++ include/cdio++/iso9660.hpp 2007-11-09 06:05:32.000000000 +0100 +@@ -31,6 +31,7 @@ + #include + #include + #include // vector class library ++#include + using namespace std; + + /** ISO 9660 class. diff --git a/libcdio-mini-0.79-rpmlintrc b/libcdio-mini-0.79-rpmlintrc new file mode 100644 index 0000000..e6537c3 --- /dev/null +++ b/libcdio-mini-0.79-rpmlintrc @@ -0,0 +1 @@ +addFilter(".* shlib-policy-name-error") diff --git a/libcdio-mini.changes b/libcdio-mini.changes new file mode 100644 index 0000000..f5dae84 --- /dev/null +++ b/libcdio-mini.changes @@ -0,0 +1,169 @@ +------------------------------------------------------------------- +Wed Dec 5 14:52:36 CET 2007 - ro@suse.de + +- provide main package name in library package for debuginfo + for mini package + +------------------------------------------------------------------- +Fri Nov 16 14:00:19 CET 2007 - sbrabec@suse.cz + +- Removed unwanted NoSource preventing mirroring to Factory. + +------------------------------------------------------------------- +Fri Nov 9 06:42:52 CET 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 7 17:01:59 CEST 2007 - sbrabec@suse.cz + +- Fixed mini file list. + +------------------------------------------------------------------- +Sun Aug 5 08:35:10 CEST 2007 - coolo@suse.de + +- adding versioned provides for upgrade + +------------------------------------------------------------------- +Fri Jul 20 17:30:18 CEST 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 16:49:56 CET 2007 - sbrabec@suse.cz + +- Fixed NoSrc and Provides of temporary package. + +------------------------------------------------------------------- +Fri Oct 6 16:35:33 CEST 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 3 16:19:33 CEST 2006 - max@suse.de + +- Added gcc-c++ to neededforbuild. + +------------------------------------------------------------------- +Fri Jun 30 13:19:32 CEST 2006 - sbrabec@suse.cz + +- Fixed cyclic dependencies in a correct way. + +------------------------------------------------------------------- +Tue Jun 27 18:43:46 CEST 2006 - sbrabec@suse.cz + +- Use NoSource in libcdio-mini. + +------------------------------------------------------------------- +Thu Jun 22 18:35:39 CEST 2006 - sbrabec@suse.cz + +- Simpler solution of cyclic dependencies. + +------------------------------------------------------------------- +Tue Jan 31 14:20:00 CET 2006 - sbrabec@suse.cz + +- Do not link with invalid rpath. +- Enabled parallel build. +- Fixed devel splitting. + +------------------------------------------------------------------- +Thu Jan 26 15:51:26 CET 2006 - sbrabec@suse.cz + +- Added %install_info_prereq. + +------------------------------------------------------------------- +Wed Jan 25 21:42:30 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Tue Nov 8 19:19:23 CET 2005 - sbrabec@suse.cz + +- Fixed libiso9660.la circular dependency prevention trick. + +------------------------------------------------------------------- +Wed Oct 26 13:32:25 CEST 2005 - sbrabec@suse.cz + +- Updated to version 0.76. +- Build as user. + +------------------------------------------------------------------- +Fri Aug 5 11:00:41 CEST 2005 - sbrabec@suse.cz + +- Build with libcddb-1.2.1. + +------------------------------------------------------------------- +Fri Jul 29 15:58:20 CEST 2005 - sbrabec@suse.cz + +- Updated to version 0.75. + +------------------------------------------------------------------- +Mon May 9 13:08:25 CEST 2005 - sbrabec@suse.cz + +- Build with libcddb-1.0.2. + +------------------------------------------------------------------- +Tue Apr 26 13:23:29 CEST 2005 - sbrabec@suse.cz + +- Updated to version 0.73. + +------------------------------------------------------------------- +Fri Apr 1 08:39:02 CEST 2005 - meissner@suse.de + +- fixed gcc4 compile problem. + +------------------------------------------------------------------- +Thu Feb 3 14:30:09 CET 2005 - sbrabec@suse.cz + +- Updated to version 0.72. + +------------------------------------------------------------------- +Mon Jan 31 15:46:35 CET 2005 - sbrabec@suse.cz + +- Updated to version 0.72rc2. + +------------------------------------------------------------------- +Mon Jan 24 17:28:43 CET 2005 - sbrabec@suse.cz + +- Updated to version 0.71. + +------------------------------------------------------------------- +Tue Nov 09 14:52:28 CET 2004 - sbrabec@suse.cz + +- New SuSE package, version 0.70. +- Work-around of circular dependency on libcddb and vcdimager. + diff --git a/libcdio-mini.spec b/libcdio-mini.spec new file mode 100644 index 0000000..796061b --- /dev/null +++ b/libcdio-mini.spec @@ -0,0 +1,388 @@ +# +# 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. diff --git a/libcdio.changes b/libcdio.changes new file mode 100644 index 0000000..f5dae84 --- /dev/null +++ b/libcdio.changes @@ -0,0 +1,169 @@ +------------------------------------------------------------------- +Wed Dec 5 14:52:36 CET 2007 - ro@suse.de + +- provide main package name in library package for debuginfo + for mini package + +------------------------------------------------------------------- +Fri Nov 16 14:00:19 CET 2007 - sbrabec@suse.cz + +- Removed unwanted NoSource preventing mirroring to Factory. + +------------------------------------------------------------------- +Fri Nov 9 06:42:52 CET 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 7 17:01:59 CEST 2007 - sbrabec@suse.cz + +- Fixed mini file list. + +------------------------------------------------------------------- +Sun Aug 5 08:35:10 CEST 2007 - coolo@suse.de + +- adding versioned provides for upgrade + +------------------------------------------------------------------- +Fri Jul 20 17:30:18 CEST 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 16:49:56 CET 2007 - sbrabec@suse.cz + +- Fixed NoSrc and Provides of temporary package. + +------------------------------------------------------------------- +Fri Oct 6 16:35:33 CEST 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 3 16:19:33 CEST 2006 - max@suse.de + +- Added gcc-c++ to neededforbuild. + +------------------------------------------------------------------- +Fri Jun 30 13:19:32 CEST 2006 - sbrabec@suse.cz + +- Fixed cyclic dependencies in a correct way. + +------------------------------------------------------------------- +Tue Jun 27 18:43:46 CEST 2006 - sbrabec@suse.cz + +- Use NoSource in libcdio-mini. + +------------------------------------------------------------------- +Thu Jun 22 18:35:39 CEST 2006 - sbrabec@suse.cz + +- Simpler solution of cyclic dependencies. + +------------------------------------------------------------------- +Tue Jan 31 14:20:00 CET 2006 - sbrabec@suse.cz + +- Do not link with invalid rpath. +- Enabled parallel build. +- Fixed devel splitting. + +------------------------------------------------------------------- +Thu Jan 26 15:51:26 CET 2006 - sbrabec@suse.cz + +- Added %install_info_prereq. + +------------------------------------------------------------------- +Wed Jan 25 21:42:30 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Tue Nov 8 19:19:23 CET 2005 - sbrabec@suse.cz + +- Fixed libiso9660.la circular dependency prevention trick. + +------------------------------------------------------------------- +Wed Oct 26 13:32:25 CEST 2005 - sbrabec@suse.cz + +- Updated to version 0.76. +- Build as user. + +------------------------------------------------------------------- +Fri Aug 5 11:00:41 CEST 2005 - sbrabec@suse.cz + +- Build with libcddb-1.2.1. + +------------------------------------------------------------------- +Fri Jul 29 15:58:20 CEST 2005 - sbrabec@suse.cz + +- Updated to version 0.75. + +------------------------------------------------------------------- +Mon May 9 13:08:25 CEST 2005 - sbrabec@suse.cz + +- Build with libcddb-1.0.2. + +------------------------------------------------------------------- +Tue Apr 26 13:23:29 CEST 2005 - sbrabec@suse.cz + +- Updated to version 0.73. + +------------------------------------------------------------------- +Fri Apr 1 08:39:02 CEST 2005 - meissner@suse.de + +- fixed gcc4 compile problem. + +------------------------------------------------------------------- +Thu Feb 3 14:30:09 CET 2005 - sbrabec@suse.cz + +- Updated to version 0.72. + +------------------------------------------------------------------- +Mon Jan 31 15:46:35 CET 2005 - sbrabec@suse.cz + +- Updated to version 0.72rc2. + +------------------------------------------------------------------- +Mon Jan 24 17:28:43 CET 2005 - sbrabec@suse.cz + +- Updated to version 0.71. + +------------------------------------------------------------------- +Tue Nov 09 14:52:28 CET 2004 - sbrabec@suse.cz + +- New SuSE package, version 0.70. +- Work-around of circular dependency on libcddb and vcdimager. + diff --git a/libcdio.spec b/libcdio.spec new file mode 100644 index 0000000..c56e982 --- /dev/null +++ b/libcdio.spec @@ -0,0 +1,387 @@ +# +# spec file for package libcdio (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 +# WARNING: After editing this file please call Re or rpmbuild to update spec 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 1 +%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 +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 +Group: Productivity/Multimedia/Other +Summary: CD-ROM Access Library +# Name for <= 10.2 +Obsoletes: libcdio <= 0.78.2 +Provides: libcdio = %{version} + +%description -n libcdio7 +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 +Group: Productivity/Multimedia/Other +Summary: CD-ROM Access Library + +%description -n libcdio_cdda0 +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 +Group: Productivity/Multimedia/Other +Summary: CD-ROM Access Library + +%description -n libcdio_paranoia0 +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 +Group: Productivity/Multimedia/Other +Summary: CD-ROM Access Library + +%description -n libcdio++0 +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 +Group: Productivity/Multimedia/Other +Summary: CD-ROM Access Library + +%description -n libiso9660-5 +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 +Group: Productivity/Multimedia/Other +Summary: CD-ROM Access Library + +%description -n libudf0 +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 +Requires: libcdio7 = %{version} libcdio_cdda0 = %{version} libcdio_paranoia0 = %{version} libcdio++0 = %{version} libiso9660-5 = %{version} libudf0 = %{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 -p /sbin/ldconfig + +%post -n libcdio_cdda0 -p /sbin/ldconfig + +%post -n libcdio_paranoia0 -p /sbin/ldconfig + +%post -n libcdio++0 -p /sbin/ldconfig + +%post -n libiso9660-5 -p /sbin/ldconfig + +%post -n libudf0 -p /sbin/ldconfig + +%postun -n libcdio7 -p /sbin/ldconfig + +%postun -n libcdio_cdda0 -p /sbin/ldconfig + +%postun -n libcdio_paranoia0 -p /sbin/ldconfig + +%postun -n libcdio++0 -p /sbin/ldconfig + +%postun -n libiso9660-5 -p /sbin/ldconfig + +%postun -n libudf0 -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 +%defattr (-, root, root) +%{_libdir}/libcdio.so.* + +%files -n libcdio_cdda0 +%defattr (-, root, root) +%{_libdir}/libcdio_cdda.so.* + +%files -n libcdio_paranoia0 +%defattr (-, root, root) +%{_libdir}/libcdio_paranoia.so.* + +%files -n libcdio++0 +%defattr (-, root, root) +%{_libdir}/libcdio++.so.* +%{_libdir}/libiso9660++.so.* + +%files -n libiso9660-5 +%defattr (-, root, root) +%{_libdir}/libiso9660.so.* + +%files -n libudf0 +%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. diff --git a/libcdio_spec-prepare.sh b/libcdio_spec-prepare.sh new file mode 100644 index 0000000..d458533 --- /dev/null +++ b/libcdio_spec-prepare.sh @@ -0,0 +1,49 @@ +#!/bin/bash + +# Autobuild doesn't support package names with macros. This script will update versions in package names. + +ORIG_SPEC=${2%-mini} +# Never update -mini fíle when it is already opened. It will break advanced build scripts: +if test "$2" != "$ORIG_SPEC" ; then + exit +fi + +if ! test -f $1/$ORIG_SPEC.spec ; then + exit +fi + +for PKGNAME in libcdio libcdio_cdda libcdio_paranoia libcdio++ libiso9660 libudf ; do + # Packages with name ending by number needs separator + if test x`echo $PKGNAME | sed "s/.*[0-9]$//"` = x ; then + SEPARATOR=- + else + SEPARATOR= + fi + sed -i " + # Copy ${PKGNAME}_name to hold space + /^%define ${PKGNAME}_name / { + h; + s/^%define ${PKGNAME}_name //; + x; + }; + + # Update ${PKGNAME}_name everywhere + /$PKGNAME$SEPARATOR[0-9][-_0-9]*/ { + G; + s/$PKGNAME$SEPARATOR[0-9][-_0-9]*\(.*\)\n\(.*\)/$PKGNAME$SEPARATOR\2\1/; + };" $1/$ORIG_SPEC.spec +done + +# Edit file to fit -mini build needs: +sed ' + s/STANDARD_BUILD\ 1/STANDARD_BUILD 0/; + s/^.ame:.*/&-mini/; + # No more needed. + #s/^..hangelog.*/& mini/; + s/libcdio-cdparanoia-compat/libcdio-cdparanoia-compat-mini/g + s/\(libcdio_cdda\|libcdio_paranoia\|libcdio++\|libcdio\|libiso9660-\|libudf\)\([0-9][-_0-9]*\)/\1\2-mini/g + s/^\(# WARNING:\).*After editing.*/\1 Do not edit this auto generated file./ + s/^%package -n libcdio7-mini/&\nProvides: libcdio-mini = %{version}-%{release}/ +' <$1/$ORIG_SPEC.spec >$1/$ORIG_SPEC-mini.spec + +cp -a $1/$ORIG_SPEC.changes $1/$ORIG_SPEC-mini.changes diff --git a/pre_checkin.sh b/pre_checkin.sh new file mode 100644 index 0000000..ea65522 --- /dev/null +++ b/pre_checkin.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +bash libcdio_spec-prepare.sh "$PWD" libcdio diff --git a/ready b/ready new file mode 100644 index 0000000..473a0f4