Accepting request 1143722 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/1143722
OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/awf-gtk3?expand=0&rev=11
This commit is contained in:
Fabrice 2024-02-02 21:32:16 +00:00 committed by Git OBS Bridge
parent e89a25aa1a
commit 418916d8b6
4 changed files with 22 additions and 11 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:87f3847f034918c57923f9fae0c65b829b81dc0def20f19624674771715a07c5
size 757417

3
awf-gtk3-2.8.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:77d887d1e8f04cabdb5fdf88f663f3d2f286f6a20b7e1fbc4a8097644030d6ef
size 923917

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Feb 2 20:00:00 UTC 2024 - Fabrice Creuzot <code@luigifab.fr>
- 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 <code@luigifab.fr>

View File

@ -1,7 +1,7 @@
#
# spec file for package awf-gtk3
#
# 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-gtk3
Version: 2.7.0
Version: 2.8.0
Release: 0
Summary: Theme preview application for GTK 3
Summary(fr): Application d'aperçu de thème pour GTK 3
@ -63,27 +63,31 @@ autoreconf -fi
%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