SHA256
1
0
forked from pool/awf-gtk2

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
This commit is contained in:
Fabrice 2024-02-02 21:31:57 +00:00 committed by Git OBS Bridge
parent 63ef0dbc4d
commit c2fe6f03e8
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-gtk2-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-gtk2 # 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 # 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-gtk2 Name: awf-gtk2
Version: 2.7.0 Version: 2.8.0
Release: 0 Release: 0
Summary: Theme preview application for GTK 2 Summary: Theme preview application for GTK 2
Summary(fr): Application d'aperçu de thème pour GTK 2 Summary(fr): Application d'aperçu de thème pour GTK 2
@ -63,27 +63,31 @@ autoreconf -fi -W none
%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