ec5b1a3
%define rcversion rc2
ec5b1a3
ec5b1a3
Summary:   Writes audio CD-Rs in disk-at-once (DAO) mode
ec5b1a3
Name:      cdrdao
ec5b1a3
Version:   1.2.3
c872410
Release:   0.%{rcversion}.3
ec5b1a3
License:   GPLv2
ec5b1a3
Group:     Applications/Multimedia
ec5b1a3
URL:       http://cdrdao.sourceforge.net/
ec5b1a3
Source0:   %{name}-%{version}%{rcversion}.tar.bz2
ec5b1a3
Patch0:    cdrdao-1.2.2-gcc44.patch
ec5b1a3
Patch1:    cdrdao-1.2.2-desktop.patch
e09bf2a
Patch2:    cdrdao-1.2.3-version.patch
3663394
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
3663394
ec5b1a3
BuildRequires:  gtkmm24-devel
ec5b1a3
BuildRequires:  libgnomeuimm26-devel
ec5b1a3
BuildRequires:  libsigc++20-devel
ec5b1a3
BuildRequires:  libvorbis-devel >= 1.0
ec5b1a3
BuildRequires:  desktop-file-utils
ec5b1a3
BuildRequires:  libao-devel
cvsdist 7b6b3c3
cvsdist 15a1e71
# Only exclude s390
1938654
ExcludeArch: s390 s390x
cvsdist 40a061b
ec5b1a3
cvsdist 40a061b
%description
cvsdist 40a061b
Cdrdao records audio CD-Rs in disk-at-once (DAO) mode, based on a
cvsdist 67a3ddf
textual description of the CD contents. Recording in DAO mode writes
cvsdist 40a061b
the complete disc (lead-in, one or more tracks, and lead-out) in a
cvsdist 67a3ddf
single step. DAO allows full control over the length and the contents
cvsdist 40a061b
of pre-gaps, the pause areas between tracks.
cvsdist 40a061b
ec5b1a3
ec5b1a3
%package -n gcdmaster
ec5b1a3
Summary:      A Gnome2 Disk-At-Once (DAO) Audio CD writer
ec5b1a3
Group:        Applications/Multimedia
ec5b1a3
Requires:     cdrdao = %{version}-%{release}
ec5b1a3
ec5b1a3
Requires(post):   shared-mime-info desktop-file-utils
ec5b1a3
Requires(postun): shared-mime-info desktop-file-utils
ec5b1a3
Requires(pre):    GConf2
ec5b1a3
Requires(post):   GConf2
ec5b1a3
Requires(preun):  GConf2
ec5b1a3
ec5b1a3
ec5b1a3
%description -n gcdmaster
ec5b1a3
Gcdmaster is a GNOME2 GUI front-end to cdrdao that makes it easy to
ec5b1a3
visualize and manipulate audio information before burning it onto
ec5b1a3
CD. Its features include: cut/copy/paste of sound samples, track marks
ec5b1a3
edition and silence insertion.
ec5b1a3
ec5b1a3
cvsdist 40a061b
%prep
ec5b1a3
%setup -q -n %{name}-%{version}%{rcversion}
ec5b1a3
%patch0 -p1 -b .gcc4
ec5b1a3
%patch1 -p1 -b .desktop
e09bf2a
%patch2 -p1 -b .version
ec5b1a3
cvsdist 13fe59d
cvsdist 40a061b
%build
ec5b1a3
%configure \
ec5b1a3
        --with-xdao \
ec5b1a3
        --without-scglib \
ec5b1a3
        --with-mp3-support \
ec5b1a3
        --without-lame
3663394
3663394
make %{?_smp_mflags}
cvsdist 40a061b
ec5b1a3
cvsdist 40a061b
%install
cvsdist 40a061b
rm -rf $RPM_BUILD_ROOT
3663394
make install DESTDIR=$RPM_BUILD_ROOT
cvsdist 40a061b
ec5b1a3
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
ec5b1a3
ec5b1a3
desktop-file-install \
ec5b1a3
  --vendor "" \
ec5b1a3
  --mode 644 \
ec5b1a3
  --dir $RPM_BUILD_ROOT%{_datadir}/applications \
ec5b1a3
  --delete-original \
ec5b1a3
  $RPM_BUILD_ROOT%{_datadir}/applications/gcdmaster.desktop
