import libisoburn-1.5.4-4.el9
This commit is contained in:
parent
72ff868688
commit
4ba966ca3c
@ -3,16 +3,17 @@
|
|||||||
Summary: Library to enable creation and expansion of ISO-9660 filesystems
|
Summary: Library to enable creation and expansion of ISO-9660 filesystems
|
||||||
Name: libisoburn
|
Name: libisoburn
|
||||||
Version: 1.5.4
|
Version: 1.5.4
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: http://libburnia-project.org/
|
URL: https://libburnia-project.org/
|
||||||
Source0: http://files.libburnia-project.org/releases/%{pkgname}-%{version}.tar.gz
|
Source0: https://files.libburnia-project.org/releases/%{pkgname}-%{version}.tar.gz
|
||||||
Source1: http://files.libburnia-project.org/releases/%{pkgname}-%{version}.tar.gz.sig
|
Source1: https://files.libburnia-project.org/releases/%{pkgname}-%{version}.tar.gz.sig
|
||||||
Source2: gpgkey-44BC9FD0D688EB007C4DD029E9CBDFC0ABC0A854.gpg
|
Source2: gpgkey-44BC9FD0D688EB007C4DD029E9CBDFC0ABC0A854.gpg
|
||||||
Source3: xorriso_extract_iso_image.desktop
|
Source3: xorriso_extract_iso_image.desktop
|
||||||
Patch0: libisoburn-1.0.8-multilib.patch
|
Patch0: libisoburn-1.0.8-multilib.patch
|
||||||
BuildRequires: gnupg2
|
BuildRequires: gnupg2
|
||||||
BuildRequires: gcc, gcc-c++, make, readline-devel, libacl-devel, zlib-devel
|
BuildRequires: gcc, gcc-c++, make, readline-devel, libacl-devel, zlib-devel
|
||||||
|
BuildRequires: chrpath
|
||||||
%if 0%{?rhel} == 7
|
%if 0%{?rhel} == 7
|
||||||
BuildRequires: autoconf, automake, libtool
|
BuildRequires: autoconf, automake, libtool
|
||||||
BuildRequires: libburn1-devel >= %{version}, libisofs1-devel >= %{version}
|
BuildRequires: libburn1-devel >= %{version}, libisofs1-devel >= %{version}
|
||||||
@ -33,7 +34,7 @@ which do not support multi-session management on media level and
|
|||||||
even plain disk files or block devices. Price for that is thorough
|
even plain disk files or block devices. Price for that is thorough
|
||||||
specialization on data files in ISO-9660 filesystem images. And so
|
specialization on data files in ISO-9660 filesystem images. And so
|
||||||
libisoburn is not suitable for audio (CD-DA) or any other CD layout
|
libisoburn is not suitable for audio (CD-DA) or any other CD layout
|
||||||
which does not entirely consist of ISO-9660 sessions.
|
which does not entirely consist of ISO-9660 sessions.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for %{name}
|
Summary: Development files for %{name}
|
||||||
@ -70,6 +71,10 @@ Requires(preun): /sbin/install-info
|
|||||||
%endif
|
%endif
|
||||||
Requires(post): %{_sbindir}/alternatives, coreutils
|
Requires(post): %{_sbindir}/alternatives, coreutils
|
||||||
Requires(preun): %{_sbindir}/alternatives
|
Requires(preun): %{_sbindir}/alternatives
|
||||||
|
Provides: cdrecord
|
||||||
|
Provides: wodim
|
||||||
|
Provides: mkisofs
|
||||||
|
Provides: genisoimage
|
||||||
|
|
||||||
%description -n xorriso%{?variant}
|
%description -n xorriso%{?variant}
|
||||||
Xorriso is a program which copies file objects from POSIX compliant
|
Xorriso is a program which copies file objects from POSIX compliant
|
||||||
@ -83,7 +88,7 @@ Filesystem manipulation capabilities surpass those of mkisofs. Xorriso
|
|||||||
is especially suitable for backups, because of its high fidelity of
|
is especially suitable for backups, because of its high fidelity of
|
||||||
file attribute recording and its incremental update sessions. Optical
|
file attribute recording and its incremental update sessions. Optical
|
||||||
supported media: CD-R, CD-RW, DVD-R, DVD-RW, DVD+R, DVD+R DL, DVD+RW,
|
supported media: CD-R, CD-RW, DVD-R, DVD-RW, DVD+R, DVD+R DL, DVD+RW,
|
||||||
DVD-RAM, BD-R and BD-RE.
|
DVD-RAM, BD-R and BD-RE.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
|
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
|
||||||
@ -132,6 +137,9 @@ install -D -p -m 644 %{SOURCE3} $RPM_BUILD_ROOT%{_datadir}/kde4/services/Service
|
|||||||
install -D -p -m 644 %{SOURCE3} $RPM_BUILD_ROOT%{_datadir}/kservices5/ServiceMenus/xorriso_extract_iso_image.desktop
|
install -D -p -m 644 %{SOURCE3} $RPM_BUILD_ROOT%{_datadir}/kservices5/ServiceMenus/xorriso_extract_iso_image.desktop
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
# Remove runpath
|
||||||
|
chrpath -d $RPM_BUILD_ROOT%{_bindir}/xorriso
|
||||||
|
|
||||||
# RHEL ships a xorriso package already
|
# RHEL ships a xorriso package already
|
||||||
%if 0%{?rhel} && "%{name}" != "%{pkgname}"
|
%if 0%{?rhel} && "%{name}" != "%{pkgname}"
|
||||||
mv -f $RPM_BUILD_ROOT%{_bindir}/osirrox{,%{?variant}}
|
mv -f $RPM_BUILD_ROOT%{_bindir}/osirrox{,%{?variant}}
|
||||||
@ -154,8 +162,8 @@ touch -c -r %{SOURCE3} $RPM_BUILD_ROOT%{_datadir}/{kde4/services,kservices5}/Ser
|
|||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# Symlink xorriso as mkisofs (like in cdrkit)
|
# Prepare alternatives handling for cdrecord, wodim -> xorrecord and mkisofs, genisoimage -> xorriso
|
||||||
ln -sf xorriso%{?variant} $RPM_BUILD_ROOT%{_bindir}/mkisofs
|
touch $RPM_BUILD_ROOT{%{_bindir}/{cdrecord,wodim,mkisofs,genisoimage},%{_mandir}/man1/{cdrecord,wodim,mkisofs,genisoimage}.1.gz}
|
||||||
|
|
||||||
# Some file cleanups
|
# Some file cleanups
|
||||||
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
|
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
|
||||||
@ -177,16 +185,17 @@ cd releng
|
|||||||
/sbin/install-info %{_infodir}/xorrisofs.info.gz %{_infodir}/dir || :
|
/sbin/install-info %{_infodir}/xorrisofs.info.gz %{_infodir}/dir || :
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
link=`readlink %{_bindir}/mkisofs`
|
%{_sbindir}/alternatives --install %{_bindir}/cdrecord cdrecord %{_bindir}/xorrecord%{?variant} 50 \
|
||||||
if [ "$link" == "xorriso%{?variant}" ]; then
|
--slave %{_mandir}/man1/cdrecord.1.gz cdrecord-cdrecordman %{_mandir}/man1/xorrecord%{?variant}.1.gz \
|
||||||
rm -f %{_bindir}/mkisofs
|
--slave %{_bindir}/wodim cdrecord-wodim %{_bindir}/xorrecord%{?variant} \
|
||||||
fi
|
--slave %{_mandir}/man1/wodim.1.gz cdrecord-wodimman %{_mandir}/man1/xorrecord%{?variant}.1.gz
|
||||||
|
%{_sbindir}/alternatives --install %{_bindir}/mkisofs mkisofs %{_bindir}/xorrisofs%{?variant} 50 \
|
||||||
%{_sbindir}/alternatives --install %{_bindir}/mkisofs mkisofs %{_bindir}/xorriso%{?variant} 50 \
|
--slave %{_mandir}/man1/mkisofs.1.gz mkisofs-mkisofsman %{_mandir}/man1/xorrisofs%{?variant}.1.gz \
|
||||||
--slave %{_mandir}/man1/mkisofs.1.gz mkisofs-mkisofsman %{_mandir}/man1/xorrisofs%{?variant}.1.gz
|
--slave %{_bindir}/genisoimage mkisofs-genisoimage %{_bindir}/xorrisofs%{?variant} \
|
||||||
|
--slave %{_mandir}/man1/genisoimage.1.gz mkisofs-genisoimageman %{_mandir}/man1/xorrisofs%{?variant}.1.gz
|
||||||
|
|
||||||
%preun -n xorriso%{?variant}
|
%preun -n xorriso%{?variant}
|
||||||
if [ $1 = 0 ]; then
|
if [ $1 -eq 0 ]; then
|
||||||
%if 0%{?rhel} == 7
|
%if 0%{?rhel} == 7
|
||||||
/sbin/install-info --delete %{_infodir}/xorrecord.info.gz %{_infodir}/dir || :
|
/sbin/install-info --delete %{_infodir}/xorrecord.info.gz %{_infodir}/dir || :
|
||||||
/sbin/install-info --delete %{_infodir}/xorriso.info.gz %{_infodir}/dir || :
|
/sbin/install-info --delete %{_infodir}/xorriso.info.gz %{_infodir}/dir || :
|
||||||
@ -194,7 +203,8 @@ if [ $1 = 0 ]; then
|
|||||||
/sbin/install-info --delete %{_infodir}/xorriso-dd-target.info.gz %{_infodir}/dir || :
|
/sbin/install-info --delete %{_infodir}/xorriso-dd-target.info.gz %{_infodir}/dir || :
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%{_sbindir}/alternatives --remove mkisofs %{_bindir}/xorriso%{?variant}
|
%{_sbindir}/alternatives --remove cdrecord %{_bindir}/xorrecord%{?variant}
|
||||||
|
%{_sbindir}/alternatives --remove mkisofs %{_bindir}/xorrisofs%{?variant}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%files
|
%files
|
||||||
@ -213,12 +223,19 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files -n xorriso%{?variant}
|
%files -n xorriso%{?variant}
|
||||||
|
%ghost %{_bindir}/cdrecord
|
||||||
|
%ghost %{_bindir}/wodim
|
||||||
%ghost %{_bindir}/mkisofs
|
%ghost %{_bindir}/mkisofs
|
||||||
|
%ghost %{_bindir}/genisoimage
|
||||||
%{_bindir}/osirrox%{?variant}
|
%{_bindir}/osirrox%{?variant}
|
||||||
%{_bindir}/xorrecord%{?variant}
|
%{_bindir}/xorrecord%{?variant}
|
||||||
%{_bindir}/xorriso%{?variant}
|
%{_bindir}/xorriso%{?variant}
|
||||||
%{_bindir}/xorrisofs%{?variant}
|
%{_bindir}/xorrisofs%{?variant}
|
||||||
%{_bindir}/xorriso-dd-target%{?variant}
|
%{_bindir}/xorriso-dd-target%{?variant}
|
||||||
|
%ghost %{_mandir}/man1/cdrecord.1*
|
||||||
|
%ghost %{_mandir}/man1/wodim.1*
|
||||||
|
%ghost %{_mandir}/man1/mkisofs.1*
|
||||||
|
%ghost %{_mandir}/man1/genisoimage.1*
|
||||||
%{_mandir}/man1/xorrecord%{?variant}.1*
|
%{_mandir}/man1/xorrecord%{?variant}.1*
|
||||||
%{_mandir}/man1/xorriso%{?variant}.1*
|
%{_mandir}/man1/xorriso%{?variant}.1*
|
||||||
%{_mandir}/man1/xorrisofs%{?variant}.1*
|
%{_mandir}/man1/xorrisofs%{?variant}.1*
|
||||||
@ -233,6 +250,10 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Feb 08 2022 Jiri Kucera <jkucera@redhat.com> - 1.5.4-4
|
||||||
|
- Provide alternatives
|
||||||
|
Resolves: #1967484
|
||||||
|
|
||||||
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.5.4-3
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.5.4-3
|
||||||
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||||
Related: rhbz#1991688
|
Related: rhbz#1991688
|
||||||
|
Loading…
Reference in New Issue
Block a user