a7e54e
Summary:   Writes audio CD-Rs in disk-at-once (DAO) mode
a7e54e
Name:      cdrdao
a7e54e
Version:   1.2.3
a7e54e
Release:   32%{?dist}
a7e54e
License:   GPLv2+
a7e54e
Group:     Applications/Multimedia
a7e54e
URL:       http://cdrdao.sourceforge.net/
a7e54e
Source0:   http://prdownloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
a7e54e
a7e54e
BuildRequires:  libsigc++20-devel
a7e54e
BuildRequires:  libvorbis-devel >= 1.0
a7e54e
BuildRequires:  libao-devel
a7e54e
BuildRequires:  libmad-devel
a7e54e
BuildRequires:  lame-devel
a7e54e
#requirements to rebuild autotools
a7e54e
BuildRequires:  autoconf GConf2-devel
a7e54e
a7e54e
# We have removed gcdmaster sub-package in 1.2.3-10
a7e54e
Obsoletes: gcdmaster < 1.2.3-10
a7e54e
a7e54e
# Only exclude s390
a7e54e
ExcludeArch: s390 s390x
a7e54e
a7e54e
# Missing includes causes failure build
a7e54e
Patch1: cdrdao-1.2.3-stat.patch
a7e54e
Patch2: cdrdao-1.2.3-helpmansync.patch
a7e54e
Patch3: cdrdao-1.2.3-format_security.patch
a7e54e
Patch4: cdrdao-1.2.3-narrowing.patch
a7e54e
Patch5: cdrdao-1.2.3-lame.patch
a7e54e
a7e54e
%description
a7e54e
Cdrdao records audio CD-Rs in disk-at-once (DAO) mode, based on a
a7e54e
textual description of the CD contents. Recording in DAO mode writes
a7e54e
the complete disc (lead-in, one or more tracks, and lead-out) in a
a7e54e
single step. DAO allows full control over the length and the contents
a7e54e
of pre-gaps, the pause areas between tracks.
a7e54e
a7e54e
a7e54e
%prep
a7e54e
%setup -q
a7e54e
%patch1 -p1 -b .stat
a7e54e
%patch2 -p1 -b .helpmansync
a7e54e
%patch3 -p1 -b .format_security
a7e54e
%patch4 -p1 -b .narrowing
a7e54e
%patch5 -b .lame
a7e54e
a7e54e
%build
a7e54e
#run autoreconf to support aarch64
a7e54e
#not needed when upstream moves to  new automake
a7e54e
autoreconf -v -f -i -I.
a7e54e
%configure \
a7e54e
        --without-xdao \
a7e54e
        --without-scglib \
a7e54e
        --with-ogg-support \
a7e54e
        --with-mp3-support \
a7e54e
        --with-lame
