parent
38a242c77f
commit
e3a52310e1
6
gating.yaml
Normal file
6
gating.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-9
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1.functional}
|
@ -3,16 +3,17 @@
|
||||
Summary: Library to enable creation and expansion of ISO-9660 filesystems
|
||||
Name: libisoburn
|
||||
Version: 1.5.4
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
License: GPLv2+
|
||||
URL: http://libburnia-project.org/
|
||||
Source0: http://files.libburnia-project.org/releases/%{pkgname}-%{version}.tar.gz
|
||||
Source1: http://files.libburnia-project.org/releases/%{pkgname}-%{version}.tar.gz.sig
|
||||
URL: https://libburnia-project.org/
|
||||
Source0: https://files.libburnia-project.org/releases/%{pkgname}-%{version}.tar.gz
|
||||
Source1: https://files.libburnia-project.org/releases/%{pkgname}-%{version}.tar.gz.sig
|
||||
Source2: gpgkey-44BC9FD0D688EB007C4DD029E9CBDFC0ABC0A854.gpg
|
||||
Source3: xorriso_extract_iso_image.desktop
|
||||
Patch0: libisoburn-1.0.8-multilib.patch
|
||||
BuildRequires: gnupg2
|
||||
BuildRequires: gcc, gcc-c++, make, readline-devel, libacl-devel, zlib-devel
|
||||
BuildRequires: chrpath
|
||||
%if 0%{?rhel} == 7
|
||||
BuildRequires: autoconf, automake, libtool
|
||||
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
|
||||
specialization on data files in ISO-9660 filesystem images. And so
|
||||
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
|
||||
Summary: Development files for %{name}
|
||||
@ -70,6 +71,10 @@ Requires(preun): /sbin/install-info
|
||||
%endif
|
||||
Requires(post): %{_sbindir}/alternatives, coreutils
|
||||
Requires(preun): %{_sbindir}/alternatives
|
||||
Provides: cdrecord
|
||||
Provides: wodim
|
||||
Provides: mkisofs
|
||||
Provides: genisoimage
|
||||
|
||||
%description -n xorriso%{?variant}
|
||||
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
|
||||
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,
|
||||
DVD-RAM, BD-R and BD-RE.
|
||||
DVD-RAM, BD-R and BD-RE.
|
||||
|
||||
%prep
|
||||
%{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
|
||||
%endif
|
||||
|
||||
# Remove runpath
|
||||
chrpath -d $RPM_BUILD_ROOT%{_bindir}/xorriso
|
||||
|
||||
# RHEL ships a xorriso package already
|
||||
%if 0%{?rhel} && "%{name}" != "%{pkgname}"
|
||||
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
|
||||
|
||||
# Symlink xorriso as mkisofs (like in cdrkit)
|
||||
ln -sf xorriso%{?variant} $RPM_BUILD_ROOT%{_bindir}/mkisofs
|
||||
# Prepare alternatives handling for cdrecord, wodim -> xorrecord and mkisofs, genisoimage -> xorriso
|
||||
touch $RPM_BUILD_ROOT{%{_bindir}/{cdrecord,wodim,mkisofs,genisoimage},%{_mandir}/man1/{cdrecord,wodim,mkisofs,genisoimage}.1.gz}
|
||||
|
||||
# Some file cleanups
|
||||
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
|
||||
@ -177,16 +185,17 @@ cd releng
|
||||
/sbin/install-info %{_infodir}/xorrisofs.info.gz %{_infodir}/dir || :
|
||||
%endif
|
||||
|
||||
link=`readlink %{_bindir}/mkisofs`
|
||||
if [ "$link" == "xorriso%{?variant}" ]; then
|
||||
rm -f %{_bindir}/mkisofs
|
||||
fi
|
||||
|
||||
%{_sbindir}/alternatives --install %{_bindir}/mkisofs mkisofs %{_bindir}/xorriso%{?variant} 50 \
|
||||
--slave %{_mandir}/man1/mkisofs.1.gz mkisofs-mkisofsman %{_mandir}/man1/xorrisofs%{?variant}.1.gz
|
||||
%{_sbindir}/alternatives --install %{_bindir}/cdrecord cdrecord %{_bindir}/xorrecord%{?variant} 50 \
|
||||
--slave %{_mandir}/man1/cdrecord.1.gz cdrecord-cdrecordman %{_mandir}/man1/xorrecord%{?variant}.1.gz \
|
||||
--slave %{_bindir}/wodim cdrecord-wodim %{_bindir}/xorrecord%{?variant} \
|
||||
--slave %{_mandir}/man1/wodim.1.gz cdrecord-wodimman %{_mandir}/man1/xorrecord%{?variant}.1.gz
|
||||
%{_sbindir}/alternatives --install %{_bindir}/mkisofs mkisofs %{_bindir}/xorrisofs%{?variant} 50 \
|
||||
--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}
|
||||
if [ $1 = 0 ]; then
|
||||
if [ $1 -eq 0 ]; then
|
||||
%if 0%{?rhel} == 7
|
||||
/sbin/install-info --delete %{_infodir}/xorrecord.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 || :
|
||||
%endif
|
||||
|
||||
%{_sbindir}/alternatives --remove mkisofs %{_bindir}/xorriso%{?variant}
|
||||
%{_sbindir}/alternatives --remove cdrecord %{_bindir}/xorrecord%{?variant}
|
||||
%{_sbindir}/alternatives --remove mkisofs %{_bindir}/xorrisofs%{?variant}
|
||||
fi
|
||||
|
||||
%files
|
||||
@ -213,12 +223,19 @@ fi
|
||||
%endif
|
||||
|
||||
%files -n xorriso%{?variant}
|
||||
%ghost %{_bindir}/cdrecord
|
||||
%ghost %{_bindir}/wodim
|
||||
%ghost %{_bindir}/mkisofs
|
||||
%ghost %{_bindir}/genisoimage
|
||||
%{_bindir}/osirrox%{?variant}
|
||||
%{_bindir}/xorrecord%{?variant}
|
||||
%{_bindir}/xorriso%{?variant}
|
||||
%{_bindir}/xorrisofs%{?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/xorriso%{?variant}.1*
|
||||
%{_mandir}/man1/xorrisofs%{?variant}.1*
|
||||
@ -233,6 +250,10 @@ fi
|
||||
%endif
|
||||
|
||||
%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
|
||||
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||
Related: rhbz#1991688
|
||||
|
Loading…
Reference in New Issue
Block a user