[mate-document-viewer] add mate-document-viewer_switch-to-libsecret.patch to spec file

Wolfgang Ulbrich raveit65 at fedoraproject.org
Sat Oct 19 16:09:06 UTC 2013


commit b12cc8b4cab8147aaed2f94811047e3fb78b482c
Author: raveit65 <chat-to-me at raveit.de>
Date:   Sat Oct 19 18:08:58 2013 +0200

    add mate-document-viewer_switch-to-libsecret.patch to spec file

 mate-document-viewer.spec |   19 ++++++++++++++++++-
 1 files changed, 18 insertions(+), 1 deletions(-)
---
diff --git a/mate-document-viewer.spec b/mate-document-viewer.spec
index 6e999d9..fcc42c4 100644
--- a/mate-document-viewer.spec
+++ b/mate-document-viewer.spec
@@ -2,7 +2,7 @@
 
 Name:           mate-document-viewer
 Version:        1.6.1
-Release:        6%{?dist}
+Release:        7%{?dist}
 Summary:        Document viewer
 License:        GPLv2+ and LGPLv2+ and MIT
 URL:            http://mate-desktop.org
@@ -13,10 +13,20 @@ Source0:        http://pub.mate-desktop.org/releases/1.6/%{name}-%{version}.tar.
 # fix rhbz (#1005519)
 Patch0:         mate-document-viewer_check-if-handler_id-is-connected-before-disconnect.patch
 
+# swithch to gnome-keyring > f19
+# http://git.mate-desktop.org/mate-document-viewer/commit/?id=5b333c0
+%if 0%{?fedora} > 19
+Patch1:         mate-document-viewer_switch-to-libsecret.patch
+%endif
+
 BuildRequires:  gtk2-devel
 BuildRequires:  poppler-glib-devel
 BuildRequires:  libXt-devel
+%if 0%{?fedora} > 19
+BuildRequires:  libsecret-devel
+%else
 BuildRequires:  libmatekeyring-devel
+%endif
 BuildRequires:  libglade2-devel
 BuildRequires:  libtiff-devel
 BuildRequires:  libjpeg-devel
@@ -82,6 +92,10 @@ It adds an additional tab called "Document" to the file properties dialog.
 %setup -q
 %patch0 -p1 -b .handler
 
+%if 0%{?fedora} > 19
+%patch1 -p1 -b .libsecret
+%endif
+
 # bundled libtool is busted ):,  force regeneration of something good -- rex
 NOCONFIGURE=1 ./autogen.sh
 
@@ -191,6 +205,9 @@ fi
 
 
 %changelog
+* Sat Oct 19 2013 Wolfgang Ulbrich <chat-to-me at raveit.de> - 1.6.1-7
+- switch to gnome-keyring
+
 * Sat Oct 12 2013 Wolfgang Ulbrich <chat-to-me at raveit.de> - 1.6.1-6
 - fix rhbz (#1005519)
 


More information about the scm-commits mailing list