From 474164611799bf459b5be3b9a4af0f4b15a88657 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Sun, 18 Oct 2020 18:07:25 +0200 Subject: [PATCH] - adjusted libopenraw patch to cover libopenraw 0.2.x; release 4 --- libopenraw-thumbnailer-libopenraw.patch | 6 ++++-- libopenraw-thumbnailer.spec | 11 ++++++----- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/libopenraw-thumbnailer-libopenraw.patch b/libopenraw-thumbnailer-libopenraw.patch index 823f768..99e9f38 100644 --- a/libopenraw-thumbnailer-libopenraw.patch +++ b/libopenraw-thumbnailer-libopenraw.patch @@ -1,11 +1,13 @@ --- raw-thumbnailer-3.0.0/configure.ac.orig 2011-12-17 07:43:11.000000000 +0100 +++ raw-thumbnailer-3.0.0/configure.ac 2016-12-11 20:12:44.661416746 +0100 -@@ -22,7 +22,7 @@ +@@ -22,7 +22,9 @@ AC_SUBST(GNOME_CFLAGS) AC_SUBST(GNOME_LIBS) -PKG_CHECK_MODULES(OPENRAW, libopenraw-gnome-1.0 >= 0.0.9) -+PKG_CHECK_MODULES(OPENRAW, libopenraw-gnome-0.1 >= 0.0.9) ++PKG_CHECK_MODULES(OPENRAW, libopenraw-gnome-0.2 >= 0.0.9, [], ++ [PKG_CHECK_MODULES(OPENRAW, libopenraw-gnome-0.1 >= 0.0.9, [], ++ [PKG_CHECK_MODULES(OPENRAW, libopenraw-gnome-1.0 >= 0.0.9)])]) AC_SUBST(OPENRAW_CFLAGS) AC_SUBST(OPENRAW_LIBS) diff --git a/libopenraw-thumbnailer.spec b/libopenraw-thumbnailer.spec index d6ebfa5..e457d0c 100644 --- a/libopenraw-thumbnailer.spec +++ b/libopenraw-thumbnailer.spec @@ -2,24 +2,25 @@ Summary: RawThumbnailer - RAW files thumbnailer for the GNOME Nautilus file mana Summary(pl.UTF-8): RawThumbnailer - program do miniaturek plików RAW dla zarządcy plików Nautilus Name: libopenraw-thumbnailer Version: 3.0.0 -Release: 3 +Release: 4 License: GPL v2+ Group: X11/Applications/Graphics -Source0: http://libopenraw.freedesktop.org/download/raw-thumbnailer-%{version}.tar.bz2 +Source0: https://libopenraw.freedesktop.org/download/raw-thumbnailer-%{version}.tar.bz2 # Source0-md5: fc56f327b3e2b2c647abd99b728b27a2 Patch0: %{name}-libopenraw.patch -URL: http://libopenraw.freedesktop.org/wiki/RawThumbnailer +URL: https://libopenraw.freedesktop.org/wiki/RawThumbnailer BuildRequires: autoconf >= 2.50 BuildRequires: automake >= 1:1.11 BuildRequires: gdk-pixbuf2-devel >= 2.0 BuildRequires: glib2-devel >= 2.0 BuildRequires: intltool >= 0.21 -BuildRequires: libopenraw-gnome-devel >= 0.1.0 +BuildRequires: libopenraw-gnome-devel >= 0.0.9 BuildRequires: libtool BuildRequires: pkgconfig BuildRequires: rpmbuild(macros) >= 1.311 Requires(post,postun): shared-mime-info -Requires: libopenraw-gnome >= 0.1.0 +Requires: libopenraw-gnome >= 0.0.9 +Obsoletes: raw-thumbnailer < 0.99 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description -- 2.44.0