diff --git a/zenity-3.42.1.tar.xz b/zenity-3.99.0.tar.xz similarity index 30% rename from zenity-3.42.1.tar.xz rename to zenity-3.99.0.tar.xz index 02b408d75867967cfc2b2bd35262e2fde4661013..25570b8e3b98401dee3d3f2bdf0c9f96a5a40401 100644 Binary files a/zenity-3.42.1.tar.xz and b/zenity-3.99.0.tar.xz differ diff --git a/zenity.spec b/zenity.spec index ebe634d5cdc0ad33333338cd4125d8446d33dae8..235c3e234e110958e46b5a9da4285f77be44bbb4 100644 --- a/zenity.spec +++ b/zenity.spec @@ -1,14 +1,21 @@ Name: zenity -Version: 3.42.1 +Version: 3.99.0 Release: 1 Summary: Display GTK dialog boxes in commandline and shell scripts License: LGPLv2+ URL: https://wiki.gnome.org/Projects/Zenity -Source: https://download-fallback.gnome.org/sources/zenity/3.42/%{name}-%{version}.tar.xz - - -BuildRequires: gcc pkgconfig(gtk+-3.0) >= 3.0.0 which gettext intltool itstool meson +Source: https://download-fallback.gnome.org/sources/zenity/3.99/%{name}-%{version}.tar.xz + +BuildRequires: pkgconfig(libadwaita-1) >= 1.2 +BuildRequires: /usr/bin/help2man +BuildRequires: desktop-file-utils +BuildRequires: gcc +BuildRequires: gettext +BuildRequires: itstool +BuildRequires: meson +BuildRequires: which +BuildRequires: xorg-x11-server-Xvfb %description Zenity is a tool that allows you to display GTK dialog boxes in commandline and shell scripts. @@ -16,28 +23,36 @@ Zenity is a tool that allows you to display GTK dialog boxes in commandline and %package_help %prep -%setup -q +%autosetup -p1 %build %meson -%meson_build +# Man page generation requires running the in-tree zenity command. +%{shrink:xvfb-run -w 10 -d %meson_build} %install %meson_install %find_lang zenity --with-gnome +%check +desktop-file-validate %{buildroot}%{_datadir}/applications/org.gnome.Zenity.desktop + %files -f zenity.lang %exclude %{_bindir}/gdialog %license COPYING -%doc AUTHORS NEWS THANKS README +%doc AUTHORS NEWS README.md %{_bindir}/zenity -%{_datadir}/zenity +%{_datadir}/applications/org.gnome.Zenity.desktop +%{_datadir}/icons/hicolor/48*48/apps/zenity.png %files help %{_mandir}/man1/zenity.1* %changelog +* Thu Jul 27 2023 zhangxingrong - 3.99.0-1 +- update to 3.99.0 + * Mon Jun 6 2022 lin zhang - 3.42.1-1 - Upgrade to 3.42.1