Update to 1.9.5 from Fedora 34

Resolves: rhbz#1965886
This commit is contained in:
Bastien Nocera 2021-06-21 12:25:04 +02:00
parent ee2a003ddc
commit 066a6f3c63
3 changed files with 21 additions and 34 deletions

1
.gitignore vendored
View File

@ -8,3 +8,4 @@
/libmediaart-1.9.2.tar.xz
/libmediaart-1.9.3.tar.xz
/libmediaart-1.9.4.tar.xz
/libmediaart-1.9.5.tar.xz

View File

@ -1,21 +1,21 @@
Name: libmediaart
Version: 1.9.4
Release: 12%{?dist}
Version: 1.9.5
Release: 1%{?dist}
Summary: Library for managing media art caches
License: LGPLv2+
URL: https://gitlab.gnome.org/GNOME/libmediaart
Source0: https://download.gnome.org/sources/%{name}/1.9/%{name}-%{version}.tar.xz
BuildRequires: make
BuildRequires: gtk-doc
BuildRequires: meson
BuildRequires: pkgconfig(glib-2.0) pkgconfig(gio-2.0) pkgconfig(gio-unix-2.0)
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
BuildRequires: pkgconfig(gobject-introspection-1.0)
%if 0%{?fedora} || 0%{?rhel} > 7
# Test requires the jpeg gdk-pixbuf loader
BuildRequires: gdk-pixbuf2-modules
%endif
BuildRequires: vala vala-devel
BuildRequires: vala
# Removed in F34
Obsoletes: libmediaart-tests < 1.9.5
%description
Library tasked with managing, extracting and handling media art caches.
@ -29,40 +29,24 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%package tests
Summary: Tests for the %{name} package
Requires: %{name}%{?_isa} = %{version}-%{release}
%description tests
The %{name}-tests package contains tests that can be used to verify
the functionality of the installed %{name} package.
%prep
%setup -q
%build
%configure --disable-static \
--enable-gdkpixbuf \
--disable-qt \
--enable-installed-tests
make %{?_smp_mflags}
%meson -Dimage_library=gdk-pixbuf -Dgtk_doc=true
%meson_build
%install
%make_install
find $RPM_BUILD_ROOT -name '*.la' -delete -print
%check
make check
%ldconfig_scriptlets
%meson_install
%files
%license COPYING.LESSER
%doc AUTHORS NEWS
%{_libdir}/libmediaart-2.0.so.*
%doc NEWS
%{_libdir}/libmediaart-2.0.so.0*
%{_libdir}/girepository-1.0/MediaArt-2.0.typelib
%files devel
@ -71,14 +55,16 @@ make check
%{_libdir}/pkgconfig/libmediaart-2.0.pc
%{_datadir}/gir-1.0/MediaArt-2.0.gir
%{_datadir}/gtk-doc/html/libmediaart
%{_datadir}/vala/vapi/libmediaart-2.0.deps
%{_datadir}/vala/vapi/libmediaart-2.0.vapi
%files tests
%{_libexecdir}/installed-tests/libmediaart
%{_datadir}/installed-tests
%changelog
* Mon Jun 21 2021 Bastien Nocera <bnocera@redhat.com> - 1.9.5-1
+ libmediaart-1.9.5-1
- Update to 1.9.5 from Fedora 34
- Resolves: rhbz#1965886
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.9.4-12
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937

View File

@ -1 +1 @@
SHA512 (libmediaart-1.9.4.tar.xz) = e2526c22cb656c821da626c43c09d72afded1dfc369e77baea3de17dd6d3bd3b829cf3160e386459f55b9580cbeeb1d621c85876cb62739bc8d4f42429bdce1c
SHA512 (libmediaart-1.9.5.tar.xz) = b1d54f4b480cb5cf63a2231b082635268ac1ab708ba829a3e5ccfdfb530e9d463c5ac505cd1dc44643f23f787c4df2ef287a7e68d56e93a05b97be450c7799b6