diff --git a/.gitignore b/.gitignore index 271eaf8..8d75de5 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,4 @@ /fonts-tweak-tool-0.3.0.tar.bz2 /fonts-tweak-tool-0.3.1.tar.bz2 /fonts-tweak-tool-0.3.2.tar.bz2 +/fonts-tweak-tool-0.4.0.tar.bz2 diff --git a/fonts-tweak-tool-fix-deprecation.patch b/fonts-tweak-tool-fix-deprecation.patch deleted file mode 100644 index 042bb86..0000000 --- a/fonts-tweak-tool-fix-deprecation.patch +++ /dev/null @@ -1,48 +0,0 @@ -From c6e921852be4bac17ef1b0b1da1aded3f97a298f Mon Sep 17 00:00:00 2001 -From: Akira TAGOH -Date: Thu, 4 Sep 2014 20:40:11 +0900 -Subject: [PATCH] Fix PyGTKDeprecationWarnings - ---- - fonts-tweak-tool | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) - -diff --git a/fonts-tweak-tool b/fonts-tweak-tool -index 60ede69..a4f7506 100755 ---- a/fonts-tweak-tool -+++ b/fonts-tweak-tool -@@ -68,7 +68,7 @@ except GLib.GError as e: - if e.domain != 'ezfc-error-quark' or e.code != 7: - raise - --dlgui = Gtk.Dialog('Fonts Tweak Tool', None, Gtk.ResponseType.CLOSE) -+dlgui = Gtk.Dialog(title='Fonts Tweak Tool', transient_for=None) - dlgui.set_deletable(False) - dlgui.connect('delete-event', Gtk.main_quit) - content_area = dlgui.get_content_area() -@@ -112,17 +112,17 @@ tabs.set_margin_left(16) - tabs.set_margin_right(16) - tabs.set_margin_top(16) - tabs.set_margin_bottom(8) --tabs.append_page(aliasui, Gtk.Label(_('Fonts Aliases'))) -+tabs.append_page(aliasui, Gtk.Label.new(_('Fonts Aliases'))) - if propui is not None: -- tabs.append_page(propui, Gtk.Label(_('Fonts Properties'))) -+ tabs.append_page(propui, Gtk.Label.new(_('Fonts Properties'))) - if substui is not None: -- tabs.append_page(substui, Gtk.Label(_('Font Substitutions'))) -+ tabs.append_page(substui, Gtk.Label.new(_('Font Substitutions'))) - if langui is not None: -- tabs.append_page(langui, Gtk.Label(_('Language Ordering'))) -+ tabs.append_page(langui, Gtk.Label.new(_('Language Ordering'))) - content_area.set_border_width(2) - content_area.add(tabs) - --close = Gtk.Button(stock=Gtk.STOCK_CLOSE) -+close = Gtk.Button.new_from_stock(Gtk.STOCK_CLOSE) - close.connect('clicked', Gtk.main_quit) - dlgui.add_action_widget(close, Gtk.ResponseType.CLOSE) - action_area = dlgui.get_action_area() --- -1.9.3 - diff --git a/fonts-tweak-tool-sitearchdir.patch b/fonts-tweak-tool-sitearchdir.patch deleted file mode 100644 index fcc1d35..0000000 --- a/fonts-tweak-tool-sitearchdir.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -pruN fonts-tweak-tool-0.3.2.orig/fontstweak/Makefile.am fonts-tweak-tool-0.3.2/fontstweak/Makefile.am ---- fonts-tweak-tool-0.3.2.orig/fontstweak/Makefile.am 2013-05-13 15:48:12.000000000 +0900 -+++ fonts-tweak-tool-0.3.2/fontstweak/Makefile.am 2014-02-05 20:18:51.000000000 +0900 -@@ -35,7 +35,7 @@ pyscripts_sources = \ - $(NULL) - - pyscripts_PYTHON = $(pyscripts_sources) --pyscriptsdir = $(pythondir)/fontstweak -+pyscriptsdir = $(pyexecdir)/fontstweak - - lib_LTLIBRARIES = \ - libfontstweak-resources.la \ diff --git a/fonts-tweak-tool.spec b/fonts-tweak-tool.spec index 2ad974f..7c0973c 100644 --- a/fonts-tweak-tool.spec +++ b/fonts-tweak-tool.spec @@ -1,6 +1,6 @@ Name: fonts-tweak-tool -Version: 0.3.2 -Release: 16%{?dist} +Version: 0.4.0 +Release: 1%{?dist} Summary: Tool for customizing fonts per language License: LGPLv3+ @@ -11,27 +11,21 @@ BuildRequires: desktop-file-utils BuildRequires: intltool BuildRequires: python3-devel BuildRequires: gobject-introspection-devel glib2-devel -Requires: libeasyfc-gobject >= 0.12.1 +Requires: libeasyfc-gobject >= 0.14.0 Requires: pygobject3 Requires: python3-pyxdg Requires: gtk3 Requires: hicolor-icon-theme -Patch0: %{name}-sitearchdir.patch -Patch1: %{name}-fix-deprecation.patch -Patch2: %{name}-default-python3.patch +Patch0: %{name}-default-python3.patch %description fonts-tweak-tool is a GUI tool for customizing fonts per language on desktops using fontconfig. %prep -%setup -q -%patch0 -p1 -b .0-sitearch -%patch1 -p1 -b .1-deprecation -%patch2 -p1 -b .2-python3 +%autosetup -p1 -autoreconf -f -i %configure --disable-static PYTHON=python3 %build @@ -97,6 +91,9 @@ rm -f $RPM_BUILD_ROOT%{_datadir}/gir-*/FontsTweak-*.gir %{_libdir}/girepository-*/FontsTweak-*.typelib %changelog +* Fri Feb 16 2018 Akira TAGOH - 0.4.0-1 +- New upstream release. + * Wed Feb 07 2018 Fedora Release Engineering - 0.3.2-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild diff --git a/sources b/sources index 7128e69..ab73a78 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -8da2567522fe616b85a9e0b225ced55b fonts-tweak-tool-0.3.2.tar.bz2 +SHA512 (fonts-tweak-tool-0.4.0.tar.bz2) = 7bc97e523b4d54b1591186bf3cf56f703d95595f57e4116d4e53578a1c70ec4f83a3cbfa840d94933ecf866ed6fd6a58c9e17b51cedfa27cef603d901ae7a4e4