Compare commits

..

No commits in common. 'c9' and 'i8c' have entirely different histories.
c9 ... i8c

3
.gitignore vendored

@ -1,2 +1 @@
SOURCES/gpgkey-44BC9FD0D688EB007C4DD029E9CBDFC0ABC0A854.gpg SOURCES/libburn-1.4.8.tar.gz
SOURCES/libburn-1.5.4.tar.gz

@ -1,2 +1 @@
896ddcb0c8d6e8b60a82642331350d7fde7ab737 SOURCES/gpgkey-44BC9FD0D688EB007C4DD029E9CBDFC0ABC0A854.gpg 3ac1e9db9e5b1dba9572c41f6a93f3170f1a368b SOURCES/libburn-1.4.8.tar.gz
f1f6b91c18bcf0df1c38a0665657b10f1a76de58 SOURCES/libburn-1.5.4.tar.gz

Binary file not shown.

Binary file not shown.

@ -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: 4%{?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,43 +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}
%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' \
@ -75,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
@ -92,32 +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
mv -f $RPM_BUILD_ROOT%{_bindir}/{cdrskin,%{cdrskin}}
mv -f $RPM_BUILD_ROOT%{_mandir}/man1/{cdrskin,%{cdrskin}}.1
%endif
# RHEL ships a cdrskin package already # Symlink cdrskin as cdrecord (like in cdrkit)
%if 0%{?rhel} && "%{name}" != "%{pkgname}" %if 0%{?rhel} >= 6 || 0%{?fedora}
mv -f $RPM_BUILD_ROOT%{_bindir}/cdrskin{,%{?variant}} ln -sf %{cdrskin} $RPM_BUILD_ROOT%{_bindir}/cdrecord
mv -f $RPM_BUILD_ROOT%{_mandir}/man1/cdrskin{,%{?variant}}.1
%endif %endif
# Prepare alternatives handling for cdrecord, wodim -> cdrskin %clean
touch $RPM_BUILD_ROOT{%{_bindir}/cdrecord,%{_mandir}/man1/cdrecord.1.gz} rm -rf $RPM_BUILD_ROOT
touch $RPM_BUILD_ROOT{%{_bindir}/wodim,%{_mandir}/man1/wodim.1.gz}
%ldconfig_scriptlets %post -p /sbin/ldconfig
%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.*
@ -127,60 +144,19 @@ 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
* Tue Feb 08 2022 Jiri Kucera <jkucera@redhat.com> - 1.5.4-4 * Wed Jul 26 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 1.4.8-3
- Fix cdrecord & wodim alternatives - Rebuilt for MSVSphere 8.8
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

Loading…
Cancel
Save