From c2fe6f03e8a56b3cd3caf51acfdccc7a7e8cde92b01fa506050496b2ec185c82 Mon Sep 17 00:00:00 2001 From: Fabrice Date: Fri, 2 Feb 2024 21:31:57 +0000 Subject: [PATCH] Accepting request 1143721 from home:luigifab:branches:X11:common:Factory - New upstream release (2.8.0) * add progress bar in tool bar and status bar * auto resize window to minimal size after layout update OBS-URL: https://build.opensuse.org/request/show/1143721 OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/awf-gtk2?expand=0&rev=13 --- awf-gtk2-2.7.0.tar.gz | 3 --- awf-gtk2-2.8.0.tar.gz | 3 +++ awf-gtk2.changes | 7 +++++++ awf-gtk2.spec | 20 ++++++++++++-------- 4 files changed, 22 insertions(+), 11 deletions(-) delete mode 100644 awf-gtk2-2.7.0.tar.gz create mode 100644 awf-gtk2-2.8.0.tar.gz diff --git a/awf-gtk2-2.7.0.tar.gz b/awf-gtk2-2.7.0.tar.gz deleted file mode 100644 index 658c0d8..0000000 --- a/awf-gtk2-2.7.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:87f3847f034918c57923f9fae0c65b829b81dc0def20f19624674771715a07c5 -size 757417 diff --git a/awf-gtk2-2.8.0.tar.gz b/awf-gtk2-2.8.0.tar.gz new file mode 100644 index 0000000..e87676b --- /dev/null +++ b/awf-gtk2-2.8.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:77d887d1e8f04cabdb5fdf88f663f3d2f286f6a20b7e1fbc4a8097644030d6ef +size 923917 diff --git a/awf-gtk2.changes b/awf-gtk2.changes index e3c2062..0f3a771 100644 --- a/awf-gtk2.changes +++ b/awf-gtk2.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Feb 2 20:00:00 UTC 2024 - Fabrice Creuzot + +- New upstream release (2.8.0) + * add progress bar in tool bar and status bar + * auto resize window to minimal size after layout update + ------------------------------------------------------------------- Fri Jun 16 20:00:00 UTC 2023 - Fabrice Creuzot diff --git a/awf-gtk2.spec b/awf-gtk2.spec index be9cabd..197829a 100644 --- a/awf-gtk2.spec +++ b/awf-gtk2.spec @@ -1,7 +1,7 @@ # # spec file for package awf-gtk2 # -# Copyright (c) 2021-2023 SUSE LLC +# Copyright (c) 2021-2024 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: awf-gtk2 -Version: 2.7.0 +Version: 2.8.0 Release: 0 Summary: Theme preview application for GTK 2 Summary(fr): Application d'aperçu de thème pour GTK 2 @@ -63,27 +63,31 @@ autoreconf -fi -W none %install %make_install mkdir -p %{buildroot}%{_datadir}/applications/ +desktop-file-install --dir=%{buildroot}%{_datadir}/applications/ applications/%{name}.desktop + mkdir -p %{buildroot}%{_datadir}/icons/hicolor/ -mkdir -p %{buildroot}%{_mandir}/man1/ %{buildroot}%{_mandir}/fr/man1/ -for file in icons/*/*/*; do mv $file ${file/\/awf./\/%{name}.}; done +for file in icons/*/*/awf.png; do mv $file ${file/\/awf.png/\/%{name}.png}; done +for file in icons/*/*/awf.svg; do mv $file ${file/\/awf.svg/\/%{name}.svg}; done cp -a icons/* %{buildroot}%{_datadir}/icons/hicolor/ + +mkdir -p %{buildroot}%{_mandir}/man1/ %{buildroot}%{_mandir}/fr/man1/ +install -pm 644 debian/%{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1 +install -pm 644 debian/%{name}.fr.1 %{buildroot}%{_mandir}/fr/man1/%{name}.1 + for file in src/po/*.po; do code=$(basename "$file" .po) mkdir -p %{buildroot}%{_datadir}/locale/${code}/LC_MESSAGES/ msgfmt src/po/${code}.po -o %{buildroot}%{_datadir}/locale/${code}/LC_MESSAGES/%{name}.mo done -install -p -m 644 debian-gtk/%{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1 -install -p -m 644 debian-gtk/%{name}.fr.1 %{buildroot}%{_mandir}/fr/man1/%{name}.1 -desktop-file-install --dir=%{buildroot}%{_datadir}/applications/ applications/%{name}.desktop %find_lang %{name} --with-man %files -f %{name}.lang %license COPYING %doc README.md %{_bindir}/%{name} -%{_mandir}/man1/%{name}.1* %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/*/apps/%{name}.png %{_datadir}/icons/hicolor/scalable/apps/%{name}.svg +%{_mandir}/man1/%{name}.1* %changelog