File cdrkit.spec of Package cdrkit
#
# spec file for package cdrkit
#
# 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/
#
Name: cdrkit
Version: 1.1.11
Release: 0
Summary: Various CD tools
License: GPL-2.0-or-later
URL: https://salsa.debian.org/debian/cdrkit
Source0: %{name}-%{version}.tar.gz
Patch0: minimum-cmake.patch
Patch1: fix-implicit-function-declaration.patch
Patch2: gcc10.patch
Patch3: add-efi-boot.patch
BuildRequires: cdparanoia-devel
BuildRequires: cmake
BuildRequires: pkgconfig
BuildRequires: pkgconfig(bzip2)
BuildRequires: pkgconfig(libcap)
BuildRequires: pkgconfig(zlib)
%description
cdrkit is a collection of CD/DVD utilities.
%package -n genisoimage
Summary: Creates an image of an ISO9660 file-system
Conflicts: cdda2wav
Conflicts: mkisofs
%description -n genisoimage
The genisoimage program is used as a pre-mastering program; i.e., it
generates the ISO9660 file-system. Genisoimage takes a snapshot of
a given directory tree and generates a binary image of the tree
which will correspond to an ISO9660 file-system when written to
a block device. Genisoimage is used for writing CD-ROMs, and includes
support for creating boot-able El Torito CD-ROMs.
Install the genisoimage package if you need a program for writing
CD-ROMs.
%package -n wodim
Summary: A command line CD/DVD recording program
Conflicts: mkisofs
%description -n wodim
Wodim is an application for creating audio and data CDs. Wodim
works with many different brands of CD recorders, fully supports
multi-sessions and provides human-readable error messages.
%package -n dirsplit
Summary: Utility to split directories
%description -n dirsplit
This utility is used to split directories into chunks before burning.
Chunk size is usually set to fit to a CD/DVD.
%package -n icedax
Summary: A utility for sampling/copying .wav files from digital audio CDs
Requires: cdparanoia
Requires: vorbis-tools
Conflicts: cdda2wav
%description -n icedax
Icedax is a sampling utility for CD-ROM drives that are capable of
providing a CD's audio data in digital form to your host. Audio data
read from the CD can be saved as .wav or .sun format sound files.
Recording formats include stereo/mono, 8/12/16 bits and different
rates. Icedax can also be used as a CD player.
%prep
%autosetup -p1
%build
%cmake \
-DBUILD_SHARED_LIBS:BOOL=ON
%cmake_build
%install
%cmake_install
%files
%license COPYING
%doc ABOUT Changelog FAQ FORK TODO
%files -n genisoimage
%license COPYING
%doc doc/genisoimage
%{_bindir}/genisoimage
%ghost %{_bindir}/mkisofs
%ghost %{_bindir}/mkhybrid
%{_bindir}/isodebug
%{_bindir}/isodump
%{_bindir}/isoinfo
%{_bindir}/isovfy
%{_bindir}/pitchplay
%{_bindir}/readmult
%{_mandir}/man?/genisoimagerc.?%{?ext_man}
%{_mandir}/man?/genisoimage.?%{?ext_man}
%{_mandir}/man?/isodebug.?%{?ext_man}
%{_mandir}/man?/isodump.?%{?ext_man}
%{_mandir}/man?/isoinfo.?%{?ext_man}
%{_mandir}/man?/isovfy.?%{?ext_man}
%{_mandir}/man?/pitchplay.?%{?ext_man}
%{_mandir}/man?/readmult.?%{?ext_man}
%files -n dirsplit
%license COPYING
%{_bindir}/dirsplit
%{_mandir}/man?/dirsplit.?%{?ext_man}
%files -n wodim
%license COPYING
%doc Changelog FAQ FORK START
%doc doc/READMEs doc/wodim
%{_bindir}/devdump
%{_bindir}/readom
%{_bindir}/wodim
%{_mandir}/man?/devdump.?%{?ext_man}
%{_mandir}/man?/readom.?%{?ext_man}
%{_mandir}/man?/wodim.?%{?ext_man}
%{_sbindir}/netscsid
%files -n icedax
%license COPYING
%doc doc/icedax
%{_bindir}/cdda2ogg
%{_bindir}/cdda2mp3
%{_bindir}/icedax
%{_mandir}/man?/cdda2ogg.?%{?ext_man}
%{_mandir}/man?/icedax.?%{?ext_man}
%{_mandir}/man?/list_audio_tracks.?%{?ext_man}
%changelog