Accepting request 1143726 from X11:common:Factory

OBS-URL: https://build.opensuse.org/request/show/1143726
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/awf-gtk4?expand=0&rev=6
This commit is contained in:
Ana Guerrero 2024-02-04 18:07:48 +00:00 committed by Git OBS Bridge
commit 8a9854a9a0
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-gtk4-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> Fri Jun 16 20:00:00 UTC 2023 - Fabrice Creuzot <code@luigifab.fr>

View File

@ -1,7 +1,7 @@
# #
# spec file for package awf-gtk4 # spec file for package awf-gtk4
# #
# Copyright (c) 2021-2023 SUSE LLC # Copyright (c) 2021-2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -17,7 +17,7 @@
Name: awf-gtk4 Name: awf-gtk4
Version: 2.7.0 Version: 2.8.0
Release: 0 Release: 0
Summary: Theme preview application for GTK 4 Summary: Theme preview application for GTK 4
Summary(fr): Application d'aperçu de thème pour GTK 4 Summary(fr): Application d'aperçu de thème pour GTK 4
@ -63,27 +63,31 @@ autoreconf -fi
%install %install
%make_install %make_install
mkdir -p %{buildroot}%{_datadir}/applications/ mkdir -p %{buildroot}%{_datadir}/applications/
desktop-file-install --dir=%{buildroot}%{_datadir}/applications/ applications/%{name}.desktop
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/ mkdir -p %{buildroot}%{_datadir}/icons/hicolor/
mkdir -p %{buildroot}%{_mandir}/man1/ %{buildroot}%{_mandir}/fr/man1/ for file in icons/*/*/awf.png; do mv $file ${file/\/awf.png/\/%{name}.png}; done
for file in icons/*/*/*; do mv $file ${file/\/awf./\/%{name}.}; done for file in icons/*/*/awf.svg; do mv $file ${file/\/awf.svg/\/%{name}.svg}; done
cp -a icons/* %{buildroot}%{_datadir}/icons/hicolor/ 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 for file in src/po/*.po; do
code=$(basename "$file" .po) code=$(basename "$file" .po)
mkdir -p %{buildroot}%{_datadir}/locale/${code}/LC_MESSAGES/ mkdir -p %{buildroot}%{_datadir}/locale/${code}/LC_MESSAGES/
msgfmt src/po/${code}.po -o %{buildroot}%{_datadir}/locale/${code}/LC_MESSAGES/%{name}.mo msgfmt src/po/${code}.po -o %{buildroot}%{_datadir}/locale/${code}/LC_MESSAGES/%{name}.mo
done 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 %find_lang %{name} --with-man
%files -f %{name}.lang %files -f %{name}.lang
%license COPYING %license COPYING
%doc README.md %doc README.md
%{_bindir}/%{name} %{_bindir}/%{name}
%{_mandir}/man1/%{name}.1*
%{_datadir}/applications/%{name}.desktop %{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/*/apps/%{name}.png %{_datadir}/icons/hicolor/*/apps/%{name}.png
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg %{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
%{_mandir}/man1/%{name}.1*
%changelog %changelog