* fix build with gcc15 OBS-URL: https://build.opensuse.org/package/show/Base:System/cdrdao?expand=0&rev=33
77 lines
2.5 KiB
RPMSpec
77 lines
2.5 KiB
RPMSpec
#
|
|
# spec file for package cdrdao
|
|
#
|
|
# 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: cdrdao
|
|
Version: 1.2.5
|
|
Release: 0
|
|
Summary: Tool to write CD-Rs in Disk-At-Once Mode
|
|
License: GPL-2.0-or-later
|
|
Group: Productivity/Multimedia/CD/Record
|
|
URL: http://cdrdao.sourceforge.net/
|
|
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
|
|
# PATCH-FIX-OPENSUSE cdrdao-build.patch
|
|
Patch0: cdrdao-build.patch
|
|
# PATCH-FIX-OPENSUSE cdrdao-fixes.patch bnc#424635 nadvornik@suse.cz -- Fix cdrdao segfault
|
|
Patch1: cdrdao-fixes.patch
|
|
# PATCH-FIX-OPENSUSE cdrdao-1.2.3-stat.patch asterios.dramis@gmail.com -- Missing includes causes failure build (patch taken from Fedora)
|
|
Patch2: cdrdao-1.2.3-stat.patch
|
|
# PATCH-FIX-OPENSUSE cdrdao-drop-gconf-dep.patch -- Drop dependency on gconf2
|
|
Patch3: cdrdao-drop-gconf-dep.patch
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: libao-devel
|
|
BuildRequires: libsigc++2-devel
|
|
BuildRequires: libvorbis-devel
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: pkgconfig(mad)
|
|
Obsoletes: gcdmaster <= 1.2.4
|
|
|
|
%description
|
|
CDRDAO creates CD-Rs in disk-at-once (DAO) mode driven by a description
|
|
file called a TOC file. In DAO mode, it is possible to create
|
|
non-standard track pregaps that have lengths other than 2 seconds and
|
|
contain nonzero audio data. This is useful for dividing live recordings
|
|
into tracks where 2 second gaps would be irritating.
|
|
|
|
%prep
|
|
%autosetup -p1
|
|
|
|
%build
|
|
export CFLAGS="%{optflags} -std=gnu11"
|
|
%configure \
|
|
--without-scglib
|
|
%make_build
|
|
|
|
%install
|
|
%make_install
|
|
|
|
%files
|
|
%license COPYING
|
|
%doc AUTHORS CREDITS ChangeLog README README.PlexDAE cdrdao.lsm
|
|
%doc contrib/wav2dao/wav2dao.pl
|
|
%{_bindir}/cdrdao
|
|
%{_bindir}/cue2toc
|
|
%{_bindir}/toc2cddb
|
|
%{_bindir}/toc2cue
|
|
%{_datadir}/cdrdao/
|
|
%{_mandir}/man1/cue2toc.1%{?ext_man}
|
|
%{_mandir}/man1/cdrdao.1%{?ext_man}
|
|
%{_mandir}/man1/toc2cddb.1%{?ext_man}
|
|
%{_mandir}/man1/toc2cue.1%{?ext_man}
|
|
|
|
%changelog
|