SHA256
1
0
forked from pool/awf-gtk3

Compare commits

..

2 Commits

Author SHA256 Message Date
Ana Guerrero
ec1898214e Accepting request 1249919 from X11:common:Factory
OBS-URL: https://build.opensuse.org/request/show/1249919
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/awf-gtk3?expand=0&rev=7
2025-03-04 17:32:23 +00:00
Fabrice
22acd52ab7 - New upstream release (2.8.1)
* packages scripts update
  * fix building error with GLIB 2.83 and/or with GCC 15

OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/awf-gtk3?expand=0&rev=13
2025-03-03 20:13:15 +00:00
4 changed files with 22 additions and 18 deletions

View File

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

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

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

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Mar 3 20:00:00 UTC 2025 - Fabrice Creuzot <code@luigifab.fr>
- New upstream release (2.8.1)
* packages scripts update
* fix building error with GLIB 2.83 and/or with GCC 15
-------------------------------------------------------------------
Fri Feb 2 20:00:00 UTC 2024 - Fabrice Creuzot <code@luigifab.fr>

View File

@ -1,7 +1,7 @@
#
# spec file for package awf-gtk3
#
# Copyright (c) 2021-2024 SUSE LLC
# Copyright (c) 2021-2025 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.8.0
Version: 2.8.1
Release: 0
Summary: Theme preview application for GTK 3
Summary(fr): Application d'aperçu de thème pour GTK 3
@ -52,8 +52,6 @@ Ce paquet fournit la version GTK 3.}
%setup -q -n awf-extended-%{version}
sed -i 's/ -eq 2/ -eq -1/g' configure.ac
sed -i 's/ -eq 4/ -eq -1/g' configure.ac
touch {NEWS,AUTHORS,README,ChangeLog}
mv LICENSE COPYING
%build
autoreconf -fi
@ -62,27 +60,26 @@ autoreconf -fi
%install
%make_install
mkdir -p %{buildroot}%{_datadir}/applications/
desktop-file-install --dir=%{buildroot}%{_datadir}/applications/ applications/%{name}.desktop
install -dm 755 %{buildroot}%{_datadir}/applications/
desktop-file-install --dir=%{buildroot}%{_datadir}/applications/ data/%{name}.desktop
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/
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/
install -dm 755 %{buildroot}%{_datadir}/icons/hicolor/
for file in data/icons/*/*/awf.png; do mv $file ${file/\/awf.png/\/%{name}.png}; done
for file in data/icons/*/*/awf.svg; do mv $file ${file/\/awf.svg/\/%{name}.svg}; done
cp -a data/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
install -Dpm 644 data/%{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
install -Dpm 644 data/%{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/
install -dm 755 %{buildroot}%{_datadir}/locale/${code}/LC_MESSAGES/
msgfmt src/po/${code}.po -o %{buildroot}%{_datadir}/locale/${code}/LC_MESSAGES/%{name}.mo
done
%find_lang %{name} --with-man
%files -f %{name}.lang
%license COPYING
%license LICENSE
%doc README.md
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop