%define cdrecording_group 12 %define sourcever %(echo %version | cut -da -f1) Name: cdrtools Version: 3.01a23 Release: 1mamba Summary: Tools for CD/DVD recorders Group: System/Tools Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.fokus.gmd.de/research/cc/glone/employees/joerg.schilling/private/cdrecord.html Source: ftp://ftp.berlios.de/pub/cdrecord/alpha/cdrtools-%{version}.tar.bz2 Patch0: %{name}-2.01-CAN-2004-0806.patch Patch1: %{name}-2.01-warnings.patch Patch2: http://crashrecovery.org/oss-dvd/cdrtools-2.01a32-ossdvd.patch.bz2 Patch3: %{name}-2.01-gcc4.patch Patch4: %{name}-2.01-gcc_static.patch License: GPL, Common Development and Distribution License ## AUTOBUILDREQ-BEGIN BuildRequires: bash BuildRequires: glibc-devel ## AUTOBUILDREQ-END BuildRequires: libcap-devel BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Cdrtools supports many features including cdrecord, cdda2wav and mkisofs/mkhybrid in a single source tree. Cdrecord supports DVD-R and DVD-RW with all known DVD-writers on all UNIX-like OS and on Win32. DVD writing support is implemented in cdrecord since march 1998. Cdrecord writes DVD media similar to CD media. %package devel Summary: Development files for cdrtools Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description devel Cdrtools supports many features including cdrecord, cdda2wav and mkisofs/mkhybrid in a single source tree. Cdrecord supports DVD-R and DVD-RW with all known DVD-writers on all UNIX-like OS and on Win32. DVD writing support is implemented in cdrecord since march 1998. Cdrecord writes DVD media similar to CD media. This is the development package. %prep %setup -q -n %{name}-%{sourcever} #%patch0 -p1 -b .CAN-2004-0806 #%patch1 -p1 -b .warning #%patch2 -p1 #%patch3 -p1 -b .gcc4 #%patch4 -p1 -b .gcc_static %build mandir=%{_mandir} %make \ -j1 \ INS_BASE=%{_prefix} \ MANDIR=%{_mandir} \ DEFINSUSR=root \ DEFINSGRP=cdrecording %install [ "%{buildroot}" != / ] && rm -rf %{buildroot} %makeinstall \ INS_BASE=%{_prefix} ## fix permissions #chmod 644 %{buildroot}%{_libdir}/*.a %clean [ "%{buildroot}" != / ] && rm -rf %{buildroot} %pre /usr/sbin/groupadd cdrecording -g %{group_cdrecording} 2>/dev/null : %files %defattr(-,root,root) %config(noreplace) %{_sysconfdir}/default/cdrecord %config(noreplace) %{_sysconfdir}/default/rscsi %{_bindir}/cdda2wav %attr(4710,root,cdrecording) %{_bindir}/cdrecord %{_bindir}/devdump %{_bindir}/isodebug %{_bindir}/isodump %{_bindir}/isoinfo %{_bindir}/isovfy %{_bindir}/mkhybrid %{_bindir}/mkisofs %{_bindir}/btcflash %{_bindir}/scgskeleton %{_bindir}/cdda2mp3 %{_bindir}/cdda2ogg %{_libdir}/siconv/* %{_mandir}/man1/* %{_mandir}/man5/* %{_mandir}/man8/* %attr(0750,root,cdrecording) %{_bindir}/readcd %{_bindir}/scgcheck #%{_bindir}/skel %{_sbindir}/rscsi %{_docdir}/cdda2wav/README %{_docdir}/cdrecord/README* %{_docdir}/libparanoia/README.* %{_docdir}/mkisofs/README* %doc GPL-2.0.txt LGPL-2.1.txt %files devel %defattr(-,root,root) %{_includedir}/schily/*.h %{_includedir}/schily/*-linux-cc/*.h %{_includedir}/scg/*.h %{_libdir}/*.a %{_libdir}/profiled/*.a %{_docdir}/rscsi/default-rscsi.sample %doc AN-* Changelog %doc ABOUT CDDL.Schily.txt %doc README.linux-shm README.mkisofs %changelog * Sat Mar 08 2014 Automatic Build System 3.01a23-1mamba - automatic version update by autodist * Tue Jan 21 2014 Automatic Build System 3.01a22-1mamba - automatic version update by autodist * Sun Jan 12 2014 Automatic Build System 3.01a21-1mamba - automatic version update by autodist * Tue Dec 31 2013 Automatic Build System 3.01a20-1mamba - automatic version update by autodist * Sat Nov 23 2013 Automatic Build System 3.01a19-1mamba - automatic version update by autodist * Sun Oct 20 2013 Automatic Build System 3.01a18-1mamba - automatic version update by autodist * Tue Aug 06 2013 Automatic Build System 3.01a17-1mamba - automatic version update by autodist * Thu Jul 11 2013 Automatic Build System 3.01a16-1mamba - automatic version update by autodist * Mon Jun 03 2013 Automatic Build System 3.01a15-1mamba - automatic version update by autodist * Mon Apr 22 2013 Automatic Build System 3.01a14-1mamba - automatic version update by autodist * Fri Mar 01 2013 Automatic Build System 3.01a13-1mamba - automatic version update by autodist * Tue Feb 19 2013 Automatic Build System 3.01a12-1mamba - automatic version update by autodist * Sun Jan 13 2013 Automatic Build System 3.01a11-1mamba - automatic version update by autodist * Thu Dec 27 2012 Automatic Build System 3.01a10-1mamba - automatic version update by autodist * Mon Oct 17 2011 Silvan Calarco 3.01a05-2mamba - set cdrecord suid 4710 root.cdrecording * Sun Jun 19 2011 Automatic Build System 3.01a05-1mamba - automatic update by autodist * Fri May 20 2011 Automatic Build System 3.01a04-1mamba - automatic update by autodist * Sun Mar 13 2011 Automatic Build System 3.01a03-1mamba - automatic update by autodist * Mon Dec 27 2010 Automatic Build System 3.01a02-1mamba - automatic update by autodist * Thu Nov 25 2010 Automatic Build System 3.01a01-1mamba - automatic update by autodist * Sun Aug 15 2010 Automatic Build System 2.01.01a80-1mamba - automatic update by autodist * Wed Jun 02 2010 Silvan Calarco 2.01.01a39-1mamba - set real package version - use globbing in files lists - updated license * Wed Jun 02 2010 Ercole 'ercolinux' Carpanetto 2.01.01-2mamba - update to 2.01.01a79 * Thu Nov 04 2009 Ercole 'ercolinux' Carpanetto 2.01.01a67 - update to 2.01.01a67 * Thu Dec 06 2007 Silvan Calarco 2.01-6mamba - removed man page for missing cdda2ogg tool - removed makefiles and makefiles man pages * Mon Nov 26 2007 Silvan Calarco 2.01-5mamba - revert to previous patchlevel and version (2.01) due to problems in 2.0.1-4mamba * Thu Nov 15 2007 Aleph0 2.01-4mamba - update to 2.01.01a05 - updated patches from crashrecovery.org * Thu Mar 16 2006 Davide Madrisan 2.01-3qilnx - create the cdrecording group - added (again?) patch to fix CAN-2004-0806 - fixed gcc4 compilation errors * Mon Feb 07 2005 Silvan Calarco 2.01-2qilnx - make cdrecord and cdread not suid because of kernel 2.6 behaviour - added OSS DVD extensions patch from http://crashrecovery.org/oss-dvd.html * Tue Sep 14 2004 Davide Madrisan 2.01-1qilnx - update to version 2.01 by autospec. fix a local root vulnerability: CAN-2004-0806 * Mon Dec 15 2003 Silvan Calarco 2.00.3-3qilnx - readcd suided * Tue Oct 14 2003 Silvan Calarco 2.00.3-2qilnx - changed group name from cdwriter to cdrecording * Thu Jul 10 2003 Silvan Calarco 2.00.3-1qilnx - first build for cdrtools