Summary:   Records audio or data CD-Rs in disk-at-once (DAO) mode
Name:      cdrdao
Version:   1.2.3
Release:   36
License:   GPLv2+
URL:       http://cdrdao.sourceforge.net/
Source0:   http://prdownloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2

BuildRequires:  gcc-c++ gcc libsigc++20-devel libao-devel
BuildRequires:  libvorbis-devel >= 1.0 libmad-devel
BuildRequires:  lame-devel autoconf GConf2-devel

Patch1: cdrdao-1.2.3-stat.patch
Patch2: cdrdao-1.2.3-format_security.patch
Patch3: cdrdao-1.2.3-narrowing.patch
Patch4: cdrdao-1.2.3-lame-3.100.patch

%description
Cdrdao records audio or data CD-Rs in disk-at-once (DAO) mode based
on a textual description of the CD contents (toc-file).

%package_help

%prep
%autosetup -p 1

%build
autoreconf -v -f -i -I.
%configure --without-xdao --without-scglib --with-ogg-support --with-mp3-support --with-lame
%make_build


%install
%make_install
%delete_la


%files
%license COPYING
%{_bindir}/cdrdao
%{_bindir}/cue2toc
%{_bindir}/toc2cddb
%{_bindir}/toc2cue
%{_bindir}/toc2mp3
%{_datadir}/cdrdao

%files help
%doc AUTHORS README CREDITS ChangeLog
%{_mandir}/man1

%changelog
* Thu Jan 16 2020 fengbing <fengbing7@huawei.com> - 1.2.3-36
- Type:N/A
- ID:N/A
- SUG:N/A
- DESC:modify patch in spec file

* Tue Nov 19 2019 mengxian <mengxian@huawei.com> - 1.2.3-35
- Package init
