libcdio/cdio-utils.spec

86 lines
2.7 KiB
RPMSpec
Raw Normal View History

- Update to 2.1.1: - More checks of potentially NULL buffers. More malloc()/calloc() result checks. - Enforce non-widestring ("A" suffixed) calls when we pass char* parameters. - Use widestring API calls unless otherwise specified. - Remove a deprecation warning of the declaration of is_cdrom_aspi() and GetVersion(). - Updates for compiling on MSVC. - Move to github - Add github CI checks. - Count empty fields as tracks. - Add some validity checks to enhance security. - Add support for ISO9660 multi extent files. - Fix Recognition of multi-extent in ISO9660 when Joliet is present. - Use getmntent/setmntent for reading mounts. - Use GNU/Linux new ioctl on kernel v5.16 or newer. - Use "%s"-style format in cdda-player.c: to make it catch cases when user input is used in place of format. - Remove some memory leaks in C++ code. - Allow for DO_NOT_WANT_COMPATIBILITY macro in config.h to disable APIs that are being retired. - Fix win32 implementation of .get_track_msf() for CD with first track number > 1 - Fix testing on Windows and remove compilation warnings. - Add Rock Ridge deep directory support. - Fix and clean up various Rock Ridge issues and adjust tests. - Fix double reporting of sizes in cd-info.c. - CD-Text character set interpretation more tolerant of bad input. - Remove homegrown boolean type in favor of <stdbool.h>. - Improve pkg-config configuration detection - Fix crash reading CD TOC on macOS Ventura. - Update freedb references to GnuDB. - Fix charset check in Windows cdio_charset_from_utf8 implementation. - Add support for reading CD-Text on macOS and Windows - Remove upstreamed patch: - fix-undefined-behavior-in-readlink.patch - Remove GPG authentication, not supported any more. OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libcdio?expand=0&rev=78
2025-01-10 12:33:52 +00:00
#
# spec file for package cdio-utils
#
# Copyright (c) 2025 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
%define cdioutils 1
Name: cdio-utils
Version: 2.2.0
- Update to 2.1.1: - More checks of potentially NULL buffers. More malloc()/calloc() result checks. - Enforce non-widestring ("A" suffixed) calls when we pass char* parameters. - Use widestring API calls unless otherwise specified. - Remove a deprecation warning of the declaration of is_cdrom_aspi() and GetVersion(). - Updates for compiling on MSVC. - Move to github - Add github CI checks. - Count empty fields as tracks. - Add some validity checks to enhance security. - Add support for ISO9660 multi extent files. - Fix Recognition of multi-extent in ISO9660 when Joliet is present. - Use getmntent/setmntent for reading mounts. - Use GNU/Linux new ioctl on kernel v5.16 or newer. - Use "%s"-style format in cdda-player.c: to make it catch cases when user input is used in place of format. - Remove some memory leaks in C++ code. - Allow for DO_NOT_WANT_COMPATIBILITY macro in config.h to disable APIs that are being retired. - Fix win32 implementation of .get_track_msf() for CD with first track number > 1 - Fix testing on Windows and remove compilation warnings. - Add Rock Ridge deep directory support. - Fix and clean up various Rock Ridge issues and adjust tests. - Fix double reporting of sizes in cd-info.c. - CD-Text character set interpretation more tolerant of bad input. - Remove homegrown boolean type in favor of <stdbool.h>. - Improve pkg-config configuration detection - Fix crash reading CD TOC on macOS Ventura. - Update freedb references to GnuDB. - Fix charset check in Windows cdio_charset_from_utf8 implementation. - Add support for reading CD-Text on macOS and Windows - Remove upstreamed patch: - fix-undefined-behavior-in-readlink.patch - Remove GPG authentication, not supported any more. OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libcdio?expand=0&rev=78
2025-01-10 12:33:52 +00:00
Release: 0
Summary: Utility programs making use of libcdio, a CD-ROM access library
License: GPL-3.0-or-later
Group: Productivity/Multimedia/Other
URL: https://savannah.gnu.org/projects/libcdio
Source0: https://github.com/libcdio/libcdio/releases/download/%{version}/libcdio-%{version}.tar.bz2
Source4: baselibs.conf
Patch0: c99.patch
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: help2man
BuildRequires: libcdio-devel
BuildRequires: libtool
BuildRequires: makeinfo
BuildRequires: ncurses-devel
BuildRequires: pkgconfig
BuildRequires: popt-devel
BuildRequires: pkgconfig(libcddb)
BuildRequires: pkgconfig(libvcdinfo) >= 2.0
Provides: libcdio-utils = %{version}
Obsoletes: libcdio-utils < %{version}
%description
This package contains a number of utility programs that make use of
libcdio.
%prep
%autosetup -p1 -n libcdio-%{version}
%define buildir ${PWD}
%build
export VCDINFO_CFLAGS=-I%{_includedir}/libvcd
export VCDINFO_LIBS="-L%{_libdir} -lvcdinfo -L%{buildir}/lib/iso9660/.libs/ -liso9660 -L%{buildir}/lib/driver/.libs/ -lcdio"
VCDINFO_CFLAGS=-I%{_includedir}/libvcd VCDINFO_LIBS="-L%{_libdir} -lvcdinfo -L%{buildir}/lib/iso9660/.libs -liso9660 \
-L%{buildir}/lib/driver/.libs -lcdio" \
%configure \
--disable-silent-rules \
--disable-rpath \
--disable-static \
--disable-cxx \
--enable-vcd-info=yes
VCDINFO_CFLAGS=-I%{_includedir}/libvcd VCDINFO_LIBS="-L%{_libdir} -lvcdinfo \
-L%{buildir}/lib/iso9660/.libs/ -liso9660 -L%{buildir}/lib/driver/.libs/ -lcdio" \
make %{?_smp_mflags}
%install
%make_install
#empty depdendency libs
rm -rf %{buildroot}%{_libdir} %{buildroot}%{_includedir} %{buildroot}%{_infodir}
%fdupes -s %{buildroot}%{_mandir}
%files -n cdio-utils
%doc AUTHORS THANKS TODO ChangeLog NEWS.md README-libcdio.md README.md
- Update to 2.1.1: - More checks of potentially NULL buffers. More malloc()/calloc() result checks. - Enforce non-widestring ("A" suffixed) calls when we pass char* parameters. - Use widestring API calls unless otherwise specified. - Remove a deprecation warning of the declaration of is_cdrom_aspi() and GetVersion(). - Updates for compiling on MSVC. - Move to github - Add github CI checks. - Count empty fields as tracks. - Add some validity checks to enhance security. - Add support for ISO9660 multi extent files. - Fix Recognition of multi-extent in ISO9660 when Joliet is present. - Use getmntent/setmntent for reading mounts. - Use GNU/Linux new ioctl on kernel v5.16 or newer. - Use "%s"-style format in cdda-player.c: to make it catch cases when user input is used in place of format. - Remove some memory leaks in C++ code. - Allow for DO_NOT_WANT_COMPATIBILITY macro in config.h to disable APIs that are being retired. - Fix win32 implementation of .get_track_msf() for CD with first track number > 1 - Fix testing on Windows and remove compilation warnings. - Add Rock Ridge deep directory support. - Fix and clean up various Rock Ridge issues and adjust tests. - Fix double reporting of sizes in cd-info.c. - CD-Text character set interpretation more tolerant of bad input. - Remove homegrown boolean type in favor of <stdbool.h>. - Improve pkg-config configuration detection - Fix crash reading CD TOC on macOS Ventura. - Update freedb references to GnuDB. - Fix charset check in Windows cdio_charset_from_utf8 implementation. - Add support for reading CD-Text on macOS and Windows - Remove upstreamed patch: - fix-undefined-behavior-in-readlink.patch - Remove GPG authentication, not supported any more. OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libcdio?expand=0&rev=78
2025-01-10 12:33:52 +00:00
%license COPYING*
%{_bindir}/cd-*
%{_bindir}/cdda-*
%{_bindir}/iso-*
%{_bindir}/mmc-*
%{_mandir}/man?/*%{ext_man}
%changelog