%global app_id dk.yumex.Yumex %global app_build release %global app_name yumex Name: %{app_name} Version: 5.0.0 Release: 2%{?dist} Summary: Yum Extender graphical package management tool Group: Applications/System License: GPLv3+ URL: http://yumex.dk Source0: https://github.com/timlau/yumex-ng/releases/download/%{name}-%{version}/%{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: meson BuildRequires: blueprint-compiler >= 0.4.0 BuildRequires: gettext BuildRequires: desktop-file-utils BuildRequires: libappstream-glib BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(gtk4) BuildRequires: pkgconfig(libadwaita-1) BuildRequires: pkgconfig(pygobject-3.0) Requires: python3-gobject Requires: libadwaita Requires: gtk4 Requires: flatpak-libs Requires: python3-dnfdaemon Requires: python3-dnf Obsoletes: yumex-dnf <= 4.5.1 %description Graphical package tool for maintain packages on the system %prep %setup -q %check appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.metainfo.xml desktop-file-validate %{buildroot}/%{_datadir}/applications/%{app_id}.desktop %build %meson --buildtype=%{app_build} -Ddnf_backend=%{dnf_backend} %meson_build %install %meson_install %find_lang %{app_name} %post /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : update-desktop-database %{_datadir}/applications &> /dev/null || : %postun if [ $1 -eq 0 ] ; then /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null /usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || : fi update-desktop-database %{_datadir}/applications &> /dev/null || : %posttrans /usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || : %files -f %{app_name}.lang %doc README.md %license LICENSE %{_datadir}/%{app_name} %{_bindir}/%{app_name} %{python3_sitelib}/%{app_name}/ %{_datadir}/applications/%{app_id}.desktop %{_datadir}/icons/hicolor/ %{_metainfodir}/%{app_id}.metainfo.xml %{_datadir}/glib-2.0/schemas/%{app_id}.gschema.xml %changelog * Sat Jul 19 2025 Adrien_D 5.0.0-2 - Rebuild for EL * Tue Jun 11 2024 Tim Lauridsen 5.0.0-1 - the 5.0.0 release * Thu Apr 20 2023 Tim Lauridsen 4.99.4-1 - the 4.99.4 release * Sat Jan 21 2023 Tim Lauridsen 4.99.3-1 - the 4.99.3 release * Wed Jan 4 2023 Tim Lauridsen 4.99.2-1 - add support for building with dnf5 backend * Wed Jan 4 2023 Tim Lauridsen 4.99.2-1 - the 4.99.2 release * Tue Dec 20 2022 Tim Lauridsen 4.99.1-1 - the 4.99.1 release * Tue Dec 20 2022 Tim Lauridsen 4.99.0-1 - initial release (dev)