import cdrkit-1.1.11-48.el9

i9 changed/i9/cdrkit-1.1.11-48.el9
Arkady L. Shane 1 year ago
parent 84661e8f17
commit a013469d1e
Signed by: tigro
GPG Key ID: 9C7900103E1C4F8B

@ -1 +1 @@
3f7ddc06db0272942e1a4cd98c3c96462df77387 SOURCES/cdrkit-1.1.11.tar.gz 3f7ddc06db0272942e1a4cd98c3c96462df77387 SOURCES/cdrkit-1.1.11.tar.gz

@ -0,0 +1,12 @@
diff -up cdrkit-1.1.11/genisoimage/genisoimage.h.me cdrkit-1.1.11/genisoimage/genisoimage.h
--- cdrkit-1.1.11/genisoimage/genisoimage.h.me 2020-02-24 15:10:35.542998992 +0100
+++ cdrkit-1.1.11/genisoimage/genisoimage.h 2020-02-24 15:10:50.011130450 +0100
@@ -377,7 +377,7 @@ extern int use_fileversion;
extern int split_SL_component;
extern int split_SL_field;
extern char *trans_tbl;
-char *outfile;
+extern char *outfile;
#define JMAX 64 /* maximum Joliet file name length (spec) */
#define JLONGMAX 103 /* out of spec Joliet file name length */