a7e54e
a7e54e
make %{?_smp_mflags}
a7e54e
a7e54e
a7e54e
%install
a7e54e
make install DESTDIR=$RPM_BUILD_ROOT
a7e54e
a7e54e
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
a7e54e
a7e54e
a7e54e
%files
a7e54e
%doc AUTHORS COPYING README CREDITS ChangeLog
a7e54e
%{_bindir}/cdrdao
a7e54e
%{_bindir}/*toc*
a7e54e
%{_datadir}/cdrdao
a7e54e
%{_mandir}/*/cdrdao*
a7e54e
%{_mandir}/*/cue2toc*
a7e54e
%{_mandir}/*/toc2cue*
a7e54e
%{_mandir}/*/toc2cddb*
a7e54e
a7e54e
a7e54e
%changelog
a7e54e
* Tue May 22 2018 Jakub Martisko <jamartis@redhat.com> - 1.2.3-32
a7e54e
- Fix FTBFS on rhel-8
a7e54e
- Resolves 1580605
a7e54e
a7e54e
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-31
a7e54e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
a7e54e
a7e54e
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-30
a7e54e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
a7e54e
a7e54e
* Wed May 10 2017 Bastien Nocera <bnocera@redhat.com> - 1.2.3-29
a7e54e
+ cdrdao-1.2.3-29
a7e54e
- Add MP3 encoding and decoding support
a7e54e
a7e54e
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-28
a7e54e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
a7e54e
a7e54e
* Tue Feb 16 2016 Frantisek Kluknavsky <fkluknav@redhat.com> - 1.2.3-27
a7e54e
- FTBFS when 255 assigned to a char fixed (narrowing), added cdrdao-1.2.3-narrowing.patch
a7e54e
a7e54e
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-26
a7e54e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
a7e54e
a7e54e
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.3-25
a7e54e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
a7e54e
a7e54e
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 1.2.3-24
a7e54e
- Rebuilt for GCC 5 C++11 ABI change
a7e54e
a7e54e
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.3-23
a7e54e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
a7e54e
a7e54e
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.3-22
a7e54e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
a7e54e
a7e54e
* Thu Dec 05 2013 Frantisek Kluknavsky <fkluknav@redhat.com> - 1.2.3-21
a7e54e
- fixed -Werror=format-security violations
a7e54e
a7e54e
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.3-20
a7e54e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
a7e54e
a7e54e
* Thu Mar 28 2013 Frantisek Kluknavsky <fkluknav@redhat.com> - 1.2.3-19
a7e54e
- rerun autotools to support aarch64
a7e54e
a7e54e
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.3-18
a7e54e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
a7e54e
a7e54e
* Thu Nov 22 2012 Frantisek Kluknavsky <fkluknav@redhat.com> - 1.2.3-17
a7e54e
- Deleted unused patch files
a7e54e
a7e54e
* Mon Oct 09 2012 Honza Horak <hhorak@redhat.com> - 1.2.3-16
a7e54e
- Add missing options to man page
a7e54e
a7e54e
* Fri Aug 27 2012 Honza Horak <hhorak@redhat.com> - 1.2.3-15
a7e54e
- Spec file clean up
a7e54e
a7e54e
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.3-14
a7e54e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
a7e54e
a7e54e
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.3-13
a7e54e
- Rebuilt for c++ ABI breakage
a7e54e
a7e54e
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.3-12
a7e54e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
a7e54e
a7e54e
* Wed Aug 10 2011 Honza Horak <hhorak@redhat.com> - 1.2.3-11
a7e54e
- obsolete gcdmaster
a7e54e
a7e54e
* Mon Aug 08 2011 Honza Horak <hhorak@redhat.com> - 1.2.3-10
a7e54e
- removing a sub-package gcdmaster (xdao) due to missing dependencies 
a7e54e
  on libgnomeuimm26
a7e54e
a7e54e
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.3-9
a7e54e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
a7e54e
a7e54e
* Thu Jan 20 2011 Honza Horak <hhorak@redhat.com> - 1.2.3-8
a7e54e
- Fixed warning while erasing this package
a7e54e
- https://bugzilla.redhat.com/show_bug.cgi?id=665656
a7e54e
a7e54e
* Thu Sep 02 2010 Rakesh Pandit <rakesh@fedoraproject.org> - 1.2.3-7
a7e54e
- Bump for libao
a7e54e
a7e54e
* Wed Jan 20 2010 Roman Rakus <rrakus@redhat.com>  1.2.3-6
a7e54e
- typo in %%patch
a7e54e
a7e54e
* Wed Jan 20 2010 Roman Rakus rrakus@redhat.com 1.2.3-5
a7e54e
- Some missing includes cause failure build
a7e54e
a7e54e
* Wed Jan 13 2010 Nikola Pajkovsky <npajkovs@redhat.com> - 1.2.3-4
a7e54e
- Merge review #225639
a7e54e
- no need option --with-mp3-support. it needs libmad(don't ship)
a7e54e
- change license to GPLv2+
a7e54e
a7e54e
* Mon Jan 11 2010 rrakus@redhat.com 1.2.3-3
a7e54e
- Fixed typo
a7e54e
a7e54e
* Mon Jan 11 2010 Roman Rakus rrakus@redhat.com 1.2.3-2
a7e54e
- Fixed URL tag
a7e54e
- some cleanup
a7e54e
a7e54e
* Mon Nov 30 2009 Nikola Pajkovsky <npajkovs@redhat.com> - 1.2.3-1
a7e54e
- new upstream
a7e54e
a7e54e
* Wed Sep 23 2009 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 1.2.3-0.rc2.4
a7e54e
- Update desktop file according to F-12 FedoraStudio feature
a7e54e
a7e54e
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.3-0.rc2.3
a7e54e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
a7e54e
a7e54e
* Thu Apr 16 2009 Denis Leroy <denis@poolshark.org> - 1.2.3-0.rc2.2
a7e54e
- Make sure version is printed with usage, to fix k3b
a7e54e
a7e54e
* Tue Apr  7 2009 Denis Leroy <denis@poolshark.org> - 1.2.3-0.rc2.1
a7e54e
- Update to latest 1.2.3 release candidate
a7e54e
- Merged with gcdmaster spec file
a7e54e
- Added scripts to manage gcdmaster new schemas file
a7e54e
- Moved desktop file fix into patch
a7e54e
- Added patch to fix gcc 4.4 compile
a7e54e
a7e54e
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.2-6
a7e54e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
a7e54e
a7e54e
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.2.2-5
a7e54e
- Autorebuild for GCC 4.3
a7e54e
a7e54e
* Mon Feb 18 2008 harald@redhat.com 1.2.2-4
a7e54e
- added string.h includes to make it compile again
a7e54e
a7e54e
* Fri Aug 17 2007 Harald Hoyer <harald@redhat.com> - 1.2.2-3
a7e54e
- changed license to GPLv2
a7e54e
a7e54e
* Tue Feb 27 2007 Harald Hoyer <harald@redhat.com> - 1.2.2-2
a7e54e
- fixed specfile issues (bug #225639)
a7e54e
a7e54e
* Wed Jan 24 2007 Harald Hoyer <harald@redhat.com> - 1.2.2-1
a7e54e
- version 1.2.2
a7e54e
- built without cdrecord-devel now
a7e54e
a7e54e
* Mon Aug 21 2006 Harald Hoyer <harald@redhat.com> - 1.2.1-2
a7e54e
- rebuild with new/old cdrtools
a7e54e
a7e54e
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.2.1-1.1
a7e54e
- rebuild
a7e54e
a7e54e
* Wed Mar 08 2006 Harald Hoyer <harald@redhat.com> - 1.2.1-1
a7e54e
- version 1.2.1 (1.2.0 was not functional)
a7e54e
a7e54e
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.2.0-1.2.2
a7e54e
- bump again for double-long bug on ppc(64)
a7e54e
a7e54e
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.2.0-1.2.1
a7e54e
- rebuilt for new gcc4.1 snapshot and glibc changes
a7e54e
a7e54e
* Tue Jan 17 2006 Harald Hoyer <harald@redhat.com>
a7e54e
- rebuilt
a7e54e
a7e54e
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
a7e54e
- rebuilt
a7e54e
a7e54e
* Mon Jul 18 2005 Harald Hoyer <harald@redhat.com> 1.2.0-1
a7e54e
- version 1.2.0
a7e54e
a7e54e
* Wed Mar 02 2005 Harald Hoyer <harald@redhat.com> 
a7e54e
- rebuilt
a7e54e
a7e54e
* Tue Feb 22 2005 Karsten Hopp <karsten@redhat.de> 1.1.9-8 
a7e54e
- cdrdao builds just fine without the pccts package and uses 
a7e54e
  its own pccts copy.
a7e54e
a7e54e
* Wed Feb 09 2005 Harald Hoyer <harald@redhat.com>
a7e54e
- rebuilt
a7e54e
a7e54e
* Wed Oct 13 2004 Harald Hoyer <harald@redhat.com> - 1.1.9-6
a7e54e
- build requires newer cdrecord-devel
a7e54e
a7e54e
* Tue Sep 21 2004 Harald Hoyer <harald@redhat.com> - 1.1.9-5
a7e54e
- removed INSTALL from doc (bug 132908)
a7e54e
a7e54e
* Wed Sep 08 2004 Harald Hoyer <harald@redhat.com> - 1.1.9-4
a7e54e
- build requires newer cdrecord-devel
a7e54e
a7e54e
* Tue Sep 07 2004 Harald Hoyer <harald@redhat.com> - 1.1.9-3
a7e54e
- build requires newer cdrecord-devel
a7e54e
a7e54e
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
a7e54e
- rebuilt
a7e54e
a7e54e
* Tue Jun  8 2004 Harald Hoyer <harald@redhat.com> - 1.1.9-1
a7e54e
- version 1.1.9
a7e54e
a7e54e
* Wed Apr 14 2004 Harald Hoyer <harald@redhat.com> - 1.1.8-4
a7e54e
- fixed BuildRequires
a7e54e
a7e54e
* Tue Mar 30 2004 Harald Hoyer <harald@redhat.com> - 1.1.8-3
a7e54e
- fixed ISO C++ issues
a7e54e
a7e54e
* Fri Feb 20 2004 Harald Hoyer <harald@redhat.com> - 1.1.8-2
a7e54e
- fixed ambigous operator cast
a7e54e
a7e54e
* Wed Feb 18 2004 Harald Hoyer <harald@redhat.com> - 1.1.8-1
a7e54e
- use scsilib from cdrecord-devel
a7e54e
a7e54e
* Mon Feb 16 2004 Harald Hoyer <harald@redhat.com> - 1.1.8-1
a7e54e
- version 1.1.8
a7e54e
a7e54e
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
a7e54e
- rebuilt
a7e54e
a7e54e
* Mon Jan 26 2004 Harald Hoyer <harald@redhat.de> 1.1.7-8.atapi.1
a7e54e
- added ATAPI: support
a7e54e
a7e54e
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
a7e54e
- rebuilt
a7e54e
a7e54e
* Tue May 13 2003 Harald Hoyer <harald@redhat.de> 1.1.7-6
a7e54e
- refined O_EXCL patch, nonroot sg handling
a7e54e
a7e54e
* Mon May 12 2003 Harald Hoyer <harald@redhat.de> 1.1.7-5
a7e54e
- refined O_EXCL patch, nonroot sg handling
a7e54e
a7e54e
* Wed Feb 26 2003 Harald Hoyer <harald@redhat.de> 1.1.7-4
a7e54e
- refined O_EXCL patch
a7e54e
a7e54e
* Tue Feb 25 2003 Harald Hoyer <harald@redhat.de> 1.1.7-3
a7e54e
- readded O_EXCL patch
a7e54e
a7e54e
* Tue Feb 04 2003 Phil Knirsch <pknirsch@redhat.com> 1.1.7-2
a7e54e
- Added s390x again as newer models will have SCSI.
a7e54e
a7e54e
* Thu Jan 29 2003 Harald Hoyer <harald@redhat.de> 1.1.7-1
a7e54e
- updated to 1.1.7
a7e54e
a7e54e
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
a7e54e
- rebuilt
a7e54e
a7e54e
* Thu Nov 28 2002 Harald Hoyer <harald@redhat.de> 1.1.5-11
a7e54e
- added cdrdao-1.1.5-EXCL.patch to lock the CDROM device
a7e54e
- more archs for scsilib (cdrtools)
a7e54e
a7e54e
* Sat Aug 10 2002 Elliot Lee <sopwith@redhat.com>
a7e54e
- rebuilt with gcc-3.2 (we hope)
a7e54e
a7e54e
* Mon Jul 22 2002 Mike A. Harris <mharris@redhat.com> 1.1.5-9
a7e54e
- Rebuilt in new environment with gcc 3.2
a7e54e
a7e54e
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
a7e54e
- automated rebuild
a7e54e
a7e54e
* Sun May 26 2002 Tim Powers <timp@redhat.com>
a7e54e
- automated rebuild
a7e54e
a7e54e
* Tue May 21 2002 Mike A. Harris <mharris@redhat.com> 1.1.5-6
a7e54e
- Bumped release, and rebuilt against new toolchain.
a7e54e
a7e54e
* Fri Feb 22 2002 Mike A. Harris <mharris@redhat.com> 1.1.5-5
a7e54e
- Bumped release, and rebuilt against new toolchain.
a7e54e
a7e54e
* Wed Jan 09 2002 Tim Powers <timp@redhat.com> 1.1.5-4
a7e54e
- automated rebuild
a7e54e
a7e54e
* Sun Dec 23 2001 Mike A. Harris <mharris@redhat.com> 1.1.5-3
a7e54e
- Added missing /usr/share/cdrdao/drivers file (#57785)
a7e54e
- Also built 1.1.5-1.72.0 package for 7.x
a7e54e
a7e54e
* Sat Dec 22 2001 Mike A. Harris <mharris@redhat.com> 1.1.5-2
a7e54e
- Bumped release and rebuilt so rawhide package doesn't release number
a7e54e
  conflict with previous 1.1.5-1 package built against 7.2
a7e54e
a7e54e
* Fri Dec 21 2001 Bernhard Rosenkraenzer <bero@redhat.com>
a7e54e
- Fix non-standard C++ code
a7e54e
a7e54e
* Tue Dec 18 2001 Mike A. Harris <mharris@redhat.com> 1.1.5-1
a7e54e
- Updated to 1.1.5
a7e54e
- Updated endianness patch for ia64
a7e54e
- s/Copyright/License/ in specfile
a7e54e
- Changed to bz2 compression for smaller sources
a7e54e
- Fixed BuildRoot line (was hard coded)
a7e54e
a7e54e
* Wed Sep 12 2001 Tim Powers <timp@redhat.com>
a7e54e
- rebuild with new gcc and binutils
a7e54e
a7e54e
* Tue Jun 26 2001 Bill Nottingham <notting@redhat.com>
a7e54e
- include on ia64
a7e54e
a7e54e
* Tue Jun 19 2001 Florian La Roche <Florian.LaRoche@redhat.de>
a7e54e
- add excludearch for s390 s390x
a7e54e
a7e54e
* Mon May 21 2001 Tim Powers <timp@redhat.com>
a7e54e
- rebuilt for the distro
a7e54e
a7e54e
* Fri Sep 8 2000 Tim Powers <timp@redhat.com>
a7e54e
- removed all references to xcdrdao, we don't ship it. So no applnk, no gtkmm
a7e54e
  requirements either.
a7e54e
a7e54e
* Thu Sep 7 2000 Tim Powers <timp@redhat.com>
a7e54e
- fixed bad Requires line, was still requiring gtk--, when the package changed
a7e54e
  to gtkmm
a7e54e
a7e54e
* Mon Jul 24 2000 Prospector <prospector@redhat.com>
a7e54e
- rebuilt
a7e54e
a7e54e
* Mon Jul 10 2000 Tim Powers <timp@redhat.com>
a7e54e
- rebuilt
a7e54e
a7e54e
* Mon Jun 5 2000 Tim Powers <timp@redhat.com>
a7e54e
- man pages in correct location
a7e54e
- use %%makeinstall
a7e54e
a7e54e
* Mon May 8 2000 Tim Powers <timp@redhat.com>
a7e54e
- use applnk for dirs
a7e54e
- use %%configure
a7e54e
- remove redundant defines
a7e54e
- rebuilt for 7.0
a7e54e
a7e54e
* Tue Nov 2 1999 Tim Powers <timp@redhat.com>
a7e54e
- updated to 1.1.3
a7e54e
- we now have xcdrdao
a7e54e
- added gnome menu stuff
a7e54e
a7e54e
* Fri Aug 21 1999 Tim Powers <timp@redhat.com>
a7e54e
- removed wmconfig stuff. Nosuch file names xcdrdao
a7e54e
a7e54e
* Wed Aug 18 1999 Dale Lovelace <dale@redhat.com>
a7e54e
- add cdrdao.wmconfig
a7e54e
a7e54e
* Sat Jul 10 1999 Tim Powers <timp@redhat.com>
a7e54e
- updated to 1.1.1 
a7e54e
- built for 6.1
a7e54e
a7e54e
* Mon May 10 1999 Cristian Gafton <gafton@redhat.com>
a7e54e
- gtk-- does not wokr on the alpha, so we have no xcdrdao for it.
a7e54e
- cheesy workaround for the broken tar archive
a7e54e
a7e54e
* Tue Apr 13 1999 Michael Maher <mike@redhat.com>
a7e54e
- built package