Name: awf-gtk4 Version: 2.8.0 Release: 2%{?dist} Summary: Theme preview application for GTK Summary(fr): Application d'aperçu de thème pour GTK License: GPLv3+ URL: https://github.com/luigifab/awf-extended Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz BuildRequires: aspell-fr BuildRequires: autoconf BuildRequires: automake BuildRequires: desktop-file-utils BuildRequires: gcc BuildRequires: gettext BuildRequires: gtk4-devel Requires: gtk4 Requires: hicolor-icon-theme %description %{expand: A widget factory is a theme preview application for GTK. It displays the various widget types provided by GTK in a single window allowing to see the visual effect of the applied theme. This package provides the GTK 4 version.} %description -l fr %{expand: La fabrique à widgets est une application d'aperçu de thème pour GTK. Elle affiche les différents types de widgets fournis par GTK dans une seule fenêtre permettant de voir l'effet visuel du thème appliqué. Ce paquet fournit la version GTK 4.} %prep %setup -q -n awf-extended-%{version} sed -i 's/ -eq 2/ -eq -1/g' configure.ac sed -i 's/ -eq 3/ -eq -1/g' configure.ac touch {NEWS,AUTHORS,README,ChangeLog} mv LICENSE COPYING %build autoreconf -fi %configure %make_build %install %make_install mkdir -p %{buildroot}%{_datadir}/applications/ desktop-file-install --dir=%{buildroot}%{_datadir}/applications/ applications/%{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/ 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 %find_lang %{name} --with-man %files -f %{name}.lang %license COPYING %doc README.md %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/*/apps/%{name}.png %{_datadir}/icons/hicolor/scalable/apps/%{name}.svg %{_mandir}/man1/%{name}.1* %changelog * Wed Jul 17 2024 Fedora Release Engineering - 2.8.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Feb 02 2024 Fabrice Creuzot - 2.8.0-1 - New upstream release * Tue Jan 23 2024 Fedora Release Engineering - 2.7.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 2.7.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Jul 19 2023 Fedora Release Engineering - 2.7.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Jun 16 2023 Fabrice Creuzot - 2.7.0-2 - Package spec update * Tue Jun 06 2023 Fabrice Creuzot - 2.7.0-1 - New upstream release * Wed Jan 18 2023 Fedora Release Engineering - 2.6.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Wed Jul 20 2022 Fedora Release Engineering - 2.6.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jan 19 2022 Fedora Release Engineering - 2.6.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Sep 09 2021 Fabrice Creuzot - 2.6.0-1 - New upstream release * Wed Jul 07 2021 Fabrice Creuzot - 2.5.0-1 - New upstream release * Wed May 05 2021 Fabrice Creuzot - 2.4.0-1 - New upstream release * Sun Apr 04 2021 Fabrice Creuzot - 2.3.0-1 - Initial Fedora package release (Closes: rhbz#1946092)