From 891e608557fc8dc9888cb53cdda540ac8e5a23300af7098d8c872e3cf51a4462 Mon Sep 17 00:00:00 2001
From: Atri Bhattacharya <badshah400@gmail.com>
Date: Wed, 5 Apr 2023 11:20:20 +0000
Subject: [PATCH] Accepting request 1076613 from
 home:badshah400:branches:graphics

* Update to version 1.6.0.
* New BuildRequires: pkgconfig(libadwaita-1), gtk4-tools.

OBS-URL: https://build.opensuse.org/request/show/1076613
OBS-URL: https://build.opensuse.org/package/show/graphics/curtail?expand=0&rev=9
---
 curtail-1.3.1.tar.gz |  3 ---
 curtail-1.6.0.tar.gz |  3 +++
 curtail.changes      | 16 ++++++++++++++++
 curtail.spec         |  7 +++++--
 4 files changed, 24 insertions(+), 5 deletions(-)
 delete mode 100644 curtail-1.3.1.tar.gz
 create mode 100644 curtail-1.6.0.tar.gz

diff --git a/curtail-1.3.1.tar.gz b/curtail-1.3.1.tar.gz
deleted file mode 100644
index 0b3bbc9..0000000
--- a/curtail-1.3.1.tar.gz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:bdf9a5863d42f04c45fc8d2fa41c962361d177eebfe916b42d436fe2e30e3ed0
-size 176042
diff --git a/curtail-1.6.0.tar.gz b/curtail-1.6.0.tar.gz
new file mode 100644
index 0000000..8d18b43
--- /dev/null
+++ b/curtail-1.6.0.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:4dfaa705a0649567b2d80b5c461e0931f9b87175ff6ea37d157b72911b1e3844
+size 169234
diff --git a/curtail.changes b/curtail.changes
index 784a8e3..a7c7dd2 100644
--- a/curtail.changes
+++ b/curtail.changes
@@ -1,3 +1,19 @@
+-------------------------------------------------------------------
+Sat Apr  1 09:32:40 UTC 2023 - Atri Bhattacharya <badshah400@gmail.com>
+
+- Update to version 1.6.0:
+  * New features:
+    - Configurable compression timeout.
+    - Compress images in an other thread.
+  * Changes:
+    - Better workflow for headerbar.
+    - Move saving state in the subtitle.
+    - Show errors on each line and not in modals anymore.
+    - Simplify preferences.
+    - Update translations.
+  * Bug fix: Fix compression level ranges in UI.
+- New BuildRequires: pkgconfig(libadwaita-1), gtk4-tools.
+
 -------------------------------------------------------------------
 Wed Jul 13 02:08:10 UTC 2022 - Atri Bhattacharya <badshah400@gmail.com>
 
diff --git a/curtail.spec b/curtail.spec
index 6650ef1..a5b9bc3 100644
--- a/curtail.spec
+++ b/curtail.spec
@@ -1,7 +1,7 @@
 #
 # spec file for package curtail
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:           curtail
-Version:        1.3.1
+Version:        1.6.0
 Release:        0
 Summary:        A simple and useful image compressor
 License:        GPL-3.0-or-later
@@ -25,11 +25,14 @@ URL:            https://github.com/Huluti/curtail
 Source0:        %{url}/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
 Source1:        %{name}-rpmlintrc
 BuildRequires:  gobject-introspection-devel
+BuildRequires:  gtk4-tools
 BuildRequires:  hicolor-icon-theme
 BuildRequires:  meson >= 0.50.0
 BuildRequires:  pkgconfig
 BuildRequires:  update-desktop-files
 BuildRequires:  pkgconfig(glib-2.0)
+# Note: Needs libadwaita's AboutWindow which is only available from version 1.2
+BuildRequires:  pkgconfig(libadwaita-1) >= 1.2
 Requires:       jpegoptim
 Requires:       libwebp-tools
 Requires:       optipng