Summary: A set command line tools for CD/DVD-Recorders Name: cdrtools Version: 2.01 Release: 1 Copyright: GPL Group: Applications/Archiving Vendor: Joerg Schilling URL: http://www.fokus.gmd.de/research/cc/glone/employees/joerg.schilling/private/cdrecord.html Source0: %{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildRequires: schily-make %description A set command line tools for CD/DVD-Recorders including cdrecord, mkisofs, readcd, isoinfo and others. %package -n cdrecord Summary: A command line CD/DVD-Recorder Group: Applications/Archiving Obsoletes: cdrecord Provides: cdrecord %description -n cdrecord Cdrecord allows you to create CD's on a CD-Recorder (SCSI/ATAPI). Supports data, audio, mixed, multi-session and CD+ discs etc. %package -n cdrecord-devel Summary: Libraries and Headers needed for development. Group: Development/Libraries Obsoletes: cdrecord-devel, cdrtools-libscg, cdrtools-utils %description -n cdrecord-devel Libraries and Headers for development. %package -n cdda2wav Summary: Get WAV files from digital audio cd's Group: Applications/Sound Obsoletes: cdda2wav, cdrecord-cdda2wav Provides: cdda2wav %description -n cdda2wav A sampling utility for cdrom drives that are capable of sending audio cd data in digital form to your host. Data can be dumped into wav or sun format sound files. Options control the recording format (stereo/mono; 8,12,16 bits; different rates). %package -n mkisofs Summary: Creates a ISO9660 filesystem image Group: Applications/System Obsoletes: mkisofs, mkhybrid, cdrecord-mkhybrid, cdrecord-mkisofs Provides: mkisofs %description -n mkisofs This is the mkisofs package. It is used to create ISO 9660 file system images for creating CD-ROMs. Now includes support for making bootable "El Torito" CD-ROMs. %prep %setup -q %build smake COPTX="-DUSE_USGSHM" LDOPTX="-Wl,-bmaxdata:0x80000000 -Wl,-blibpath:/opt/freeware/lib:/usr/lib:/lib" %install export PATH=/opt/freeware/bin:$PATH [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} smake "INS_BASE=${RPM_BUILD_ROOT}%{_prefix}" install # Installing Header files for use with devel package rm include/scg install -d ${RPM_BUILD_ROOT}%{_includedir}/schily/scg install -m 644 include/* ${RPM_BUILD_ROOT}%{_includedir}/schily install -m 644 incs/*/xconfig.h ${RPM_BUILD_ROOT}%{_includedir}/schily install -m 644 libscg/scg/* ${RPM_BUILD_ROOT}%{_includedir}/schily/scg # Installing default config. mkdir -p ${RPM_BUILD_ROOT}/etc/default install -m 644 cdrecord/cdrecord.dfl ${RPM_BUILD_ROOT}/etc/default/cdrecord install -m 644 rscsi/rscsi.dfl ${RPM_BUILD_ROOT}/etc/default/rscsi # cdrecord mkdir cdrecord-rpmdocs cp AN-%{version} Changelog README* \ cdrecord/cdrecord.dfl cdrecord-rpmdocs chmod 644 cdrecord-rpmdocs/* # cdda2wav mkdir cdda2wav-rpmdocs cp AN-%{version} cdda2wav/Frontends cdda2wav/GPL cdda2wav/HOWTOUSE \ cdda2wav/OtherProgs cdda2wav/README cdda2wav/THANKS cdda2wav/TODO \ cdda2wav/cdda2mp3 cdda2wav/cdda2mp3.new cdda2wav/cdda_links \ cdda2wav/pitchplay cdda2wav/readmult cdda2wav/tracknames.pl \ cdda2wav/tracknames.txt cdda2wav/FAQ cdda2wav/cdda2ogg \ cdda2wav-rpmdocs chmod 644 cdda2wav-rpmdocs/* # mkisofs mkdir mkisofs-rpmdocs cp AN-%{version} mkisofs/COPYING mkisofs/ChangeLog mkisofs/README* \ mkisofs-rpmdocs chmod 644 mkisofs-rpmdocs/* ( cd ${RPM_BUILD_ROOT} for dir in bin sbin do mkdir -p usr/${dir} cd usr/${dir} ln -sf ../..%{_prefix}/${dir}/* . cd - done ) %clean [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} %files -n cdrecord %defattr(-,root,system) %doc cdrecord-rpmdocs/* %config(noreplace) /etc/default/cdrecord %config(noreplace) /etc/default/rscsi %{_bindir}/cdrecord %{_bindir}/readcd %{_bindir}/devdump %{_bindir}/isoinfo %{_bindir}/isodump %{_bindir}/isovfy %{_mandir}/man1/cdrecord.1* %{_mandir}/man1/readcd.1* %{_mandir}/man8/isoinfo.8* %{_sbindir}/rscsi /usr/bin/cdrecord /usr/bin/readcd /usr/bin/devdump /usr/bin/isoinfo /usr/bin/isodump /usr/bin/isovfy /usr/sbin/rscsi %files -n cdrecord-devel %defattr(-,root,system) %{_bindir}/scgcheck %{_libdir}/*.a %{_mandir}/man1/scgcheck.1* %{_includedir}/*.h %{_includedir}/schily /usr/bin/scgcheck %files -n cdda2wav %defattr(-,root,system) %doc cdda2wav-rpmdocs/* %{_bindir}/cdda2wav %{_mandir}/man1/cdda2wav.1* %{_mandir}/man1/cdda2ogg.1* /usr/bin/cdda2wav %files -n mkisofs %defattr(-,root,system) %doc mkisofs-rpmdocs/* %{_bindir}/mkisofs %{_bindir}/mkhybrid %{_bindir}/isodebug %{_mandir}/man8/mkisofs.8* %{_mandir}/man8/mkhybrid.8* /usr/bin/mkisofs /usr/bin/mkhybrid /usr/bin/isodebug %changelog * Fri Jul 23 2010 Michael Perzl - 2.01-1 - first version for AIX V5.1 and higher