cdrtools/cdrtools.spec

273 lines
9.0 KiB
RPMSpec
Raw Normal View History

%define cdrecording_group 12
%define sourcever %(echo %version | cut -da -f1)
Name: cdrtools
Version: 3.02a09
Release: 2mamba
Summary: Tools for CD/DVD recorders
Group: System/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://cdrtools.sourceforge.net/
Source: http://downloads.sourceforge.net/project/cdrtools/alpha/cdrtools-%{version}.tar.bz2
License: GPL, Common Development and Distribution License
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libacl-devel
BuildRequires: libalsa-devel
BuildRequires: libcap-devel
BuildRequires: libpulseaudio-devel
BuildRequires: libsndio-devel
## AUTOBUILDREQ-END
Provides: cdrkit
Obsoletes: cdrkit <= 1.1.11-2mamba
Obsoletes: cdrtools-devel < 3.02a09-2mamba
%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.
%debug_package
%prep
%setup -q -n %{name}-%{sourcever}
# install rscsi to /usr/bin instead of /usr/sbin
sed -i 's|INSDIR=.*|INSDIR=bin|' rscsi/Makefile
%build
mandir=%{_mandir}
%make \
-j1 \
INS_BASE=%{_prefix} \
MANDIR=%{_mandir} \
DEFINSUSR=root \
DEFINSGRP=cdrecording
%install
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%makeinstall \
INS_BASE=%{_prefix} \
VERSION_OS="_openmamba"
## fix permissions
#chmod 644 %{buildroot}%{_libdir}/*.a
# remove unneeded files that may cause conflicts
rm -rf %{buildroot}/usr/include
rm -rf %{buildroot}/usr/lib/{*.a,profiled}
rm -rf %{buildroot}/usr/share/man/man3
# Symlinks for cdrkit compatibility
ln -s cdrecord %{buildroot}%{_bindir}/wodim
ln -s readcd %{buildroot}%{_bindir}/readom
ln -s mkisofs %{buildroot}%{_bindir}/genisoimage
ln -s cdda2wav %{buildroot}%{_bindir}/icedax
# autoload 'sg' module needed by cdrecord
install -d -m755 %{buildroot}%{_modulesloaddir}
echo sg > %{buildroot}%{_modulesloaddir}/cdrecord.conf
%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}/btcflash
%{_bindir}/cdda2mp3
%{_bindir}/cdda2ogg
%{_bindir}/cdda2wav
%attr(4710,root,cdrecording) %{_bindir}/cdrecord
%{_bindir}/devdump
%{_bindir}/genisoimage
%{_bindir}/icedax
%{_bindir}/isodebug
%{_bindir}/isodump
%{_bindir}/isoinfo
%{_bindir}/isovfy
%{_bindir}/mkhybrid
%{_bindir}/mkisofs
%attr(0750,root,cdrecording) %{_bindir}/readcd
%{_bindir}/rscsi
%{_bindir}/readom
%{_bindir}/scgcheck
%{_bindir}/scgskeleton
%{_bindir}/wodim
%{_modulesloaddir}/cdrecord.conf
%{_prefix}/lib/siconv/*
%{_mandir}/man1/*
%{_mandir}/man5/*
%{_mandir}/man8/*
%dir %{_docdir}/cdda2wav
%{_docdir}/cdda2wav/README
%dir %{_docdir}/cdrecord
%{_docdir}/cdrecord/README*
%dir %{_docdir}/libparanoia
%{_docdir}/libparanoia/README.*
%dir %{_docdir}/mkisofs
%{_docdir}/mkisofs/README*
%dir %{_docdir}/rscsi
%{_docdir}/rscsi/default-rscsi.sample
%doc GPL-2.0.txt LGPL-2.1.txt
%changelog
* Tue Nov 21 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 3.02a09-2mamba
- obsolete cdrkit
* Sat Dec 30 2017 Automatic Build System <autodist@mambasoft.it> 3.02a09-1mamba
- automatic version update by autodist
* Thu Jan 19 2017 Automatic Build System <autodist@mambasoft.it> 3.02a07-1mamba
- automatic version update by autodist
* Sun Feb 21 2016 Automatic Build System <autodist@mambasoft.it> 3.02a06-1mamba
- automatic version update by autodist
* Tue Jan 05 2016 Automatic Build System <autodist@mambasoft.it> 3.02a05-1mamba
- automatic version update by autodist
* Wed Dec 23 2015 Automatic Build System <autodist@mambasoft.it> 3.02a04-1mamba
- automatic version update by autodist
* Sun Dec 06 2015 Automatic Build System <autodist@mambasoft.it> 3.02a03-1mamba
- automatic version update by autodist
* Sat Nov 21 2015 Automatic Build System <autodist@mambasoft.it> 3.02a02-1mamba
- automatic version update by autodist
* Thu Aug 06 2015 Automatic Build System <autodist@mambasoft.it> 3.01a31-1mamba
- automatic version update by autodist
* Sun Aug 02 2015 Automatic Build System <autodist@mambasoft.it> 3.01a30-1mamba
- automatic version update by autodist
* Sat Jun 06 2015 Automatic Build System <autodist@mambasoft.it> 3.01a29-1mamba
- automatic version update by autodist
* Sun Apr 26 2015 Automatic Build System <autodist@mambasoft.it> 3.01a28-1mamba
- automatic version update by autodist
* Tue Feb 17 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 3.01a27-1mamba
- update to 3.01a27
* Sun Nov 16 2014 Automatic Build System <autodist@mambasoft.it> 3.01a25-1mamba
- automatic version update by autodist
* Sun Jun 08 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 3.01a24-1mamba
- update to 3.01a24
* Sat Mar 08 2014 Automatic Build System <autodist@mambasoft.it> 3.01a23-1mamba
- automatic version update by autodist
* Tue Jan 21 2014 Automatic Build System <autodist@mambasoft.it> 3.01a22-1mamba
- automatic version update by autodist
* Sun Jan 12 2014 Automatic Build System <autodist@mambasoft.it> 3.01a21-1mamba
- automatic version update by autodist
* Tue Dec 31 2013 Automatic Build System <autodist@mambasoft.it> 3.01a20-1mamba
- automatic version update by autodist
* Sat Nov 23 2013 Automatic Build System <autodist@mambasoft.it> 3.01a19-1mamba
- automatic version update by autodist
* Sun Oct 20 2013 Automatic Build System <autodist@mambasoft.it> 3.01a18-1mamba
- automatic version update by autodist
* Tue Aug 06 2013 Automatic Build System <autodist@mambasoft.it> 3.01a17-1mamba
- automatic version update by autodist
* Thu Jul 11 2013 Automatic Build System <autodist@mambasoft.it> 3.01a16-1mamba
- automatic version update by autodist
* Mon Jun 03 2013 Automatic Build System <autodist@mambasoft.it> 3.01a15-1mamba
- automatic version update by autodist
* Mon Apr 22 2013 Automatic Build System <autodist@mambasoft.it> 3.01a14-1mamba
- automatic version update by autodist
* Fri Mar 01 2013 Automatic Build System <autodist@mambasoft.it> 3.01a13-1mamba
- automatic version update by autodist
* Tue Feb 19 2013 Automatic Build System <autodist@mambasoft.it> 3.01a12-1mamba
- automatic version update by autodist
* Sun Jan 13 2013 Automatic Build System <autodist@mambasoft.it> 3.01a11-1mamba
- automatic version update by autodist
* Thu Dec 27 2012 Automatic Build System <autodist@mambasoft.it> 3.01a10-1mamba
- automatic version update by autodist
* Mon Oct 17 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 3.01a05-2mamba
- set cdrecord suid 4710 root.cdrecording
* Sun Jun 19 2011 Automatic Build System <autodist@mambasoft.it> 3.01a05-1mamba
- automatic update by autodist
* Fri May 20 2011 Automatic Build System <autodist@mambasoft.it> 3.01a04-1mamba
- automatic update by autodist
* Sun Mar 13 2011 Automatic Build System <autodist@mambasoft.it> 3.01a03-1mamba
- automatic update by autodist
* Mon Dec 27 2010 Automatic Build System <autodist@mambasoft.it> 3.01a02-1mamba
- automatic update by autodist
* Thu Nov 25 2010 Automatic Build System <autodist@mambasoft.it> 3.01a01-1mamba
- automatic update by autodist
* Sun Aug 15 2010 Automatic Build System <autodist@mambasoft.it> 2.01.01a80-1mamba
- automatic update by autodist
* Wed Jun 02 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 2.01.01a39-1mamba
- set real package version
- use globbing in files lists
- updated license
* Wed Jun 02 2010 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 2.01.01-2mamba
- update to 2.01.01a79
* Wed Nov 04 2009 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 2.01.01a67
- update to 2.01.01a67
* Thu Dec 06 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 2.01-6mamba
- removed man page for missing cdda2ogg tool
- removed makefiles and makefiles man pages
* Mon Nov 26 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 2.01-5mamba
- revert to previous patchlevel and version (2.01) due to problems in 2.0.1-4mamba
* Thu Nov 15 2007 Aleph0 <aleph0@openmamba.org> 2.01-4mamba
- update to 2.01.01a05
- updated patches from crashrecovery.org
* Thu Mar 16 2006 Davide Madrisan <davide.madrisan@qilinux.it> 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 <silvan.calarco@mambasoft.it> 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 <davide.madrisan@qilinux.it> 2.01-1qilnx
- update to version 2.01 by autospec.
fix a local root vulnerability: CAN-2004-0806
* Mon Dec 15 2003 Silvan Calarco <silvan.calarco@mambasoft.it> 2.00.3-3qilnx
- readcd suided
* Tue Oct 14 2003 Silvan Calarco <silvan.calarco@mambasoft.it> 2.00.3-2qilnx
- changed group name from cdwriter to cdrecording
* Thu Jul 10 2003 Silvan Calarco <silvan.calarco@qinet.it> 2.00.3-1qilnx
- first build for cdrtools