Accepting request 1091311 from X11:common:Factory

OBS-URL: https://build.opensuse.org/request/show/1091311
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/awf-gtk2?expand=0&rev=5
This commit is contained in:
Dominique Leuenberger 2023-06-07 21:08:06 +00:00 committed by Git OBS Bridge
commit cce45ed76c
4 changed files with 17 additions and 6 deletions

View File

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

3
awf-gtk2-2.7.0.tar.gz Normal file
View File

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

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Jun 6 20:00:00 UTC 2023 - Fabrice Creuzot <code@luigifab.fr>
- New upstream version (2.7.0)
* add text direction menu
* add close button for tabs
-------------------------------------------------------------------
Thu Sep 9 20:00:00 UTC 2021 - Fabrice Creuzot <code@luigifab.fr>

View File

@ -1,7 +1,7 @@
#
# spec file for package awf-gtk2
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2021-2023 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.6.0
Version: 2.7.0
Release: 0
Summary: Theme preview application for GTK 2
Summary(fr): Application d'aperçu de thème pour GTK 2
@ -64,6 +64,7 @@ autoreconf -fi -W none
%make_install
mkdir -p %{buildroot}%{_datadir}/applications/
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
cp -a icons/* %{buildroot}%{_datadir}/icons/hicolor/
for file in src/po/*.po; do
@ -71,10 +72,13 @@ for file in src/po/*.po; do
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}
%find_lang %{name} --with-man
%files -f %{name}.lang
%{_mandir}/man1/%{name}.1*
%license COPYING
%doc README.md
%{_bindir}/%{name}