File cdrdao.spec of Package cdrdao
#
# spec file for package cdrdao (Version 1.2.2)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: cdrdao
%define DISTRIBUTABLE 1
BuildRequires: gcc-c++ libao-devel libgnomeuimm-devel libvorbis-devel update-desktop-files wodim-devel
%if %DISTRIBUTABLE == 0
BuildRequires: lame mad-devel
%endif
License: GPL v2 or later
Group: Productivity/Multimedia/CD/Record
AutoReqProv: on
Version: 1.2.2
Release: 248
Summary: Write CD-Rs in Disk-At-Once Mode
Url: http://cdrdao.sourceforge.net
Source: cdrdao-%{version}.tar.bz2
Patch1: cdrdao-build.patch
Patch2: cdrdao-%{version}-scan.patch
Patch3: cdrdao-%{version}-usal.patch
Patch4: cdrdao-%{version}-include.patch
Patch5: cdrdao-%{version}-sigc.patch
Patch6: cdrdao-%{version}-libnsl.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
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.
Authors:
--------
Andreas Mueller <mueller@daneb.ping.de>
%package -n gcdmaster
License: GPL v2 or later
Requires: cdrdao
Summary: Graphical front end to cdrdao for composing audio CDs
Group: Productivity/Multimedia/CD/Record
%description -n gcdmaster
gcdmaster allows the creation of toc-files for cdrdao and can control
the recording process. Its main application is the composition of audio
CDs from one or more audio files. It supports PQ-channel editing, entry
of meta data like ISRC codes/CD-TEXT and nondestructive cut of the
audio data.
%prep
%setup -q
%patch1
%patch2
%patch3
%patch4
%patch5
%patch6
%build
autoreconf -f -i
rm -r scsilib # to be sure the external lib is used
%configure\
--with-scglib=sys\
--with-scglib-inc=%{_includedir}/wodim\
--with-scglib-lib=%{_libdir}
make %{?jobs:-j%jobs}
%install
%makeinstall
rm -r $RPM_BUILD_ROOT%{_datadir}/mime-info $RPM_BUILD_ROOT%{_datadir}/application-registry
%suse_update_desktop_file gcdmaster DiscBurning
%clean
rm -rf $RPM_BUILD_ROOT
%post -n gcdmaster
if test -x usr/bin/update-mime-database ; then
usr/bin/update-mime-database usr/share/mime >/dev/null
fi
%postun -n gcdmaster
if test -x usr/bin/update-mime-database ; then
usr/bin/update-mime-database usr/share/mime >/dev/null
fi
%files
%defattr(-,root,root)
%doc README README.PlexDAE COPYING CREDITS
%{_bindir}/[ct]*
%{_datadir}/cdrdao
%doc %{_mandir}/*/cdrdao*
%doc %{_mandir}/*/cue2toc*
%files -n gcdmaster
%defattr(-,root,root)
%{_bindir}/gcdmaster
%{_datadir}/applications/*.desktop
%{_datadir}/gcdmaster
%{_datadir}/mime/packages/gcdmaster.xml
%{_datadir}/pixmaps/*.png
%doc %{_mandir}/*/gcdmaster*
%changelog
* Mon Apr 28 2008 nadvornik@suse.cz
- removed unneeded library dependency (libnsl.patch) [bnc#384164]
* Tue Apr 08 2008 nadvornik@suse.cz
- fixed to compile (sigc.patch)
* Wed Oct 24 2007 nadvornik@suse.cz
- include missing string.h
* Wed Jan 31 2007 sbrabec@suse.cz
- Prefix of gcdmaster changed to /usr.
- Spec file cleanup.
* Tue Jan 23 2007 nadvornik@suse.cz
- build with libusal from cdrkit
* Thu Oct 05 2006 nadvornik@suse.cz
- update to 1.2.2:
* bugfixes, compilation fixes
* updaed driver table
- dropped unneeded patches, including resmgr patch
* Sun Feb 19 2006 aj@suse.de
- Reduce BuildRequires.
* Tue Jan 31 2006 nadvornik@suse.cz
- do not scan old ATAPI interface [#144861]
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Tue Jan 24 2006 nadvornik@suse.cz
- fixed detection of libgnomeuimm
* Wed Dec 14 2005 ro@suse.de
- removed /usr/share/mime directory from filelist
(in filesystem package now)
* Tue Nov 01 2005 nadvornik@suse.cz
- updated to 1.2.0
* Mon Aug 08 2005 ro@suse.de
- update to cvs to fix build of gcdmaster with gnome-2.6
* Sun Aug 07 2005 ro@suse.de
- find new libgnomeuimm
* Wed Apr 20 2005 nadvornik@suse.de
- fixed to compile with gcc4
* Fri Feb 11 2005 ro@suse.de
- change neededforbuild to libsigc++12
* Thu Sep 23 2004 nadvornik@suse.cz
- built with internal pccts [#45343]
* Thu Jul 01 2004 nadvornik@suse.cz
- updated to 1.1.9
- MMC-driver auto-detection in mainstream, corresponding SUSE patch dropped
- fixed [#42615]
* Mon Apr 19 2004 ro@suse.de
- fix warning: control reaches end of non-void function
* Fri Apr 02 2004 nadvornik@suse.cz
- fixed sound in gcdmaster [#33948]
* Mon Mar 29 2004 nadvornik@suse.cz
- fixed bug in dynamic menus [#36638]
* Fri Feb 20 2004 nadvornik@suse.cz
- scan for ATA devices
* Wed Feb 18 2004 nadvornik@suse.cz
- updated to 1.1.8
- ported to gnome2
* Mon Feb 02 2004 nadvornik@suse.cz
- fixed a crash caused by wrong assert [#32701]
- fixed the fallback driver patch [#33646]
* Sat Jan 10 2004 adrian@suse.de
- build as user
* Tue Sep 16 2003 nadvornik@suse.cz
- added fallback to generic-mmc if no other driver is detected [#31044]
* Sun Sep 07 2003 adrian@suse.de
- add Categories
* Mon Sep 01 2003 ro@suse.de
- change version string to 1.1.7-suse
- use current libscg from cdrecord
- backport "drive-info" command from cvs
- backport libscg interface changes from cvs
* Thu Aug 14 2003 nadvornik@suse.cz
- added GDR8160B to driver list [#26860]
* Thu Jul 24 2003 uli@suse.de
- fixed to build on s390x
* Fri Mar 07 2003 meissner@suse.de
- added resmgr support, rerun autoconf to bring in new
resmgr checks.
* Tue Feb 11 2003 nadvornik@suse.cz
- updated to 1.1.7
* Mon Jan 27 2003 ro@suse.de
- fix gcc-3.3 build
* Mon Jan 20 2003 ro@suse.de
- fix multiline-string issue in code
* Fri Sep 27 2002 ro@suse.de
- Added alsa alsa-devel to neededforbuild (esound)
* Mon Aug 05 2002 nadvornik@suse.cz
- updated driver table
* Tue Jul 23 2002 nadvornik@suse.cz
- installed toc2cue (bug #17144)
* Mon Jun 17 2002 meissner@suse.de
- use ppc config file for ppc64 too.
* Tue May 14 2002 ro@suse.de
- fix to build on x86_64 and with pccts includes in lib64
* Fri Apr 26 2002 ro@suse.de
- fix build with latest gcc
* Mon Apr 22 2002 ro@suse.de
- make it build with gcc-3.1
* Fri Sep 07 2001 nadvornik@suse.cz
- added /usr/share/cdrdao to filelist
* Wed Aug 29 2001 schwab@suse.de
- Add %%suse_update_config.
- Fix configuration problem.
* Fri Aug 03 2001 uli@suse.de
- added rules for s390
* Wed Jun 20 2001 nadvornik@suse.cz
- created subpackage "gcdmaster"
* Thu May 31 2001 egger@suse.de
- Updated to version 1.1.5.
- Fixed specfile.
- Enabled GNOME frontend (to be moved into subpackage).
- Completed #neededforbuild.
* Thu May 10 2001 mfabian@suse.de
- bzip2 sources
* Tue Feb 20 2001 sf@suse.de
- added ia64 to RULES
- added ia64 to btorder.h
- added <string.h> for gcc-2.96
* Fri Feb 09 2001 ro@suse.de
- fixed to compile
- sigc++, sigc++-devel need to be added to neededforbuild,
but xdao does not compile with current gtk anyway
* Sun Nov 05 2000 ro@suse.de
- fixed neededforbuild
* Thu Jul 06 2000 kukuk@suse.de
- Add patch for SPARC
* Fri May 19 2000 smid@suse.cz
- man pages fixed
* Thu Apr 06 2000 smid@suse.cz
- buildroot added
* Mon Jan 17 2000 ro@suse.de
- man to usr/share/man
* Tue Nov 09 1999 ro@suse.de
- update to 1.1.3 (added xcdrdao, gtk-frontend)
* Mon Sep 13 1999 bs@suse.de
- ran old prepare_spec on spec file to switch to new prepare_spec.
* Tue Aug 03 1999 uli@suse.de
- update -> 1.1.2
* Fri Apr 16 1999 ro@suse.de
- update to 1.1.0
* Tue Dec 01 1998 ro@suse.de
- update to 1.09
* Mon Sep 14 1998 ro@suse.de
- initial suse package, development version 1.06