File cdrdao.spec of Package cdrdao

# spec file for package cdrdao
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# 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


Name:           cdrdao
Version:        1.2.3
Release:        0
Summary:        Write CD-Rs in Disk-At-Once Mode
License:        GPL-2.0+
Group:          Productivity/Multimedia/CD/Record
# PATCH-FIX-OPENSUSE cdrdao-build.patch
Patch0:         cdrdao-build.patch
# PATCH-FIX-OPENSUSE cdrdao-1.2.2-scan.patch bnc#144861 -- Do not scan old ATAPI interface
Patch1:         cdrdao-1.2.2-scan.patch
# PATCH-FIX-OPENSUSE cdrdao-fixes.patch bnc#424635 -- Fix cdrdao segfault
Patch2:         cdrdao-fixes.patch
# PATCH-FIX-OPENSUSE cdrdao-1.2.3-stat.patch -- Missing includes causes failure build (patch taken from Fedora)
Patch3:         cdrdao-1.2.3-stat.patch
BuildRequires:  gcc-c++
BuildRequires:  libao-devel
BuildRequires:  libsigc++2-devel
BuildRequires:  libvorbis-devel
BuildRequires:  pkg-config
BuildRequires:  lame
BuildRequires:  mad-devel
Obsoletes:      gcdmaster <= 1.2.3
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

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
nonstandard 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.

%setup -q
%patch3 -p1

%configure \
make %{?_smp_mflags} VERBOSE=1


rm -rf %{buildroot}

%doc contrib/wav2dao/
%doc %{_mandir}/man1/cue2toc.1%{ext_man}
%doc %{_mandir}/man1/cdrdao.1%{ext_man}
%doc %{_mandir}/man1/toc2cddb.1%{ext_man}
%doc %{_mandir}/man1/toc2cue.1%{ext_man}

openSUSE Build Service is sponsored by