# # spec file for package libcue # # Copyright (c) 2023 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/ # Name: libcue %define lname libcue2 Version: 2.3.0 Release: 1.4 Summary: CUE sheet parsing library License: GPL-2.0-only Group: Development/Libraries/C and C++ URL: https://github.com/lipnitsk/libcue Source: https://github.com/lipnitsk/libcue/archive/v%version.tar.gz BuildRequires: bison BuildRequires: cmake BuildRequires: flex BuildRequires: pkg-config %description libcue parses so-called cue sheets from a char string or a FILE pointer. This project is meant as a fork of (defunct) cuetools. %package -n %lname Summary: CUE sheet parsing library Group: System/Libraries %description -n %lname libcue parses so-called cue sheets from a char string or a FILE pointer. %package devel Summary: Development files for libcue, a CUE sheet parsing library Group: Development/Libraries/C and C++ Requires: %lname = %version %description devel libcue parses so-called cue sheets from a char string or a FILE pointer. This package contains the development library symlink and header files. %prep %autosetup -p1 %build %cmake %cmake_build %install %cmake_install rm -f "%buildroot/%_libdir"/*.la %check export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:%buildroot/%_libdir" # %%ctest macro unknown to SLE11_SP4, do it explicitly cd build ctest --output-on-failure --force-new-ctest-process %post -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig %files -n %lname %_libdir/libcue.so.2* %files devel %_includedir/libcue.h %_includedir/libcue*/ %_libdir/libcue.so %_libdir/pkgconfig/*.pc %changelog * Wed Oct 11 2023 Jan Engelhardt - Update to release 2.3.0 * EOF check [CVE-2023-43641] - Drop 0001-Check-that-the-array-index-isn-t-negative.-This-fixe.patch * Tue Oct 10 2023 Daniel Garcia - Add 0001-Check-that-the-array-index-isn-t-negative.-This-fixe.patch [CVE-2023-43641] * Sun Sep 1 2019 Jan Engelhardt - Update to release 2.2.1 * Updates to the build procedure only * Wed Feb 7 2018 jengelh@inai.de - Update to new upstream release 2.2.0 * Fix memory corruption in cue_scanner.l * Use MAXINDEX instead of MAXTRACK when indexing INDEX entries * Allow for 100 INDEX entries - Remove cmake.diff (applied upstream) * Wed Jul 6 2016 tom.mbrt@googlemail.com - update to new upstream release 2.1.0 * Add FLAC token support * Clean up static vars in the parser to prevent double frees - Add cmake.diff * Sun Oct 5 2014 jengelh@inai.de - Use Source URLs; improve RPM group classification * Sat Jan 21 2012 jengelh@medozas.de - Initial package for build.opensuse.org