2007-03-01 10:24:47 +00:00
|
|
|
Summary: A collection of CD/DVD utilities
|
|
|
|
Name: cdrkit
|
2007-06-20 16:07:59 +00:00
|
|
|
Version: 1.1.6
|
2008-02-27 09:07:06 +00:00
|
|
|
Release: 11%{?dist}
|
2007-08-17 12:14:56 +00:00
|
|
|
License: GPLv2
|
2007-03-01 10:24:47 +00:00
|
|
|
Group: Applications/System
|
|
|
|
URL: http://cdrkit.org/
|
|
|
|
Source: http://debburn.alioth.debian.org/cdrkit-%{version}.tar.gz
|
2007-09-20 15:30:53 +00:00
|
|
|
|
|
|
|
Patch1: genisoimage-dlength.patch
|
2007-09-21 09:24:38 +00:00
|
|
|
Patch2: icedax-segfault.patch
|
|
|
|
Patch3: wodim-prtypo.patch
|
2008-02-21 18:36:44 +00:00
|
|
|
Patch4: cdrkit-1.1.6-oldsyn.patch
|
2008-02-25 10:19:26 +00:00
|
|
|
Patch5: cdrkit-1.1.6-werror.patch
|
2007-09-20 15:30:53 +00:00
|
|
|
|
2008-02-21 16:30:18 +00:00
|
|
|
BuildRequires: cmake libcap-devel zlib-devel perl file-devel
|
2007-03-01 10:24:47 +00:00
|
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
%description
|
|
|
|
cdrkit is a collection of CD/DVD utilities.
|
|
|
|
|
|
|
|
%package -n wodim
|
|
|
|
Summary: A command line CD/DVD recording program
|
|
|
|
Group: Applications/Archiving
|
|
|
|
Obsoletes: dvdrecord <= 0:0.1.5
|
|
|
|
Provides: dvdrecord = 0:0.1.5.1
|
2007-04-23 09:42:18 +00:00
|
|
|
Obsoletes: cdrecord < 9:2.01-12
|
|
|
|
Provides: cdrecord = 9:2.01-12
|
2007-09-21 08:07:34 +00:00
|
|
|
Requires(preun): %{_sbindir}/alternatives chkconfig coreutils
|
|
|
|
Requires(post): %{_sbindir}/alternatives chkconfig coreutils
|
2007-03-01 10:24:47 +00:00
|
|
|
|
|
|
|
%description -n wodim
|
|
|
|
Wodim is an application for creating audio and data CDs. Wodim
|
|
|
|
works with many different brands of CD recorders, fully supports
|
|
|
|
multi-sessions and provides human-readable error messages.
|
|
|
|
|
|
|
|
%package -n genisoimage
|
|
|
|
Summary: Creates an image of an ISO9660 filesystem
|
|
|
|
Group: Applications/System
|
2007-04-23 09:42:18 +00:00
|
|
|
Obsoletes: mkisofs < 9:2.01-12
|
|
|
|
Provides: mkisofs = 9:2.01-12
|
2007-03-01 10:24:47 +00:00
|
|
|
Requires: perl >= 4:5.8.1
|
2007-09-21 08:07:34 +00:00
|
|
|
Requires(preun): %{_sbindir}/alternatives chkconfig coreutils
|
|
|
|
Requires(post): %{_sbindir}/alternatives chkconfig coreutils
|
2007-03-01 10:24:47 +00:00
|
|
|
|
|
|
|
%description -n genisoimage
|
|
|
|
The genisoimage program is used as a pre-mastering program; i.e., it
|
|
|
|
generates the ISO9660 filesystem. Genisoimage takes a snapshot of
|
|
|
|
a given directory tree and generates a binary image of the tree
|
|
|
|
which will correspond to an ISO9660 filesystem when written to
|
|
|
|
a block device. Genisoimage is used for writing CD-ROMs, and includes
|
|
|
|
support for creating bootable El Torito CD-ROMs.
|
|
|
|
|
|
|
|
Install the genisoimage package if you need a program for writing
|
|
|
|
CD-ROMs.
|
|
|
|
|
|
|
|
%package -n icedax
|
|
|
|
Group: Applications/Multimedia
|
|
|
|
Summary: A utility for sampling/copying .wav files from digital audio CDs
|
2007-04-23 09:42:18 +00:00
|
|
|
Obsoletes: cdda2wav < 9:2.01-12
|
|
|
|
Provides: cdda2wav = 9:2.01-12
|
2007-09-21 08:07:34 +00:00
|
|
|
Requires(preun): %{_sbindir}/alternatives chkconfig coreutils
|
|
|
|
Requires(post): %{_sbindir}/alternatives chkconfig coreutils
|
2007-03-01 10:24:47 +00:00
|
|
|
|
|
|
|
%description -n icedax
|
|
|
|
Icedax is a sampling utility for CD-ROM drives that are capable of
|
|
|
|
providing a CD's audio data in digital form to your host. Audio data
|
|
|
|
read from the CD can be saved as .wav or .sun format sound files.
|
|
|
|
Recording formats include stereo/mono, 8/12/16 bits and different
|
|
|
|
rates. Icedax can also be used as a CD player.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2007-09-20 15:30:53 +00:00
|
|
|
%patch1 -p1 -b .dlength
|
2007-09-21 09:24:38 +00:00
|
|
|
%patch2 -p1 -b .segf
|
|
|
|
%patch3 -p1 -b .prtypo
|
2008-02-21 18:36:44 +00:00
|
|
|
%patch4 -p1 -b .oldsyn
|
2008-02-27 09:46:01 +00:00
|
|
|
%patch5 -p1 -b .werror
|
2007-03-01 10:24:47 +00:00
|
|
|
find . -type f -print0 | xargs -0 perl -pi -e 's#/usr/local/bin/perl#/usr/bin/perl#g'
|
|
|
|
find doc -type f -print0 | xargs -0 chmod a-x
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
mkdir fedora
|
|
|
|
cd fedora
|
2008-02-27 09:46:01 +00:00
|
|
|
export CFLAGS="$RPM_OPT_FLAGS -Wall -Werror -Wno-unused-function -Wno-unused-variable"
|
2008-02-25 10:19:26 +00:00
|
|
|
export CXXFLAGS="$CFLAGS"
|
|
|
|
export FFLAGS="$CFLAGS"
|
2007-03-01 10:24:47 +00:00
|
|
|
cmake .. \
|
|
|
|
-DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
|
|
|
|
-DBUILD_SHARED_LIBS:BOOL=ON
|
|
|
|
make VERBOSE=1 %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
cd fedora
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
perl -pi -e 's#^require v5.8.1;##g' $RPM_BUILD_ROOT%{_bindir}/dirsplit
|
2007-09-21 08:07:34 +00:00
|
|
|
ln -s genisoimage $RPM_BUILD_ROOT%{_bindir}/mkisofs
|
|
|
|
ln -s genisoimage $RPM_BUILD_ROOT%{_bindir}/mkhybrid
|
|
|
|
ln -s icedax $RPM_BUILD_ROOT%{_bindir}/cdda2wav
|
|
|
|
ln -s wodim $RPM_BUILD_ROOT%{_bindir}/cdrecord
|
|
|
|
ln -s wodim $RPM_BUILD_ROOT%{_bindir}/dvdrecord
|
2007-03-01 10:24:47 +00:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2007-09-20 15:30:53 +00:00
|
|
|
%post -n wodim
|
2007-09-21 08:07:34 +00:00
|
|
|
link=`readlink %{_bindir}/cdrecord`
|
|
|
|
if [ "$link" == "%{_bindir}/wodim" ]; then
|
|
|
|
rm -f %{_bindir}/cdrecord
|
|
|
|
fi
|
|
|
|
link=`readlink %{_bindir}/dvdrecord`
|
|
|
|
if [ "$link" == "wodim" ]; then
|
|
|
|
rm -f %{_bindir}/dvdrecord
|
|
|
|
fi
|
|
|
|
|
2007-09-20 15:30:53 +00:00
|
|
|
%{_sbindir}/alternatives --install %{_bindir}/cdrecord cdrecord \
|
|
|
|
%{_bindir}/wodim 50 \
|
|
|
|
--slave %{_mandir}/man1/cdrecord.1.gz cdrecord-cdrecordman \
|
|
|
|
%{_mandir}/man1/wodim.1.gz \
|
|
|
|
--slave %{_bindir}/dvdrecord cdrecord-dvdrecord %{_bindir}/wodim \
|
|
|
|
--slave %{_mandir}/man1/dvdrecord.1.gz cdrecord-dvdrecordman \
|
|
|
|
%{_mandir}/man1/wodim.1.gz \
|
|
|
|
--slave %{_bindir}/readcd cdrecord-readcd %{_bindir}/readom \
|
|
|
|
--slave %{_mandir}/man1/readcd.1.gz cdrecord-readcdman \
|
2007-09-25 14:28:12 +00:00
|
|
|
%{_mandir}/man1/readom.1.gz
|
2007-09-20 15:30:53 +00:00
|
|
|
|
|
|
|
%preun -n wodim
|
|
|
|
if [ $1 = 0 ]; then
|
|
|
|
%{_sbindir}/alternatives --remove cdrecord %{_bindir}/wodim
|
|
|
|
fi
|
|
|
|
|
|
|
|
%post -n genisoimage
|
2007-09-21 08:07:34 +00:00
|
|
|
link=`readlink %{_bindir}/mkisofs`
|
|
|
|
if [ "$link" == "genisoimage" ]; then
|
|
|
|
rm -f %{_bindir}/mkisofs
|
|
|
|
fi
|
|
|
|
|
2007-09-20 15:30:53 +00:00
|
|
|
%{_sbindir}/alternatives --install %{_bindir}/mkisofs mkisofs \
|
|
|
|
%{_bindir}/genisoimage 50 \
|
|
|
|
--slave %{_mandir}/man1/mkisofs.1.gz mkisofs-mkisofsman \
|
|
|
|
%{_mandir}/man1/genisoimage.1.gz \
|
|
|
|
--slave %{_bindir}/mkhybrid mkisofs-mkhybrid %{_bindir}/genisoimage
|
|
|
|
|
|
|
|
%preun -n genisoimage
|
|
|
|
if [ $1 = 0 ]; then
|
|
|
|
%{_sbindir}/alternatives --remove mkisofs %{_bindir}/genisoimage
|
|
|
|
fi
|
|
|
|
|
|
|
|
%post -n icedax
|
2007-09-21 08:07:34 +00:00
|
|
|
link=`readlink %{_bindir}/cdda2wav`
|
|
|
|
if [ "$link" == "icedax" ]; then
|
|
|
|
rm -f %{_bindir}/cdda2wav
|
|
|
|
fi
|
2007-09-20 15:30:53 +00:00
|
|
|
%{_sbindir}/alternatives --install %{_bindir}/cdda2wav cdda2wav \
|
|
|
|
%{_bindir}/icedax 50 \
|
|
|
|
--slave %{_mandir}/man1/cdda2wav.1.gz cdda2wav-cdda2wavman \
|
|
|
|
%{_mandir}/man1/icedax.1.gz
|
|
|
|
|
|
|
|
%preun -n icedax
|
|
|
|
if [ $1 = 0 ]; then
|
|
|
|
%{_sbindir}/alternatives --remove cdda2wav %{_bindir}/icedax
|
|
|
|
fi
|
|
|
|
|
2007-03-01 10:24:47 +00:00
|
|
|
%files -n wodim
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc Changelog COPYING FAQ FORK START
|
|
|
|
%doc doc/READMEs doc/wodim
|
|
|
|
%{_bindir}/devdump
|
|
|
|
%{_bindir}/wodim
|
2007-09-21 08:07:34 +00:00
|
|
|
%ghost %{_bindir}/cdrecord
|
|
|
|
%ghost %{_bindir}/dvdrecord
|
2007-03-01 10:24:47 +00:00
|
|
|
%{_bindir}/readom
|
|
|
|
%{_sbindir}/netscsid
|
|
|
|
%{_mandir}/man1/devdump.*
|
|
|
|
%{_mandir}/man1/wodim.*
|
|
|
|
%{_mandir}/man1/readom.*
|
|
|
|
|
|
|
|
%files -n icedax
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc doc/icedax COPYING
|
|
|
|
%{_bindir}/icedax
|
2007-09-21 08:07:34 +00:00
|
|
|
%ghost %{_bindir}/cdda2wav
|
2007-03-01 10:24:47 +00:00
|
|
|
%{_bindir}/cdda2mp3
|
|
|
|
%{_bindir}/cdda2ogg
|
|
|
|
%{_mandir}/man1/icedax.*
|
|
|
|
%{_mandir}/man1/cdda2ogg.*
|
|
|
|
%{_mandir}/man1/list_audio_tracks.*
|
|
|
|
|
|
|
|
%files -n genisoimage
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc doc/genisoimage COPYING
|
|
|
|
%{_bindir}/genisoimage
|
2007-09-21 08:07:34 +00:00
|
|
|
%ghost %{_bindir}/mkisofs
|
|
|
|
%ghost %{_bindir}/mkhybrid
|
2007-03-01 10:24:47 +00:00
|
|
|
%{_bindir}/isodebug
|
|
|
|
%{_bindir}/isodump
|
|
|
|
%{_bindir}/isoinfo
|
|
|
|
%{_bindir}/isovfy
|
|
|
|
%{_bindir}/dirsplit
|
|
|
|
%{_bindir}/pitchplay
|
|
|
|
%{_bindir}/readmult
|
|
|
|
%{_mandir}/man5/genisoimagerc.*
|
|
|
|
%{_mandir}/man1/genisoimage.*
|
|
|
|
%{_mandir}/man1/isodebug.*
|
|
|
|
%{_mandir}/man1/isodump.*
|
|
|
|
%{_mandir}/man1/isoinfo.*
|
|
|
|
%{_mandir}/man1/isovfy.*
|
|
|
|
%{_mandir}/man1/dirsplit.*
|
|
|
|
%{_mandir}/man1/pitchplay.*
|
|
|
|
%{_mandir}/man1/readmult.*
|
|
|
|
|
|
|
|
%changelog
|
2008-02-27 09:07:06 +00:00
|
|
|
* Wed Feb 27 2008 Harald Hoyer <harald@redhat.com> 1.1.6-11
|
|
|
|
- refined -Werror patch
|
|
|
|
|
2008-02-25 10:19:26 +00:00
|
|
|
* Mon Feb 25 2008 Harald Hoyer <harald@redhat.com> 1.1.6-10
|
|
|
|
- patched to compile with -Werror (rhbz#429385)
|
|
|
|
|
2008-02-21 18:36:44 +00:00
|
|
|
* Thu Feb 21 2008 Harald Hoyer <harald@redhat.com> 1.1.6-9
|
|
|
|
- fixed loop on error message for old dev syntax (rhbz#429386)
|
|
|
|
|
2008-02-21 16:30:18 +00:00
|
|
|
* Thu Feb 21 2008 Harald Hoyer <harald@redhat.com> 1.1.6-8
|
|
|
|
- added file-devel to build requirements
|
|
|
|
|
2008-02-19 04:35:32 +00:00
|
|
|
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.1.6-7
|
|
|
|
- Autorebuild for GCC 4.3
|
|
|
|
|
2007-09-25 14:28:12 +00:00
|
|
|
* Tue Sep 25 2007 Harald Hoyer <harald@redhat.com> - 1.1.6-6
|
|
|
|
- fixed readcd man page symlink
|
|
|
|
|
2007-09-21 09:24:38 +00:00
|
|
|
* Fri Sep 21 2007 Harald Hoyer <harald@redhat.com> - 1.1.6-5
|
|
|
|
- fixed rhbz#255001 - icedax --devices segfaults
|
|
|
|
- fixed rhbz#249357 - Typo in wodim output
|
|
|
|
|
2007-09-21 08:07:34 +00:00
|
|
|
* Fri Sep 21 2007 Harald Hoyer <harald@redhat.com> - 1.1.6-4
|
|
|
|
- play stupid tricks, to let alternatives make the links and
|
|
|
|
rpm not removing them afterwards
|
|
|
|
- removed bogus warning for "." and ".."
|
|
|
|
|
2007-09-20 15:30:53 +00:00
|
|
|
* Thu Sep 20 2007 Harald Hoyer <harald@redhat.com> - 1.1.6-3
|
|
|
|
- fixed rhbz#248262
|
|
|
|
- switched to alternatives
|
|
|
|
|
2007-08-17 12:14:56 +00:00
|
|
|
* Fri Aug 17 2007 Harald Hoyer <harald@redhat.com> - 1.1.6-2
|
|
|
|
- changed license to GPLv2
|
|
|
|
|
2007-06-20 16:07:59 +00:00
|
|
|
* Wed Jun 20 2007 Harald Hoyer <harald@redhat.com> - 1.1.6-1
|
|
|
|
- version 1.1.6
|
|
|
|
- added readcd symlink
|
|
|
|
|
2007-04-23 09:42:18 +00:00
|
|
|
* Mon Apr 23 2007 Harald Hoyer <harald@redhat.com> - 1.1.2-4
|
|
|
|
- bump obsoletes/provides
|
|
|
|
|
|
|
|
* Tue Feb 27 2007 Harald Hoyer <harald@redhat.com> - 1.1.2-3
|
2007-03-01 10:24:47 +00:00
|
|
|
- applied specfile changes as in bug #224365
|
|
|
|
|
|
|
|
* Wed Jan 24 2007 Harald Hoyer <harald@redhat.com> - 1.1.2-1
|
|
|
|
- version 1.1.2
|