obsolete cdrkit [release 3.02a09-2mamba;Tue Nov 21 2023]

This commit is contained in:
Silvan Calarco 2024-01-05 21:09:45 +01:00
parent 965f2c8363
commit ebf783bd67

View File

@ -2,21 +2,26 @@
%define sourcever %(echo %version | cut -da -f1) %define sourcever %(echo %version | cut -da -f1)
Name: cdrtools Name: cdrtools
Version: 3.02a09 Version: 3.02a09
Release: 1mamba Release: 2mamba
Summary: Tools for CD/DVD recorders Summary: Tools for CD/DVD recorders
Group: System/Tools Group: System/Tools
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://cdrtools.sourceforge.net/ URL: https://cdrtools.sourceforge.net/
Source: http://downloads.sourceforge.net/project/cdrtools/alpha/cdrtools-%{version}.tar.bz2 Source: http://downloads.sourceforge.net/project/cdrtools/alpha/cdrtools-%{version}.tar.bz2
License: GPL, Common Development and Distribution License License: GPL, Common Development and Distribution License
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: libacl-devel BuildRequires: libacl-devel
BuildRequires: libalsa-devel
BuildRequires: libcap-devel BuildRequires: libcap-devel
BuildRequires: libpulseaudio-devel
BuildRequires: libsndio-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root Provides: cdrkit
Obsoletes: cdrkit <= 1.1.11-2mamba
Obsoletes: cdrtools-devel < 3.02a09-2mamba
%description %description
Cdrtools supports many features including cdrecord, cdda2wav and mkisofs/mkhybrid in a single source tree. Cdrtools supports many features including cdrecord, cdda2wav and mkisofs/mkhybrid in a single source tree.
@ -24,21 +29,14 @@ Cdrecord supports DVD-R and DVD-RW with all known DVD-writers on all UNIX-like O
DVD writing support is implemented in cdrecord since march 1998. DVD writing support is implemented in cdrecord since march 1998.
Cdrecord writes DVD media similar to CD media. Cdrecord writes DVD media similar to CD media.
%package devel %debug_package
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 %prep
%setup -q -n %{name}-%{sourcever} %setup -q -n %{name}-%{sourcever}
# install rscsi to /usr/bin instead of /usr/sbin
sed -i 's|INSDIR=.*|INSDIR=bin|' rscsi/Makefile
%build %build
mandir=%{_mandir} mandir=%{_mandir}
%make \ %make \
@ -51,11 +49,27 @@ mandir=%{_mandir}
%install %install
[ "%{buildroot}" != / ] && rm -rf %{buildroot} [ "%{buildroot}" != / ] && rm -rf %{buildroot}
%makeinstall \ %makeinstall \
INS_BASE=%{_prefix} INS_BASE=%{_prefix} \
VERSION_OS="_openmamba"
## fix permissions ## fix permissions
#chmod 644 %{buildroot}%{_libdir}/*.a #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 %clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot} [ "%{buildroot}" != / ] && rm -rf %{buildroot}
@ -67,47 +81,47 @@ mandir=%{_mandir}
%defattr(-,root,root) %defattr(-,root,root)
%config(noreplace) %{_sysconfdir}/default/cdrecord %config(noreplace) %{_sysconfdir}/default/cdrecord
%config(noreplace) %{_sysconfdir}/default/rscsi %config(noreplace) %{_sysconfdir}/default/rscsi
%{_bindir}/btcflash
%{_bindir}/cdda2mp3
%{_bindir}/cdda2ogg
%{_bindir}/cdda2wav %{_bindir}/cdda2wav
%attr(4710,root,cdrecording) %{_bindir}/cdrecord %attr(4710,root,cdrecording) %{_bindir}/cdrecord
%{_bindir}/devdump %{_bindir}/devdump
%{_bindir}/genisoimage
%{_bindir}/icedax
%{_bindir}/isodebug %{_bindir}/isodebug
%{_bindir}/isodump %{_bindir}/isodump
%{_bindir}/isoinfo %{_bindir}/isoinfo
%{_bindir}/isovfy %{_bindir}/isovfy
%{_bindir}/mkhybrid %{_bindir}/mkhybrid
%{_bindir}/mkisofs %{_bindir}/mkisofs
%{_bindir}/btcflash %attr(0750,root,cdrecording) %{_bindir}/readcd
%{_bindir}/rscsi
%{_bindir}/readom
%{_bindir}/scgcheck
%{_bindir}/scgskeleton %{_bindir}/scgskeleton
%{_bindir}/cdda2mp3 %{_bindir}/wodim
%{_bindir}/cdda2ogg %{_modulesloaddir}/cdrecord.conf
%{_prefix}/lib/siconv/* %{_prefix}/lib/siconv/*
%{_mandir}/man1/* %{_mandir}/man1/*
%{_mandir}/man5/* %{_mandir}/man5/*
%{_mandir}/man8/* %{_mandir}/man8/*
%attr(0750,root,cdrecording) %{_bindir}/readcd %dir %{_docdir}/cdda2wav
%{_bindir}/scgcheck
#%{_bindir}/skel
%{_sbindir}/rscsi
%{_docdir}/cdda2wav/README %{_docdir}/cdda2wav/README
%dir %{_docdir}/cdrecord
%{_docdir}/cdrecord/README* %{_docdir}/cdrecord/README*
%dir %{_docdir}/libparanoia
%{_docdir}/libparanoia/README.* %{_docdir}/libparanoia/README.*
%dir %{_docdir}/mkisofs
%{_docdir}/mkisofs/README* %{_docdir}/mkisofs/README*
%dir %{_docdir}/rscsi
%{_docdir}/rscsi/default-rscsi.sample
%doc GPL-2.0.txt LGPL-2.1.txt %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
%{_prefix}/lib/*.a
%{_prefix}/lib/profiled/*.a
%{_docdir}/rscsi/default-rscsi.sample
%{_mandir}/man3/*
%doc AN-* Changelog
%doc ABOUT CDDL.Schily.txt
%doc README.linux-shm README.mkisofs
%changelog %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 * Sat Dec 30 2017 Automatic Build System <autodist@mambasoft.it> 3.02a09-1mamba
- automatic version update by autodist - automatic version update by autodist
@ -221,7 +235,7 @@ mandir=%{_mandir}
* Wed Jun 02 2010 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 2.01.01-2mamba * Wed Jun 02 2010 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 2.01.01-2mamba
- update to 2.01.01a79 - update to 2.01.01a79
* Thu Nov 04 2009 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 2.01.01a67 * Wed Nov 04 2009 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 2.01.01a67
- update to 2.01.01a67 - update to 2.01.01a67
* Thu Dec 06 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 2.01-6mamba * Thu Dec 06 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 2.01-6mamba