diff --git a/0001-Merge-branch-appdata-releases-into-main.patch b/0001-Merge-branch-appdata-releases-into-main.patch new file mode 100644 index 0000000..9067a7d --- /dev/null +++ b/0001-Merge-branch-appdata-releases-into-main.patch @@ -0,0 +1,33 @@ +From 2ce2a40ff54af0af7631ace059504be4dd17f3bd Mon Sep 17 00:00:00 2001 +From: Christian Hergert +Date: Wed, 5 Oct 2022 16:50:04 +0000 +Subject: [PATCH] Merge branch 'appdata-releases' into 'main' + +appdata: Add missing releases + +See merge request GNOME/gnome-text-editor!81 + +(cherry picked from commit 16b04a769a8ac4ee3573601f847cdc8d8597e3fd) + +19dd61a5 appdata: Add missing releases +--- + data/org.gnome.TextEditor.appdata.xml.in.in | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/data/org.gnome.TextEditor.appdata.xml.in.in b/data/org.gnome.TextEditor.appdata.xml.in.in +index 596189b..5f9a7d3 100644 +--- a/data/org.gnome.TextEditor.appdata.xml.in.in ++++ b/data/org.gnome.TextEditor.appdata.xml.in.in +@@ -29,6 +29,9 @@ + org.gnome.TextEditor + + ++ ++ ++ + + + +-- +2.37.3 + diff --git a/gnome-text-editor-42.2.tar.xz b/gnome-text-editor-42.2.tar.xz deleted file mode 100644 index f550129..0000000 Binary files a/gnome-text-editor-42.2.tar.xz and /dev/null differ diff --git a/gnome-text-editor-43.1.tar.xz b/gnome-text-editor-43.1.tar.xz new file mode 100644 index 0000000..3640bdb Binary files /dev/null and b/gnome-text-editor-43.1.tar.xz differ diff --git a/gnome-text-editor.spec b/gnome-text-editor.spec index ed6245b..2a1e66b 100644 --- a/gnome-text-editor.spec +++ b/gnome-text-editor.spec @@ -1,16 +1,18 @@ -%global glib2_version 2.69 -%global gtk4_version 4.4 -%global gtksourceview_version 5.3.1 +%global glib2_version 2.73 +%global gtk4_version 4.7 +%global gtksourceview_version 5.5.0 %global enchant_version 2.2.0 Name: gnome-text-editor -Version: 42.2 +Version: 43.1 Release: 1 Summary: A simple text editor for the GNOME desktop License: GPLv3+ URL: https://gitlab.gnome.org/GNOME/gnome-text-editor -Source0: https://download.gnome.org/sources/%{name}/42/%{name}-%{version}.tar.xz +Source0: https://download.gnome.org/sources/%{name}/43/%{name}-%{version}.tar.xz +Patch0: 0001-Merge-branch-appdata-releases-into-main.patch +BuildRequires: pkgconfig(editorconfig) BuildRequires: pkgconfig(enchant-2) >= %{enchant_version} BuildRequires: pkgconfig(gio-unix-2.0) >= %{glib2_version} BuildRequires: pkgconfig(gtk4) >= %{gtk4_version} @@ -18,7 +20,7 @@ BuildRequires: pkgconfig(gtksourceview-5) >= %{gtksourceview_version} BuildRequires: pkgconfig(icu-uc) BuildRequires: pkgconfig(libadwaita-1) BuildRequires: gcc meson itstool desktop-file-utils -BuildRequires: /usr/bin/appstream-util +BuildRequires: libappstream-glib pcre-devel Requires: glib2%{?_isa} >= %{glib2_version} Requires: enchant2%{?_isa} >= %{enchant_version} @@ -32,7 +34,7 @@ You can come back to your work even if you've never saved it to a file. %prep %autosetup -p1 -n %{name}-%{version} -sed -i '/rc1/d' data/org.gnome.TextEditor.appdata.xml.in.in +#sed -i '/rc1/d' data/org.gnome.TextEditor.appdata.xml.in.in %build %meson -Ddevelopment=false @@ -61,6 +63,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/org.gnome.TextEditor. %{_datadir}/icons/hicolor/*/*/*.svg %changelog +* Mon Jan 02 2023 lin zhang - 43.1-1 +- upgrade to 43.1 + * Mon Jun 20 2022 lin zhang - 42.2-1 - Upgrade to 42.2