diff --git a/.gitignore b/.gitignore index 2835e10..bcd41da 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ +/gpgkey-*.gpg /libburn-*.tar.gz /libburn-*.tar.gz.sig diff --git a/libburn.spec b/libburn.spec index 3e3ee14..9ccd7c6 100644 --- a/libburn.spec +++ b/libburn.spec @@ -8,16 +8,17 @@ Summary: Library for reading, mastering and writing optical discs Name: libburn -Version: 1.4.8 -Release: 4%{?dist} +Version: 1.5.0 +Release: 1%{?dist} License: GPLv2+ Group: System Environment/Libraries 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 +Source2: gpgkey-44BC9FD0D688EB007C4DD029E9CBDFC0ABC0A854.gpg Patch0: libburn-0.6.16-multilib.patch -BuildRequires: gcc -BuildRequires: intltool, gettext +BuildRequires: gnupg2 +BuildRequires: gcc, intltool, gettext %if 0%{?rhel} >= 6 && 0%{?rhel} <= 7 BuildRequires: autoconf, automake, libtool, pkgconfig %endif @@ -44,9 +45,7 @@ developing applications that use %{name}. %package doc Summary: Documentation files for %{name} Group: Documentation -%if 0%{?fedora} || 0%{?rhel} >= 6 BuildArch: noarch -%endif BuildRequires: doxygen, graphviz %description doc @@ -58,16 +57,15 @@ for developing applications that use %{name}. Summary: Limited cdrecord compatibility wrapper to ease migration to %{name} Group: Applications/Multimedia Requires: %{name}%{?_isa} = %{version}-%{release} -%if 0%{?rhel} >= 6 || 0%{?fedora} Requires(post): %{_sbindir}/alternatives, coreutils Requires(preun): %{_sbindir}/alternatives -%endif %description -n %{cdrskin} A limited cdrecord compatibility wrapper which allows to use some %{name} features from the command line. %prep +gpgv2 --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0} %setup -q -n %{pkgname}-%{version} %patch0 -p1 -b .multilib @@ -86,12 +84,11 @@ autoreconf --force %build %configure --disable-static -make %{?_smp_mflags} +%make_build doxygen doc/doxygen.conf %install -rm -rf $RPM_BUILD_ROOT -make DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' install +%make_install # Don't install any libtool .la files rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}.la @@ -106,15 +103,10 @@ mv -f $RPM_BUILD_ROOT%{_mandir}/man1/{cdrskin,%{cdrskin}}.1 %endif # Symlink cdrskin as cdrecord (like in cdrkit) -%if 0%{?rhel} >= 6 || 0%{?fedora} ln -sf %{cdrskin} $RPM_BUILD_ROOT%{_bindir}/cdrecord -%endif -%post -p /sbin/ldconfig +%ldconfig_scriptlets -%postun -p /sbin/ldconfig - -%if 0%{?rhel} >= 6 || 0%{?fedora} %post -n %{cdrskin} link=`readlink %{_bindir}/cdrecord` if [ "$link" == "%{cdrskin}" ]; then @@ -128,10 +120,8 @@ fi if [ $1 = 0 ]; then %{_sbindir}/alternatives --remove cdrecord %{_bindir}/%{cdrskin} fi -%endif %files -%{!?_licensedir:%global license %%doc} %license COPYING %doc AUTHORS COPYRIGHT README %{_libdir}/%{name}*.so.* @@ -145,13 +135,14 @@ fi %doc doc/html/ %files -n %{cdrskin} -%if 0%{?rhel} >= 6 || 0%{?fedora} %ghost %{_bindir}/cdrecord -%endif %{_bindir}/%{cdrskin} %{_mandir}/man1/%{cdrskin}.1* %changelog +* Sat Dec 08 2018 Robert Scheck 1.5.0-1 +- Upgrade to 1.5.0 + * Fri Jul 13 2018 Fedora Release Engineering - 1.4.8-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild diff --git a/sources b/sources index 1a5f7e4..3d60669 100644 --- a/sources +++ b/sources @@ -1,2 +1,3 @@ -SHA512 (libburn-1.4.8.tar.gz) = e02c08078313abb19108bb394741d4bde1c5098c1a200129940744e03078d8350b6ac951bf5523872a343b3f9b7a4954dda60a3336997f975abdee6dbae9b87c -SHA512 (libburn-1.4.8.tar.gz.sig) = c456bcfac8bc6bb20c0a9b79f50ed56d5f01a63db328a1aa68fbacfba706977391405887f014ba76db965fdaddcbfa5196e0f85b5056a04c4b7daaec33831d59 +SHA512 (gpgkey-44BC9FD0D688EB007C4DD029E9CBDFC0ABC0A854.gpg) = d287374e95680ca4be38d7dc09c71e9f2e466eb62abc6fc29da6d5d984e0bceab9a2d0eca85ccb3a6f2cd7cbaa6c8d02c817aa84864d159616b0b2ca8e96b9db +SHA512 (libburn-1.5.0.tar.gz) = c524d672d79db2f6dc22f6381cd422ddaa3b61d6741c998c773772722e37c53576ae9549dd17a33c2d020c66857ecbb948f353bc22cdf28c2bb115bd2b82d4a2 +SHA512 (libburn-1.5.0.tar.gz.sig) = 0fbbec11bcfec752b5d8a0a19b6b347ab83bc7f7fbbf6d9b1152c93cdb7c19a5c5678cc89552f170811d8e89fd56bf940ef6e784321e579080a86746d3db2642