%define name cdrecord %define major 1 %define minor 8 %define alpha a29 %define version %{major}.%{minor}%{alpha} %define release 1cz %define serial 1 %define prefix /usr Name: %{name} Version: %{version} Release: %{release} Copyright: GPL Summary: A command line CD/DVD-Recorder Group: Utilities/System Serial: %{serial} Distribution: Freshmeat RPMS Vendor: Jörg Schilling Packager: Ryan Weaver URL: http://www.fokus.gmd.de/research/cc/glone/employees/joerg.schilling/private/cdrecord.html Source: ftp://ftp.fokus.gmd.de/pub/unix/cdrecord/alpha/%{name}-%{major}.%{minor}%{alpha}.tar.gz Patch0: mkisofs-1.12b5-free.patch Patch1: mkisofs-1.12b5-ISO8859-2.patch BuildRoot: /var/tmp/%{name}-%{version} Prefix: %{prefix} %package devel Summary: The libschily SCSI user level transport library Group: Libraries Serial: %{serial} %description Cdrecord allows you to create CD's on a CD-Recorder (SCSI/ATAPI). Supports data, audio, mixed, multi-session and CD+ discs etc. %description devel The cdrecord distribution contains a SCSI user level transport library. The SCSI library is suitable to talk to any SCSI device without having a special driver for it. Cdrecord may be easily ported to any system that has a SCSI device driver similar to the scg driver. %package cdda2wav Summary: Get WAV files from digital audio cd's Group: Applications/Sound Release: %{release} Obsoletes: cdda2wav Serial: %{serial} %description 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 mkisofs Summary: Creates a ISO9660 filesystem image Copyright: GPL Group: Utilities/System Obsoletes: mkisofs Serial: %{serial} %description 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 -n %{name}-%{major}.%{minor} %patch0 -p0 -b .free %patch1 -p0 -b .ISO-8859-2 %build ./Gmake.linux %install if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi ./Gmake.linux "INS_BASE=$RPM_BUILD_ROOT%{prefix}" install # Installing Header files for use with devel package rm include/scg install -d $RPM_BUILD_ROOT%{prefix}/include/schily/scg install -m 644 include/* $RPM_BUILD_ROOT%{prefix}/include/schily install -m 644 libscg/scg/* $RPM_BUILD_ROOT%{prefix}/include/schily/scg %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc AN-%{version} doc/cdrecord.ps Changelog README %doc README.ATAPI README.WORM README.audio README.cdplus %doc README.cdrw README.linux README.mkisofs README.multi %doc README.sony README.verify README.copy Linux.scsi-patch %doc cdrecord/cdrecord.dfl %{prefix}/bin/cdrecord %{prefix}/man/man1/cdrecord.1 %files devel %defattr(-,root,root) %{prefix}/lib/libdeflt.a %{prefix}/lib/libscg.a %{prefix}/lib/libschily.a %{prefix}/include/schily %files cdda2wav %defattr(-,root,root) %doc cdda2wav/Frontends cdda2wav/GPL cdda2wav/HOWTOUSE cdda2wav/OtherProgs cdda2wav/README cdda2wav/THANKS %doc cdda2wav/TODO cdda2wav/cdda2mp3 cdda2wav/cdda2mp3.new cdda2wav/cdda_links cdda2wav/pitchplay %doc cdda2wav/readmult cdda2wav/tracknames.pl cdda2wav/tracknames.txt %doc AN-%{version} %{prefix}/bin/cdda2wav %{prefix}/man/man1/cdda2wav.1 %files mkisofs %defattr(-,root,root) %doc mkisofs-1.12b4/COPYING mkisofs-1.12b4/ChangeLog mkisofs-1.12b4/README %doc mkisofs-1.12b4/README.session mkisofs-1.12b4/README.eltorito %doc AN-%{version} %{prefix}/bin/mkisofs %{prefix}/bin/devdump %{prefix}/bin/isoinfo %{prefix}/bin/isodump %{prefix}/bin/isovfy %{prefix}/man/man8/mkisofs.8 %{prefix}/man/man8/isoinfo.8 %changelog * Fri Feb 19 1999 Ryan Weaver [cdrecord-1.8a17-2] - Now installing header files in devel package for use with libs. DOH! * Thu Feb 11 1999 Ryan Weaver [cdrecord-1.8a17-1] - NEW features of cdrecord-1.8a17: - Allow cdrecord -fix blank=somethins to work as expected - Raise the timeout tor read_toc() to make cdrecord work with TEAC CD-R55S and some ecotic CD-R media wehre read_toc on a blank media lasts for 3 minutes. - mkisofs: - man page updated - REASME.session updated - new options -hide & -hide_joliet from James Pearson - allow the full printable ISO-8859-1 set to be converted into UNICODE for Joliet disks. - Allow Volume sets ala ISO-9660 - New options -abstract -biblio -copyright -sysid -volset -volset-size -volset-seqno - -volset-size -volset-seqno options added to allow multi-volume archives (e.g. OS installation CD sets). NOTE: -volset-size must be specified before -volset-seqno on each command line. - mkisofs patches from James Pearson: - cdda2wav: - more sync fixes - percentage fix - config fixes (fork and no shared memory and vice versa) * Mon Feb 1 1999 Ryan Weaver [cdrecord-1.8a16-1] - NEW features of cdrecord-1.8a16: - added makefile and include defines for Netwinder "armv4l" - Strongarm 110 - Added a hint for SVr4/Posix real time scheduling to the man page - Use only DFLTPHYS for DMA on FreeBSD 3.0 - Fixed a bug that prevented to use the Plasmon RF-4100 after it already worked. The bug was recently introduced by a change in the handling of mode pages. - Support for ACER CR-4020C - Ingnore settings for dev= in /etc/devault/cdrecord if the -scanbus option was specified. - modified verbose printout to prevent overwriting the position with the error message - mkisofs: - man page updated - -volset-size -volset-seqno options added to allow multi-volume archives (e.g. OS installation CD sets). NOTE: -volset-size must be specified before -volset-seqno on each command line. - mkisofs patches from James Pearson: - cdda2wav: - changed default overlap to 0 sectors (no overlap) - version string includes os (for easier feedback) - the scsi commands use page aligned transfer buffers (Buffer handling changed to avoid problems on FreeBSD-3.x/CAM) - now the availability of shared memory is checked - fixes for nextstep - changed the synchronization method of overlapping sectors (low jitter drives should work with -P1) - new code to trash the cdrom buffer (when offsets grew too big) - code restructuring in order to prepare for a single process non-FIFO version - detect when fork() is not available - fixed bug with -e and -w - fixed bug with devices like /dev/sga - reintroduced signal handlers to do clean up work on signals - new option -J, which prints disc information and exits - first support for OSs, which cannot do fork() (depends on HAVE_FORK) - new option -J prints info and exits - fix for the new -J option :-) - fixed a bug with -e and -w options - fixed a bug with device settings like /dev/sga - reversed the omission of the signal handler in order to do clean up operations when being signalled * Mon Dec 14 1998 Ryan Weaver [cdrecord-1.8a15-1] - RPM now building mkisofs. - cdda2wav and mkisofs are cdrecord-cdda2wav and cdrecord-mkisofs. - NEW features of cdrecord-1.8a15: - cdrecord: - changed sccsid[] -> __sccsid[] in scsi-beos.c to make it compile - mkisofs: - Now tested on Win NT-4.0 with Cygwin32-beta20 - fixed a bug in the IS_???? macro defines for stat.h that prevented correct compilation on CYGWIN32 - changed some open()/fopen() calls to use binary DOS mode to allow mkisofs to work correctly on CYGWIN32 NOTE: mkisofs .... > outfile still does not work you need to call mkisofs .... -o outfile - cdda2wav: - bug fix release - endianess problems for cd extra fixed - several clean ups - real time scheduling (SysV rtprioctl) tested with SCO Open server 5.0 * Wed Dec 9 1998 Ryan Weaver [cdrecord-1.8a14-3] - Corrected CDRecord URL. * Tue Dec 8 1998 Ryan Weaver [cdrecord-1.8a14-2] - RPMS now building cdda2wav... cdda2wav-schily0.0pre-alpha-a14-2: - Obsoletes cdda2wav-0.95beta08 - Recognition of FreeBSD -> reducing shared mem to < 128K - Linux: Support of explicit SCSI-Device: -D/dev/sg1:3,0 - FreeBSD now CD Extra Support (Display of titel) - Assembler routines removed (resample.c) - New Frontends and OtherProgs with hints * Mon Dec 7 1998 Ryan Weaver [cdrecord-1.8a14-1] - Updated to 1.8a14 - NEW features of cdrecord-1.8a14: - New default file handling (/etc/default/cdrecord) See new man page and the file cdrecord.dfl in the cdrecord directory. This allows e.g. cdrecord dev=teac To specify the TEAC drive. - First attempt to support BeOS * Mon Nov 30 1998 Ryan Weaver [cdrecord-1.8a13-1] - Updated to 1.8a13 - NEW features of cdrecord-1.8a13: - First Advent: First separate scg library ;-) Currently only the low level and mid level transport stuff - corrected error detection code in scsierrs.c to fix - missing NULL ptr at end of CCS error table - <= -> < problem for invalid sense code vs. vendor uniqe sense code * Fri Nov 27 1998 Ryan Weaver [cdrecord-1.8a12-1] - Updated to 1.8a12 - NEW features of cdrecord-1.8a12: - Fixed a typo in scsitransp.c that prevented compilation on some Linux releases. * Wed Nov 25 1998 Ryan Weaver [cdrecord-1.8a11-1] - Upadted to 1.8a11 - Got patch from Jörg Schilling to compile on linux. - NEW features of cdrecord-1.8a11: - Starting with official support for SCO Openserver 5 NOTE: You will need to have a CD in the closed tray of the drive otherwise cdrecord is not able to open the device. - Fixed a bug in scsi-sco.c that prevented compilation. - Added DEFAULTS files for SCO - Fixed the autoconf detection stuff for major()/minor() - Fixed the autoconf detection stuff for not working mlockall() on SCO/HP-UX - Fixed mkisofs-1.12b4/diag/isoinfo.c to allow compilation on SCO - New S_IS*() macros to allow compilation on OS/2 with missing S_IFBLK - Added a static configuration for VMS - Some fixes that are needed for VMS - Added a file cdrecord/build_all.com to compile cdrecord on VMS - Fixed isnan() code to fit SCO Openserver and VMS - Incorporating now an experimental version of cdda2wav-0.95beta08 Report problems to: heiko@colossus.escape.de - NOTE: cdda2wav and mkisofs are not included in cdrecord rpm. * Fri Nov 20 1998 Ryan Weaver [cdrecord-1.8a10-1] - Updated to 1.8a10