@ -1,11 +1,10 @@
Summary: A collection of CD/DVD utilities Name: cdrkit
Name: cdrkit
Version: 1.1.11 Version: 1.1.11
Release: 39%{?dist} Release: 48%{?dist}
Summary: A collection of CD/DVD utilities
License: GPLv2 License: GPLv2
Group: Applications/System URL: http://cdrkit.org/
URL: http://cdrkit.org/ Source: http://cdrkit.org/releases/cdrkit-%{version}.tar.gz
Source: http://cdrkit.org/releases/cdrkit-%{version}.tar.gz
Patch1: cdrkit-1.1.8-werror.patch Patch1: cdrkit-1.1.8-werror.patch
Patch2: cdrkit-1.1.9-efi-boot.patch Patch2: cdrkit-1.1.9-efi-boot.patch
@ -27,9 +26,8 @@ Patch19: cdrkit-1.1.11-ppc64le_elfheader.patch
Patch20: cdrkit-1.1.11-werror_gcc5.patch Patch20: cdrkit-1.1.11-werror_gcc5.patch
Patch21: cdrkit-1.1.11-devname.patch Patch21: cdrkit-1.1.11-devname.patch
Patch22: cdrkit-1.1.11-sysmacros.patch Patch22: cdrkit-1.1.11-sysmacros.patch
Patch23: cdrkit-1.1.11-gcc10.patch
Patch23: 0001-fix-file-name-buffer-overflow-in-isoinfo.patch BuildRequires: gcc
BuildRequires: cmake libcap-devel zlib-devel perl-interpreter perl-generators file-devel bzip2-devel BuildRequires: cmake libcap-devel zlib-devel perl-interpreter perl-generators file-devel bzip2-devel
%description %description
@ -37,12 +35,7 @@ cdrkit is a collection of CD/DVD utilities.
%package -n wodim %package -n wodim
Summary: A command line CD/DVD recording program Summary: A command line CD/DVD recording program
Group: Applications/Archiving Requires: libusal%{?_isa} = %{version}-%{release}
Obsoletes: dvdrecord <= 0:0.1.5
Provides: dvdrecord = 0:0.1.5.1
Obsoletes: cdrecord < 9:2.01-12
Provides: cdrecord = 9:2.01-12
Requires: libusal = %{version}-%{release}
Requires(preun): %{_sbindir}/alternatives coreutils Requires(preun): %{_sbindir}/alternatives coreutils
Requires(post): %{_sbindir}/alternatives coreutils Requires(post): %{_sbindir}/alternatives coreutils
@ -53,10 +46,7 @@ multi-sessions and provides human-readable error messages.
%package -n genisoimage %package -n genisoimage
Summary: Creates an image of an ISO9660 file-system Summary: Creates an image of an ISO9660 file-system
Group: Applications/System Requires: libusal%{?_isa} = %{version}-%{release}
Obsoletes: mkisofs < 9:2.01-12
Provides: mkisofs = 9:2.01-12
Requires: libusal = %{version}-%{release}
Requires(preun): %{_sbindir}/alternatives coreutils Requires(preun): %{_sbindir}/alternatives coreutils
Requires(post): %{_sbindir}/alternatives coreutils Requires(post): %{_sbindir}/alternatives coreutils
@ -73,22 +63,18 @@ CD-ROMs.
%package -n dirsplit %package -n dirsplit
Summary: Utility to split directories Summary: Utility to split directories
Group: Applications/System
Requires: perl-interpreter >= 4:5.8.1 Requires: perl-interpreter >= 4:5.8.1
Requires: genisoimage = %{version}-%{release} Requires: genisoimage%{?_isa} = %{version}-%{release}
%description -n dirsplit %description -n dirsplit
This utility is used to split directories into chunks before burning. This utility is used to split directories into chunks before burning.
Chunk size is usually set to fit to a CD/DVD. Chunk size is usually set to fit to a CD/DVD.
%package -n icedax %package -n icedax
Group: Applications/Multimedia
Summary: A utility for sampling/copying .wav files from digital audio CDs Summary: A utility for sampling/copying .wav files from digital audio CDs
Obsoletes: cdda2wav < 9:2.01-12 Requires: libusal%{?_isa} = %{version}-%{release}
Provides: cdda2wav = 9:2.01-12 Requires(preun): %{_sbindir}/alternatives coreutils
Requires: libusal = %{version}-%{release} Requires(post): %{_sbindir}/alternatives coreutils
Requires(preun): %{_sbindir}/alternatives chkconfig coreutils
Requires(post): %{_sbindir}/alternatives chkconfig coreutils
Requires: vorbis-tools Requires: vorbis-tools
Requires: cdparanoia Requires: cdparanoia
BuildRequires: cdparanoia-devel BuildRequires: cdparanoia-devel
@ -102,7 +88,6 @@ rates. Icedax can also be used as a CD player.
%package -n libusal %package -n libusal
Summary: Library to communicate with SCSI devices Summary: Library to communicate with SCSI devices
Group: Development/Libraries
%description -n libusal %description -n libusal
The libusal package contains C libraries that allows applications The libusal package contains C libraries that allows applications
@ -111,8 +96,7 @@ CD-R media.
%package -n libusal-devel %package -n libusal-devel
Summary: Development files for libusal Summary: Development files for libusal
Group: Development/Libraries Requires: libusal%{?_isa} = %{version}-%{release}
Requires: libusal = %{version}-%{release}
%description -n libusal-devel %description -n libusal-devel
The libusal-devel package contains C libraries and header files The libusal-devel package contains C libraries and header files
@ -142,8 +126,7 @@ SCSI devices.
%patch20 -p1 -b .werror_gcc5 %patch20 -p1 -b .werror_gcc5
%patch21 -p1 -b .devname %patch21 -p1 -b .devname
%patch22 -p1 -b .sysmacros %patch22 -p1 -b .sysmacros
%patch23 -p1 -b .gcc10
%patch23 -p1 -b .namesize
# we do not want bundled paranoia library # we do not want bundled paranoia library
rm -rf libparanoia rm -rf libparanoia
@ -153,21 +136,18 @@ find doc -type f -print0 | xargs -0 chmod a-x
%build %build
mkdir fedora
cd fedora
export CFLAGS="$RPM_OPT_FLAGS -Wno-error=format-security -fno-strict-aliasing" export CFLAGS="$RPM_OPT_FLAGS -Wno-error=format-security -fno-strict-aliasing"
export CXXFLAGS="$CFLAGS" export CXXFLAGS="$CFLAGS"
export FFLAGS="$CFLAGS" export FFLAGS="$CFLAGS"
%cmake CMAKE_VERBOSE=1 \
%cmake \
-DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \ -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
-DBUILD_SHARED_LIBS:BOOL=ON \ -DBUILD_SHARED_LIBS:BOOL=ON
..
make VERBOSE=1 %{?_smp_mflags} %cmake_build
%install %install
cd fedora %cmake_install
make install DESTDIR=$RPM_BUILD_ROOT
perl -pi -e 's#^require v5.8.1;##g' $RPM_BUILD_ROOT%{_bindir}/dirsplit perl -pi -e 's#^require v5.8.1;##g' $RPM_BUILD_ROOT%{_bindir}/dirsplit
ln -s genisoimage $RPM_BUILD_ROOT%{_bindir}/mkisofs ln -s genisoimage $RPM_BUILD_ROOT%{_bindir}/mkisofs
ln -s genisoimage $RPM_BUILD_ROOT%{_bindir}/mkhybrid ln -s genisoimage $RPM_BUILD_ROOT%{_bindir}/mkhybrid
@ -175,10 +155,6 @@ ln -s icedax $RPM_BUILD_ROOT%{_bindir}/cdda2wav
ln -s wodim $RPM_BUILD_ROOT%{_bindir}/cdrecord ln -s wodim $RPM_BUILD_ROOT%{_bindir}/cdrecord
ln -s wodim $RPM_BUILD_ROOT%{_bindir}/dvdrecord ln -s wodim $RPM_BUILD_ROOT%{_bindir}/dvdrecord
#do not include empty fedora/* directories in debuginfo package
cd ..
rm -rf fedora
# missing man page. Do symlink like in debian # missing man page. Do symlink like in debian
ln -sf wodim.1.gz $RPM_BUILD_ROOT/%{_mandir}/man1/netscsid.1.gz ln -sf wodim.1.gz $RPM_BUILD_ROOT/%{_mandir}/man1/netscsid.1.gz
@ -245,12 +221,11 @@ if [ $1 = 0 ]; then
%{_sbindir}/alternatives --remove cdda2wav %{_bindir}/icedax %{_sbindir}/alternatives --remove cdda2wav %{_bindir}/icedax
fi fi
%post -n libusal -p /sbin/ldconfig %ldconfig_scriptlets -n libusal
%postun -n libusal -p /sbin/ldconfig
%files -n wodim %files -n wodim
%doc Changelog COPYING FAQ FORK START %license COPYING
%doc Changelog FAQ FORK START
%doc doc/READMEs doc/wodim %doc doc/READMEs doc/wodim
%{_bindir}/devdump %{_bindir}/devdump
%{_bindir}/wodim %{_bindir}/wodim
@ -264,7 +239,8 @@ fi
%{_mandir}/man1/readom.* %{_mandir}/man1/readom.*
%files -n icedax %files -n icedax
%doc doc/icedax COPYING %license COPYING
%doc doc/icedax
%{_bindir}/icedax %{_bindir}/icedax
%ghost %{_bindir}/cdda2wav %ghost %{_bindir}/cdda2wav
%{_bindir}/cdda2ogg %{_bindir}/cdda2ogg
@ -273,7 +249,8 @@ fi
%{_mandir}/man1/list_audio_tracks.* %{_mandir}/man1/list_audio_tracks.*
%files -n genisoimage %files -n genisoimage
%doc doc/genisoimage COPYING %license COPYING
%doc doc/genisoimage
%{_bindir}/genisoimage %{_bindir}/genisoimage
%ghost %{_bindir}/mkisofs %ghost %{_bindir}/mkisofs
%ghost %{_bindir}/mkhybrid %ghost %{_bindir}/mkhybrid
@ -293,24 +270,56 @@ fi
%{_mandir}/man1/readmult.* %{_mandir}/man1/readmult.*
%files -n dirsplit %files -n dirsplit
%license COPYING
%{_bindir}/dirsplit %{_bindir}/dirsplit
%{_mandir}/man1/dirsplit.* %{_mandir}/man1/dirsplit.*
%files -n libusal %files -n libusal
%doc doc/plattforms/README.linux Changelog COPYING FAQ FORK START %license COPYING
%doc doc/plattforms/README.linux Changelog FAQ FORK START
%{_libdir}/libusal.so.* %{_libdir}/libusal.so.*
%{_libdir}/librols.so.* %{_libdir}/librols.so.*
%files -n libusal-devel %files -n libusal-devel
%doc COPYING %license COPYING
%{_libdir}/libusal.so %{_libdir}/libusal.so
%{_libdir}/librols.so %{_libdir}/librols.so
%{_includedir}/usal %{_includedir}/usal
%changelog %changelog
* Thu Aug 02 2018 Jakub Martisko <jamartis@redhat.com> - 1.1.11-39 * Thu Oct 05 2023 Arkady L. Shane <tigro@msvsphere-os.ru> - 1.1.11-48
- Fix buffer overflow erro in isoinfo caused by long names - Rebuilt for MSVSphere 9.2
- Resolves: 1533004
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.11-48
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.11-47
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.11-46
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.11-45
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Mon Feb 24 2020 Than Ngo <than@redhat.com> - 1.1.11-44
- Fixed FTBFS
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.11-43
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.11-42
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.11-41
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.11-40
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Jul 4 2018 Peter Robinson <pbrobinson@fedoraproject.org> 1.1.11-39
- Spec cleanup and modernise, use %%license
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.11-38 * Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.11-38
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

Loading…
Cancel
Save