From d11d835eb20bdc1d4f8c5fc8dc4f0e8bfcff46d9 Mon Sep 17 00:00:00 2001
From: Bernhard M. Wiedemann <bwiedemann+opensusegit@suse.de>
Date: May 11 2020 14:31:28 +0000
Subject: Update gedit-latex to rev 16 via SR 801363


https://build.opensuse.org/request/show/801363
by user iznogood + dimstar_suse

---

diff --git a/.files b/.files
index 6dcadba..e5430da 100644
Binary files a/.files and b/.files differ
diff --git a/.rev b/.rev
index aed3d49..9942e4f 100644
--- a/.rev
+++ b/.rev
@@ -121,4 +121,12 @@
     <comment>Removal of -lang recommends (forwarded request 768584 from dimstar)</comment>
     <requestid>768664</requestid>
   </revision>
+  <revision rev="16" vrev="4">
+    <srcmd5>c287e904f1e1bc1ad3c8bce60c152166</srcmd5>
+    <version>3.20.0</version>
+    <time>1589207428</time>
+    <user>dimstar_suse</user>
+    <comment></comment>
+    <requestid>801363</requestid>
+  </revision>
 </revisionlist>
diff --git a/gedit-latex.changes b/gedit-latex.changes
index 8da2f2b..97c9272 100644
--- a/gedit-latex.changes
+++ b/gedit-latex.changes
@@ -1,4 +1,14 @@
 -------------------------------------------------------------------
+Thu May  7 09:28:29 UTC 2020 - Bjørn Lie <bjorn.lie@gmail.com>
+
+- Replace dbus-1-python with dbus-1-python3 and python3-gobject-Gdk
+  Requires: Only python3 is now available in tw, and package
+  supports python3 just fine.
+- Modernize spec, run spec-cleaner, remove
+  glib2_gsettings_schema_post(un) macro only needed for obsolete
+  versions of openSUSE.
+
+-------------------------------------------------------------------
 Thu Jan 30 11:09:55 UTC 2020 - Dominique Leuenberger <dimstar@opensuse.org>
 
 - No longer recommend -lang: supplements are in use
diff --git a/gedit-latex.spec b/gedit-latex.spec
index 9c77497..991e349 100644
--- a/gedit-latex.spec
+++ b/gedit-latex.spec
@@ -1,7 +1,7 @@
 #
 # spec file for package gedit-latex
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,26 +12,27 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 Name:           gedit-latex
 Version:        3.20.0
 Release:        0
-# Code itself is GPLv2+ as of 0.2, but upstream explicitly ships a GPLv3 COPYING file
 Summary:        GEdit Plugin for Editing LaTeX Documents
-License:        GPL-3.0+
+# Code itself is GPLv2+ as of 0.2, but upstream explicitly ships a GPLv3 COPYING file
+License:        GPL-3.0-or-later
 Group:          Productivity/Text/Editors
-Url:            https://live.gnome.org/Gedit/LaTeXPlugin
-Source0:        http://download.gnome.org/sources/gedit-latex/3.20/%{name}-%{version}.tar.xz
-# For directory ownership
+URL:            https://live.gnome.org/Gedit/LaTeXPlugin
+Source0:        https://download.gnome.org/sources/gedit-latex/3.20/%{name}-%{version}.tar.xz
+
 BuildRequires:  fdupes
+# For directory ownership
 BuildRequires:  gedit
 BuildRequires:  intltool
+BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(glib-2.0) >= 2.26.0
 BuildRequires:  pkgconfig(gtk+-3.0) >= 3.0.0
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
 This plugin turns the gedit editor into a productive environment for
@@ -40,10 +41,11 @@ editing LaTeX documents and managing BibTeX bibliographies.
 %package -n gedit-plugin-latex
 Summary:        GEdit Plugin for Editing LaTeX Documents
 Group:          Productivity/Text/Editors
-Requires:       dbus-1-python
+Requires:       dbus-1-python3
 Requires:       gedit
 # For gvfs-open
 Requires:       gvfs
+Requires:       python3-gobject-Gdk
 Requires:       rubber
 # Nice, and needed to make lang package installable
 Provides:       %{name} = %{version}
@@ -54,12 +56,15 @@ This plugin turns the gedit editor into a productive environment for
 editing LaTeX documents and managing BibTeX bibliographies.
 
 %lang_package
+
 %prep
-%setup -q
+%autosetup -p1
 
 %build
-%configure
-make %{?_smp_mflags}
+%configure \
+	--disable-static \
+	%{nil}
+%make_build
 
 %install
 %make_install
@@ -67,17 +72,9 @@ make %{?_smp_mflags}
 %fdupes %{buildroot}%{_libdir}
 %fdupes %{buildroot}%{_datadir}
 
-%if 0%{?suse_version} < 1330
-%post -n gedit-plugin-latex
-%glib2_gsettings_schema_post
-
-%postun -n gedit-plugin-latex
-%glib2_gsettings_schema_postun
-%endif
-
 %files -n gedit-plugin-latex
-%defattr(-,root,root)
-%doc AUTHORS COPYING NEWS README
+%license COPYING
+%doc AUTHORS NEWS README
 %{_libdir}/gedit/plugins/latex/
 %{_libdir}/gedit/plugins/latex.plugin
 %{_datadir}/gedit/plugins/latex/