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