Compare commits
No commits in common. "c9-beta" and "c8s" have entirely different histories.
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
|||||||
|
1
|
||||||
5
.gitignore
vendored
5
.gitignore
vendored
@ -1,3 +1,2 @@
|
|||||||
SOURCES/gpgkey-44BC9FD0D688EB007C4DD029E9CBDFC0ABC0A854.gpg
|
/libburn-*.tar.gz
|
||||||
SOURCES/libburn-1.5.4.tar.gz
|
/libburn-*.tar.gz.sig
|
||||||
SOURCES/libburn-1.5.4.tar.gz.sig
|
|
||||||
|
|||||||
@ -1,3 +0,0 @@
|
|||||||
896ddcb0c8d6e8b60a82642331350d7fde7ab737 SOURCES/gpgkey-44BC9FD0D688EB007C4DD029E9CBDFC0ABC0A854.gpg
|
|
||||||
f1f6b91c18bcf0df1c38a0665657b10f1a76de58 SOURCES/libburn-1.5.4.tar.gz
|
|
||||||
cdcc16b4041b3796428bbde7883d54f1d915b41c SOURCES/libburn-1.5.4.tar.gz.sig
|
|
||||||
6
gating.yaml
Normal file
6
gating.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
--- !Policy
|
||||||
|
product_versions:
|
||||||
|
- rhel-8
|
||||||
|
decision_context: osci_compose_gate
|
||||||
|
rules:
|
||||||
|
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
||||||
@ -1,22 +1,26 @@
|
|||||||
%global pkgname libburn
|
%global pkgname libburn
|
||||||
|
|
||||||
|
%if 0%{?rhel} >= 6 && 0%{?rhel} <= 7
|
||||||
|
%global cdrskin cdrskin1
|
||||||
|
%else
|
||||||
|
%global cdrskin cdrskin
|
||||||
|
%endif
|
||||||
|
|
||||||
Summary: Library for reading, mastering and writing optical discs
|
Summary: Library for reading, mastering and writing optical discs
|
||||||
Name: libburn
|
Name: libburn
|
||||||
Version: 1.5.4
|
Version: 1.4.8
|
||||||
Release: 5%{?dist}
|
Release: 3%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: https://libburnia-project.org/
|
Group: System Environment/Libraries
|
||||||
Source0: https://files.libburnia-project.org/releases/%{pkgname}-%{version}.tar.gz
|
URL: http://libburnia-project.org/
|
||||||
Source1: https://files.libburnia-project.org/releases/%{pkgname}-%{version}.tar.gz.sig
|
Source0: http://files.libburnia-project.org/releases/%{pkgname}-%{version}.tar.gz
|
||||||
Source2: gpgkey-44BC9FD0D688EB007C4DD029E9CBDFC0ABC0A854.gpg
|
Source1: http://files.libburnia-project.org/releases/%{pkgname}-%{version}.tar.gz.sig
|
||||||
Patch0: libburn-0.6.16-multilib.patch
|
Patch0: libburn-0.6.16-multilib.patch
|
||||||
BuildRequires: gnupg2
|
BuildRequires: intltool, gettext
|
||||||
BuildRequires: gcc, make, intltool, gettext
|
%if 0%{?rhel} >= 6 && 0%{?rhel} <= 7
|
||||||
BuildRequires: chrpath
|
|
||||||
%if 0%{?rhel} && "%{name}" != "%{pkgname}"
|
|
||||||
BuildRequires: autoconf, automake, libtool, pkgconfig
|
BuildRequires: autoconf, automake, libtool, pkgconfig
|
||||||
%global variant 1
|
|
||||||
%endif
|
%endif
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Libburn is a library by which preformatted data get onto optical media:
|
Libburn is a library by which preformatted data get onto optical media:
|
||||||
@ -30,44 +34,45 @@ need such a reload. The code of libburn is independent of cdrecord.
|
|||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for %{name}
|
Summary: Development files for %{name}
|
||||||
|
Group: Development/Libraries
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}, pkgconfig
|
Requires: %{name}%{?_isa} = %{version}-%{release}, pkgconfig
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
The %{name}-devel package contains libraries and header files for
|
The %{name}-devel package contains libraries and header files for
|
||||||
developing applications that use %{name}.
|
developing applications that use %{name}.
|
||||||
|
|
||||||
%if 0%{!?_without_doc:1}
|
|
||||||
%package doc
|
%package doc
|
||||||
Summary: Documentation files for %{name}
|
Summary: Documentation files for %{name}
|
||||||
|
Group: Documentation
|
||||||
|
%if 0%{?fedora} || 0%{?rhel} >= 6
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
%endif
|
||||||
BuildRequires: doxygen, graphviz
|
BuildRequires: doxygen, graphviz
|
||||||
|
|
||||||
%description doc
|
%description doc
|
||||||
Libburn is a library by which preformatted data get onto optical media:
|
Libburn is a library by which preformatted data get onto optical media:
|
||||||
CD, DVD and BD (Blu-Ray). This package contains the API documentation
|
CD, DVD and BD (Blu-Ray). This package contains the API documentation
|
||||||
for developing applications that use %{name}.
|
for developing applications that use %{name}.
|
||||||
%endif
|
|
||||||
|
|
||||||
%package -n cdrskin%{?variant}
|
%package -n %{cdrskin}
|
||||||
Summary: Limited cdrecord compatibility wrapper to ease migration to %{name}
|
Summary: Limited cdrecord compatibility wrapper to ease migration to %{name}
|
||||||
|
Group: Applications/Multimedia
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
Requires(pre): %{_sbindir}/alternatives, coreutils
|
%if 0%{?rhel} >= 6 || 0%{?fedora}
|
||||||
Requires(post): %{_sbindir}/alternatives, coreutils
|
Requires(post): %{_sbindir}/alternatives, coreutils
|
||||||
Requires(preun): %{_sbindir}/alternatives
|
Requires(preun): %{_sbindir}/alternatives
|
||||||
Provides: cdrecord
|
%endif
|
||||||
Provides: wodim
|
|
||||||
|
|
||||||
%description -n cdrskin%{?variant}
|
%description -n %{cdrskin}
|
||||||
A limited cdrecord compatibility wrapper which allows to use some %{name}
|
A limited cdrecord compatibility wrapper which allows to use some %{name}
|
||||||
features from the command line.
|
features from the command line.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
|
|
||||||
%setup -q -n %{pkgname}-%{version}
|
%setup -q -n %{pkgname}-%{version}
|
||||||
%patch0 -p1 -b .multilib
|
%patch0 -p1 -b .multilib
|
||||||
|
|
||||||
# Rename from libburn to libburn1 for EPEL
|
# Rename from libburn to libburn1 for RHEL >= 6
|
||||||
%if 0%{?rhel} && "%{name}" != "%{pkgname}"
|
%if 0%{?rhel} >= 6 && 0%{?rhel} <= 7
|
||||||
sed -e 's@libburn_libburn@libburn_libburn1@g' \
|
sed -e 's@libburn_libburn@libburn_libburn1@g' \
|
||||||
-e 's@libburn/libburn.la@libburn/libburn1.la@g' \
|
-e 's@libburn/libburn.la@libburn/libburn1.la@g' \
|
||||||
-e 's@(includedir)/libburn@(includedir)/libburn1@g' \
|
-e 's@(includedir)/libburn@(includedir)/libburn1@g' \
|
||||||
@ -76,16 +81,17 @@ sed -e 's@libburn-1.pc@libburn1-1.pc@g' -i configure.ac
|
|||||||
sed -e 's@burn@burn1@g' libburn-1.pc.in > libburn1-1.pc.in
|
sed -e 's@burn@burn1@g' libburn-1.pc.in > libburn1-1.pc.in
|
||||||
|
|
||||||
libtoolize --force
|
libtoolize --force
|
||||||
autoreconf --force --install
|
autoreconf --force
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-static
|
%configure --disable-static
|
||||||
%make_build
|
make %{?_smp_mflags}
|
||||||
%{!?_without_doc:doxygen doc/doxygen.conf}
|
doxygen doc/doxygen.conf
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
make DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' install
|
||||||
|
|
||||||
# Don't install any libtool .la files
|
# Don't install any libtool .la files
|
||||||
rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}.la
|
rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}.la
|
||||||
@ -93,42 +99,42 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}.la
|
|||||||
# Clean up for later usage in documentation
|
# Clean up for later usage in documentation
|
||||||
rm -rf $RPM_BUILD_ROOT%{_defaultdocdir}
|
rm -rf $RPM_BUILD_ROOT%{_defaultdocdir}
|
||||||
|
|
||||||
chrpath -d $RPM_BUILD_ROOT%{_bindir}/cdrskin
|
# RHEL >= 6 ships a cdrskin package already
|
||||||
|
%if 0%{?rhel} >= 6 && 0%{?rhel} <= 7
|
||||||
# RHEL ships a cdrskin package already
|
mv -f $RPM_BUILD_ROOT%{_bindir}/{cdrskin,%{cdrskin}}
|
||||||
%if 0%{?rhel} && "%{name}" != "%{pkgname}"
|
mv -f $RPM_BUILD_ROOT%{_mandir}/man1/{cdrskin,%{cdrskin}}.1
|
||||||
mv -f $RPM_BUILD_ROOT%{_bindir}/cdrskin{,%{?variant}}
|
|
||||||
mv -f $RPM_BUILD_ROOT%{_mandir}/man1/cdrskin{,%{?variant}}.1
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# Prepare alternatives handling for cdrecord, wodim -> cdrskin
|
# Symlink cdrskin as cdrecord (like in cdrkit)
|
||||||
touch $RPM_BUILD_ROOT{%{_bindir}/cdrecord,%{_mandir}/man1/cdrecord.1.gz}
|
%if 0%{?rhel} >= 6 || 0%{?fedora}
|
||||||
touch $RPM_BUILD_ROOT{%{_bindir}/wodim,%{_mandir}/man1/wodim.1.gz}
|
ln -sf %{cdrskin} $RPM_BUILD_ROOT%{_bindir}/cdrecord
|
||||||
|
%endif
|
||||||
|
|
||||||
%ldconfig_scriptlets
|
%clean
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%pre -n cdrskin%{?variant}
|
%post -p /sbin/ldconfig
|
||||||
# remove alternativized files if they are not symlinks
|
|
||||||
# otherwise upgrades from non-alternativized versions do not work
|
|
||||||
# the list of files should be kept in sync with the "alternatives"
|
|
||||||
# commands in %%post
|
|
||||||
for f in cdrecord wodim ; do
|
|
||||||
[ -L %{_bindir}/$f ] || %{__rm} -f %{_bindir}/$f || :
|
|
||||||
[ -L %{_mandir}/man1/$f.1.gz ] || %{__rm} -f %{_mandir}/man1/$f.1.gz || :
|
|
||||||
done
|
|
||||||
|
|
||||||
%post -n cdrskin%{?variant}
|
%postun -p /sbin/ldconfig
|
||||||
%{_sbindir}/alternatives --install %{_bindir}/cdrecord cdrecord %{_bindir}/cdrskin%{?variant} 60 \
|
|
||||||
--slave %{_mandir}/man1/cdrecord.1.gz cdrecord-cdrecordman %{_mandir}/man1/cdrskin%{?variant}.1.gz \
|
|
||||||
--slave %{_bindir}/wodim cdrecord-wodim %{_bindir}/cdrskin%{?variant} \
|
|
||||||
--slave %{_mandir}/man1/wodim.1.gz cdrecord-wodimman %{_mandir}/man1/cdrskin%{?variant}.1.gz
|
|
||||||
|
|
||||||
%preun -n cdrskin%{?variant}
|
%if 0%{?rhel} >= 6 || 0%{?fedora}
|
||||||
if [ $1 -eq 0 ]; then
|
%post -n %{cdrskin}
|
||||||
%{_sbindir}/alternatives --remove cdrecord %{_bindir}/cdrskin%{?variant}
|
link=`readlink %{_bindir}/cdrecord`
|
||||||
|
if [ "$link" == "%{cdrskin}" ]; then
|
||||||
|
rm -f %{_bindir}/cdrecord
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
%{_sbindir}/alternatives --install %{_bindir}/cdrecord cdrecord %{_bindir}/%{cdrskin} 50 \
|
||||||
|
--slave %{_mandir}/man1/cdrecord.1.gz cdrecord-cdrecordman %{_mandir}/man1/%{cdrskin}.1.gz
|
||||||
|
|
||||||
|
%preun -n %{cdrskin}
|
||||||
|
if [ $1 = 0 ]; then
|
||||||
|
%{_sbindir}/alternatives --remove cdrecord %{_bindir}/%{cdrskin}
|
||||||
|
fi
|
||||||
|
%endif
|
||||||
|
|
||||||
%files
|
%files
|
||||||
|
%{!?_licensedir:%global license %%doc}
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%doc AUTHORS COPYRIGHT README
|
%doc AUTHORS COPYRIGHT README
|
||||||
%{_libdir}/%{name}*.so.*
|
%{_libdir}/%{name}*.so.*
|
||||||
@ -138,64 +144,17 @@ fi
|
|||||||
%{_libdir}/%{name}*.so
|
%{_libdir}/%{name}*.so
|
||||||
%{_libdir}/pkgconfig/%{name}*.pc
|
%{_libdir}/pkgconfig/%{name}*.pc
|
||||||
|
|
||||||
%if 0%{!?_without_doc:1}
|
|
||||||
%files doc
|
%files doc
|
||||||
%doc doc/html/
|
%doc doc/html/
|
||||||
%endif
|
|
||||||
|
|
||||||
%files -n cdrskin%{?variant}
|
%files -n %{cdrskin}
|
||||||
|
%if 0%{?rhel} >= 6 || 0%{?fedora}
|
||||||
%ghost %{_bindir}/cdrecord
|
%ghost %{_bindir}/cdrecord
|
||||||
%ghost %{_bindir}/wodim
|
%endif
|
||||||
%{_bindir}/cdrskin%{?variant}
|
%{_bindir}/%{cdrskin}
|
||||||
%ghost %{_mandir}/man1/cdrecord.1*
|
%{_mandir}/man1/%{cdrskin}.1*
|
||||||
%ghost %{_mandir}/man1/wodim.1*
|
|
||||||
%{_mandir}/man1/cdrskin%{?variant}.1*
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Wed Jan 15 2025 Pavel Cahyna <pcahyna@redhat.com> - 1.5.4-5
|
|
||||||
- Fix upgrades from non-alternativized versions/packages
|
|
||||||
|
|
||||||
* Tue Feb 08 2022 Jiri Kucera <jkucera@redhat.com> - 1.5.4-4
|
|
||||||
- Fix cdrecord & wodim alternatives
|
|
||||||
Related: #2015861
|
|
||||||
|
|
||||||
* 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
|
|
||||||
|
|
||||||
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.5.4-2
|
|
||||||
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
||||||
|
|
||||||
* Mon Feb 08 2021 Robert Scheck <robert@fedoraproject.org> 1.5.4-1
|
|
||||||
- Upgrade to 1.5.4 (#1926008)
|
|
||||||
|
|
||||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-5
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
||||||
|
|
||||||
* Mon Dec 28 2020 Robert Scheck <robert@fedoraproject.org> 1.5.2-4
|
|
||||||
- Upgrade to 1.5.2.pl01 (#1776514)
|
|
||||||
|
|
||||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-3
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sun Oct 27 2019 Robert Scheck <robert@fedoraproject.org> 1.5.2-1
|
|
||||||
- Upgrade to 1.5.2 (#1765953)
|
|
||||||
|
|
||||||
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-3
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sat Dec 08 2018 Robert Scheck <robert@fedoraproject.org> 1.5.0-1
|
|
||||||
- Upgrade to 1.5.0
|
|
||||||
|
|
||||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.8-4
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.8-3
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.8-3
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
10
plans/tier1-internal.fmf
Normal file
10
plans/tier1-internal.fmf
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
summary: Internal Tier1 tests plan
|
||||||
|
discover:
|
||||||
|
how: fmf
|
||||||
|
filter: 'tier: 1'
|
||||||
|
url: https://pkgs.devel.redhat.com/git/tests/libburn
|
||||||
|
execute:
|
||||||
|
how: tmt
|
||||||
|
adjust:
|
||||||
|
enabled: false
|
||||||
|
when: distro == centos-stream or distro == fedora
|
||||||
2
sources
Normal file
2
sources
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
SHA512 (libburn-1.4.8.tar.gz) = e02c08078313abb19108bb394741d4bde1c5098c1a200129940744e03078d8350b6ac951bf5523872a343b3f9b7a4954dda60a3336997f975abdee6dbae9b87c
|
||||||
|
SHA512 (libburn-1.4.8.tar.gz.sig) = c456bcfac8bc6bb20c0a9b79f50ed56d5f01a63db328a1aa68fbacfba706977391405887f014ba76db965fdaddcbfa5196e0f85b5056a04c4b7daaec33831d59
|
||||||
Loading…
Reference in New Issue
Block a user