ec5b1a3
ec5b1a3
cvsdist 40a061b
%clean
cvsdist 40a061b
rm -rf $RPM_BUILD_ROOT
cvsdist 40a061b
ec5b1a3
ec5b1a3
%post -n gcdmaster
ec5b1a3
update-mime-database %{_datadir}/mime > /dev/null 2>&1 || :
ec5b1a3
update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
ec5b1a3
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
ec5b1a3
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/gcdmaster.schemas > /dev/null  || :
ec5b1a3
killall -HUP gconfd-2 &>/dev/null || :
ec5b1a3
ec5b1a3
ec5b1a3
%postun -n gcdmaster
ec5b1a3
update-mime-database %{_datadir}/mime > /dev/null 2>&1 || :
ec5b1a3
update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
ec5b1a3
if [ "$1" -gt 1 ]; then
ec5b1a3
  export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
ec5b1a3
  gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/gcdmaster.schemas >/dev/null || :
ec5b1a3
  killall -HUP gconfd-2 &>/dev/null || :
ec5b1a3
fi
ec5b1a3
ec5b1a3
ec5b1a3
%preun
ec5b1a3
if [ "$1" -eq 0 ]; then
ec5b1a3
  export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
ec5b1a3
  gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/gcdmaster.schemas > /dev/null || :
ec5b1a3
  killall -HUP gconfd-2 &>/dev/null || :
