From 0b092aed9b11d5fb898e85d449c5c676ad0fcaf30f708d7ef8d5c0ae92f77f8f Mon Sep 17 00:00:00 2001
From: Dirk Mueller <dmueller@suse.com>
Date: Thu, 8 Apr 2021 20:24:29 +0000
Subject: [PATCH] - spec cleaning

OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/awf-gtk2?expand=0&rev=2
---
 awf-gtk2.changes |  5 +++++
 awf-gtk2.spec    | 57 +++++++++++++++++++++++++++++-------------------
 2 files changed, 40 insertions(+), 22 deletions(-)

diff --git a/awf-gtk2.changes b/awf-gtk2.changes
index bfcc623..b17923b 100644
--- a/awf-gtk2.changes
+++ b/awf-gtk2.changes
@@ -1,3 +1,8 @@
+-------------------------------------------------------------------
+Thu Apr  8 20:24:20 UTC 2021 - Dirk Müller <dmueller@suse.com>
+
+- spec cleaning 
+
 -------------------------------------------------------------------
 Tue Apr  6 13:56:04 UTC 2021 - Fabrice Creuzot <code@luigifab.fr>
 
diff --git a/awf-gtk2.spec b/awf-gtk2.spec
index 360c150..c842ddb 100644
--- a/awf-gtk2.spec
+++ b/awf-gtk2.spec
@@ -1,21 +1,38 @@
-Name:          awf-gtk2
-Version:       2.3.0
-Release:       0
-Summary:       Theme preview application for GTK
-Summary(fr):   Application d'aperçu de thème pour GTK
-License:       GPL-3.0-or-later
-URL:           https://github.com/luigifab/awf-extended
-Source0:       %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
+#
+# spec file for package awf-gtk2
+#
+# Copyright (c) 2021 SUSE LLC
+#
+# All modifications and additions to the file contributed by third parties
+# remain the property of their copyright owners, unless otherwise agreed
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
 
-BuildRequires: gtk2-devel
-BuildRequires: gettext
-BuildRequires: gcc
-BuildRequires: autoconf
-BuildRequires: automake
-BuildRequires: desktop-file-utils
-BuildRequires: aspell-fr
-Requires:      gtk2
-Requires:      hicolor-icon-theme
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
+#
+
+
+Name:           awf-gtk2
+Version:        2.3.0
+Release:        0
+Summary:        Theme preview application for GTK
+Summary(fr):    Application d'aperçu de thème pour GTK
+License:        GPL-3.0-or-later
+URL:            https://github.com/luigifab/awf-extended
+Source0:        %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
+BuildRequires:  aspell-fr
+BuildRequires:  autoconf
+BuildRequires:  automake
+BuildRequires:  desktop-file-utils
+BuildRequires:  gcc
+BuildRequires:  gettext
+BuildRequires:  gtk2-devel
+Requires:       gtk2
+Requires:       hicolor-icon-theme
 
 %description %{expand:
 A widget factory is a theme preview application for GTK. It displays the
@@ -31,7 +48,6 @@ fenêtre permettant de voir l'effet visuel du thème appliqué.
 
 Ce paquet fournit la version gtk2.}
 
-
 %prep
 %setup -q -n awf-extended-%{version}
 sed -i 's/ -eq 3/ -eq -1/g' configure.ac
@@ -40,7 +56,7 @@ touch {NEWS,AUTHORS,README,ChangeLog}
 mv LICENSE COPYING
 
 %build
-autoreconf -f -i
+autoreconf -fi -W none
 %configure
 %make_build
 
@@ -66,7 +82,4 @@ desktop-file-install --dir=%{buildroot}%{_datadir}/applications/ applications/%{
 %{_datadir}/icons/hicolor/*/apps/%{name}.png
 %{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
 
-
 %changelog
-* Tue Apr 06 2021 Fabrice Creuzot <code@luigifab.fr> - 2.3.0-1
-- Initial opensuse package release