ec5b1a3
fi
ec5b1a3
ec5b1a3
cvsdist 40a061b
%files
ec5b1a3
%defattr(-, root, root, -)
ec5b1a3
%doc AUTHORS COPYING README CREDITS ChangeLog
ec5b1a3
%{_bindir}/cdrdao
ec5b1a3
%{_bindir}/*toc*
ec5b1a3
%{_datadir}/cdrdao
ec5b1a3
%{_mandir}/*/cdrdao*
ec5b1a3
%{_mandir}/*/cue2toc*
ec5b1a3
ec5b1a3
ec5b1a3
%files -n gcdmaster
ec5b1a3
%defattr(-, root, root, -)
ec5b1a3
%{_bindir}/gcdmaster
ec5b1a3
%{_datadir}/gcdmaster
ec5b1a3
%{_datadir}/applications/*.desktop
ec5b1a3
%{_datadir}/mime-info/gcdmaster*
ec5b1a3
%{_datadir}/mime/packages/gcdmaster.xml
ec5b1a3
%{_datadir}/application-registry/gcdmaster.applications
ec5b1a3
%{_datadir}/pixmaps/*
ec5b1a3
%{_sysconfdir}/gconf/schemas/gcdmaster.schemas
ec5b1a3
%{_mandir}/man1/gcdmaster*
ec5b1a3
cvsdist 40a061b
cvsdist 40a061b
%changelog
c872410
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.3-0.rc2.3
c872410
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
c872410
e09bf2a
* Thu Apr 16 2009 Denis Leroy <denis@poolshark.org> - 1.2.3-0.rc2.2
e09bf2a
- Make sure version is printed with usage, to fix k3b
e09bf2a
ec5b1a3
* Tue Apr  7 2009 Denis Leroy <denis@poolshark.org> - 1.2.3-0.rc2.1
ec5b1a3
- Update to latest 1.2.3 release candidate
ec5b1a3
- Merged with gcdmaster spec file
ec5b1a3
- Added scripts to manage gcdmaster new schemas file
ec5b1a3
- Moved desktop file fix into patch
ec5b1a3
- Added patch to fix gcc 4.4 compile
ec5b1a3
9d4b4b5
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.2-6
9d4b4b5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
9d4b4b5
fe41e5d
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.2.2-5
fe41e5d
- Autorebuild for GCC 4.3
fe41e5d
03e9b82
* Mon Feb 18 2008 harald@redhat.com 1.2.2-4
03e9b82
- added string.h includes to make it compile again
03e9b82
af227e8
* Fri Aug 17 2007 Harald Hoyer <harald@redhat.com> - 1.2.2-3
af227e8
- changed license to GPLv2
af227e8
3663394
* Tue Feb 27 2007 Harald Hoyer <harald@redhat.com> - 1.2.2-2
3663394
- fixed specfile issues (bug #225639)
3663394
c44a22b
* Wed Jan 24 2007 Harald Hoyer <harald@redhat.com> - 1.2.2-1
c44a22b
- version 1.2.2
c44a22b
- built without cdrecord-devel now
c44a22b
3663394
* Mon Aug 21 2006 Harald Hoyer <harald@redhat.com> - 1.2.1-2
189d1c9
- rebuild with new/old cdrtools
189d1c9
1236ef2
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.2.1-1.1
1236ef2
- rebuild
1236ef2
3b5c4b3
* Wed Mar 08 2006 Harald Hoyer <harald@redhat.com> - 1.2.1-1
3b5c4b3
- version 1.2.1 (1.2.0 was not functional)
3b5c4b3
87798d3
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.2.0-1.2.2
87798d3
- bump again for double-long bug on ppc(64)
87798d3
5987bbe
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.2.0-1.2.1
5987bbe
- rebuilt for new gcc4.1 snapshot and glibc changes
5987bbe
dc55f4c
* Tue Jan 17 2006 Harald Hoyer <harald@redhat.com>
dc55f4c
- rebuilt
dc55f4c
12cee41
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
12cee41
- rebuilt
12cee41
b8a81a3
* Mon Jul 18 2005 Harald Hoyer <harald@redhat.com> 1.2.0-1
b8a81a3
- version 1.2.0
b8a81a3
d7c33e1
* Wed Mar 02 2005 Harald Hoyer <harald@redhat.com> 
d7c33e1
- rebuilt
d7c33e1
43bc1da
* Tue Feb 22 2005 Karsten Hopp <karsten@redhat.de> 1.1.9-8 
43bc1da
- cdrdao builds just fine without the pccts package and uses 
43bc1da
  its own pccts copy.
43bc1da
8f4607e
* Wed Feb 09 2005 Harald Hoyer <harald@redhat.com>
8f4607e
- rebuilt
8f4607e
a238f90
* Wed Oct 13 2004 Harald Hoyer <harald@redhat.com> - 1.1.9-6
a238f90
- build requires newer cdrecord-devel
a238f90
eafa025
* Tue Sep 21 2004 Harald Hoyer <harald@redhat.com> - 1.1.9-5
eafa025
- removed INSTALL from doc (bug 132908)
eafa025
cvsdist 10457fa
* Wed Sep 08 2004 Harald Hoyer <harald@redhat.com> - 1.1.9-4
cvsdist 10457fa
- build requires newer cdrecord-devel
cvsdist 10457fa
cvsdist 09b9fc5
* Tue Sep 07 2004 Harald Hoyer <harald@redhat.com> - 1.1.9-3
cvsdist 09b9fc5
- build requires newer cdrecord-devel
cvsdist 09b9fc5
cvsdist 9b6d814
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 9b6d814
- rebuilt
cvsdist 9b6d814
cvsdist 1f6ea08
* Tue Jun  8 2004 Harald Hoyer <harald@redhat.com> - 1.1.9-1
cvsdist 1f6ea08
- version 1.1.9
cvsdist 1f6ea08
cvsdist ba8dd7a
* Wed Apr 14 2004 Harald Hoyer <harald@redhat.com> - 1.1.8-4
cvsdist ba8dd7a
- fixed BuildRequires
cvsdist ba8dd7a
cvsdist b80cabc
* Tue Mar 30 2004 Harald Hoyer <harald@redhat.com> - 1.1.8-3
cvsdist b80cabc
- fixed ISO C++ issues
cvsdist b80cabc
cvsdist b80cabc
* Fri Feb 20 2004 Harald Hoyer <harald@redhat.com> - 1.1.8-2
cvsdist 13fe59d
- fixed ambigous operator cast
cvsdist 13fe59d
cvsdist 13fe59d
* Wed Feb 18 2004 Harald Hoyer <harald@redhat.com> - 1.1.8-1
cvsdist 13fe59d
- use scsilib from cdrecord-devel
cvsdist 13fe59d
cvsdist 13fe59d
* Mon Feb 16 2004 Harald Hoyer <harald@redhat.com> - 1.1.8-1
cvsdist 13fe59d
- version 1.1.8
cvsdist 13fe59d
cvsdist 13fe59d
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 13fe59d
- rebuilt
cvsdist 13fe59d
cvsdist efe7e88
* Mon Jan 26 2004 Harald Hoyer <harald@redhat.de> 1.1.7-8.atapi.1
cvsdist efe7e88
- added ATAPI: support
cvsdist efe7e88
cvsdist 2ee4c86
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
cvsdist 2ee4c86
- rebuilt
cvsdist 2ee4c86
cvsdist 2ee4c86
* Tue May 13 2003 Harald Hoyer <harald@redhat.de> 1.1.7-6
cvsdist 2ee4c86
- refined O_EXCL patch, nonroot sg handling
cvsdist 2ee4c86
cvsdist 2ee4c86
* Mon May 12 2003 Harald Hoyer <harald@redhat.de> 1.1.7-5
cvsdist 2ee4c86
- refined O_EXCL patch, nonroot sg handling
cvsdist 2ee4c86
cvsdist 15a1e71
* Wed Feb 26 2003 Harald Hoyer <harald@redhat.de> 1.1.7-4
cvsdist 15a1e71
- refined O_EXCL patch
cvsdist 15a1e71
cvsdist 15a1e71
* Tue Feb 25 2003 Harald Hoyer <harald@redhat.de> 1.1.7-3
cvsdist 15a1e71
- readded O_EXCL patch
cvsdist 15a1e71
cvsdist 15a1e71
* Tue Feb 04 2003 Phil Knirsch <pknirsch@redhat.com> 1.1.7-2
cvsdist 15a1e71
- Added s390x again as newer models will have SCSI.
cvsdist 15a1e71
cvsdist 15a1e71
* Thu Jan 29 2003 Harald Hoyer <harald@redhat.de> 1.1.7-1
cvsdist 15a1e71
- updated to 1.1.7
cvsdist 15a1e71
cvsdist 15a1e71
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
cvsdist 15a1e71
- rebuilt
cvsdist 15a1e71
cvsdist 15a1e71
* Thu Nov 28 2002 Harald Hoyer <harald@redhat.de> 1.1.5-11
cvsdist 15a1e71
- added cdrdao-1.1.5-EXCL.patch to lock the CDROM device
cvsdist 15a1e71
- more archs for scsilib (cdrtools)
cvsdist 15a1e71
cvsdist e5cad36
* Sat Aug 10 2002 Elliot Lee <sopwith@redhat.com>
cvsdist e5cad36
- rebuilt with gcc-3.2 (we hope)
cvsdist e5cad36
cvsdist cde6093
* Mon Jul 22 2002 Mike A. Harris <mharris@redhat.com> 1.1.5-9
cvsdist cde6093
- Rebuilt in new environment with gcc 3.2
cvsdist cde6093
cvsdist cde6093
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
cvsdist cde6093
- automated rebuild
cvsdist cde6093
cvsdist cde6093
* Sun May 26 2002 Tim Powers <timp@redhat.com>
cvsdist cde6093
- automated rebuild
cvsdist cde6093
cvsdist cde6093
* Tue May 21 2002 Mike A. Harris <mharris@redhat.com> 1.1.5-6
cvsdist cde6093
- Bumped release, and rebuilt against new toolchain.
cvsdist cde6093
cvsdist 0cce4d2
* Fri Feb 22 2002 Mike A. Harris <mharris@redhat.com> 1.1.5-5
cvsdist 0cce4d2
- Bumped release, and rebuilt against new toolchain.
cvsdist 0cce4d2
cvsdist 0cce4d2
* Wed Jan 09 2002 Tim Powers <timp@redhat.com> 1.1.5-4
cvsdist 0cce4d2
- automated rebuild
cvsdist 0cce4d2
cvsdist 7b6b3c3
* Sun Dec 23 2001 Mike A. Harris <mharris@redhat.com> 1.1.5-3
cvsdist 7b6b3c3
- Added missing /usr/share/cdrdao/drivers file (#57785)
cvsdist 7b6b3c3
- Also built 1.1.5-1.72.0 package for 7.x
cvsdist 7b6b3c3
cvsdist 7b6b3c3
* Sat Dec 22 2001 Mike A. Harris <mharris@redhat.com> 1.1.5-2
cvsdist 7b6b3c3
- Bumped release and rebuilt so rawhide package doesn't release number
cvsdist 7b6b3c3
  conflict with previous 1.1.5-1 package built against 7.2
cvsdist 7b6b3c3
cvsdist 7b6b3c3
* Fri Dec 21 2001 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist 7b6b3c3
- Fix non-standard C++ code
cvsdist 7b6b3c3
cvsdist 7b6b3c3
* Tue Dec 18 2001 Mike A. Harris <mharris@redhat.com> 1.1.5-1
cvsdist 7b6b3c3
- Updated to 1.1.5
cvsdist 7b6b3c3
- Updated endianness patch for ia64
cvsdist 7b6b3c3
- s/Copyright/License/ in specfile
cvsdist 7b6b3c3
- Changed to bz2 compression for smaller sources
cvsdist 7b6b3c3
- Fixed BuildRoot line (was hard coded)
cvsdist 7b6b3c3
cvsdist 67a3ddf
* Wed Sep 12 2001 Tim Powers <timp@redhat.com>
cvsdist 67a3ddf
- rebuild with new gcc and binutils
cvsdist 67a3ddf
cvsdist e9bb73e
* Tue Jun 26 2001 Bill Nottingham <notting@redhat.com>
cvsdist e9bb73e
- include on ia64
cvsdist e9bb73e
cvsdist 40a061b
* Tue Jun 19 2001 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist 40a061b
- add excludearch for s390 s390x
cvsdist 40a061b
cvsdist 40a061b
* Mon May 21 2001 Tim Powers <timp@redhat.com>
cvsdist 40a061b
- rebuilt for the distro
cvsdist 40a061b
cvsdist 40a061b
* Fri Sep 8 2000 Tim Powers <timp@redhat.com>
cvsdist 40a061b
- removed all references to xcdrdao, we don't ship it. So no applnk, no gtkmm
cvsdist 40a061b
  requirements either.
cvsdist 40a061b
cvsdist 40a061b
* Thu Sep 7 2000 Tim Powers <timp@redhat.com>
cvsdist 40a061b
- fixed bad Requires line, was still requiring gtk--, when the package changed
cvsdist 40a061b
  to gtkmm
cvsdist 40a061b
cvsdist 40a061b
* Mon Jul 24 2000 Prospector <prospector@redhat.com>
cvsdist 40a061b
- rebuilt
cvsdist 40a061b
cvsdist 40a061b
* Mon Jul 10 2000 Tim Powers <timp@redhat.com>
cvsdist 40a061b
- rebuilt
cvsdist 40a061b
cvsdist 40a061b
* Mon Jun 5 2000 Tim Powers <timp@redhat.com>
cvsdist 40a061b
- man pages in correct location
cvsdist 40a061b
- use %%makeinstall
cvsdist 40a061b
cvsdist 40a061b
* Mon May 8 2000 Tim Powers <timp@redhat.com>
cvsdist 40a061b
- use applnk for dirs
3663394
- use %%configure
cvsdist 40a061b
- remove redundant defines
cvsdist 40a061b
- rebuilt for 7.0
cvsdist 40a061b
cvsdist 40a061b
* Tue Nov 2 1999 Tim Powers <timp@redhat.com>
cvsdist 40a061b
- updated to 1.1.3
cvsdist 40a061b
- we now have xcdrdao
cvsdist 40a061b
- added gnome menu stuff
cvsdist 40a061b
cvsdist 40a061b
* Fri Aug 21 1999 Tim Powers <timp@redhat.com>
cvsdist 40a061b
- removed wmconfig stuff. Nosuch file names xcdrdao
cvsdist 40a061b
cvsdist 40a061b
* Wed Aug 18 1999 Dale Lovelace <dale@redhat.com>
cvsdist 40a061b
- add cdrdao.wmconfig
cvsdist 40a061b
cvsdist 40a061b
* Sat Jul 10 1999 Tim Powers <timp@redhat.com>
cvsdist 40a061b
- updated to 1.1.1 
cvsdist 40a061b
- built for 6.1
cvsdist 40a061b
cvsdist 40a061b
* Mon May 10 1999 Cristian Gafton <gafton@redhat.com>
cvsdist 40a061b
- gtk-- does not wokr on the alpha, so we have no xcdrdao for it.
cvsdist 40a061b
- cheesy workaround for the broken tar archive
cvsdist 40a061b
cvsdist 40a061b
* Tue Apr 13 1999 Michael Maher <mike@redhat.com>
cvsdist 40a061b
- built package