Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37046497
en ru br
ALT Linux repos
S:3.44.2-alt1
5.0: 2.26.0-alt1
4.1: 2.22.1-alt1
4.0: 2.16.3-alt1
3.0: 2.10.0-alt1

Group :: Graphical desktop/GNOME
RPM: zenity

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define ver_major 3.44
%define beta %nil
%def_enable libnotify
%def_enable webkitgtk
%def_enable check

Name: zenity
Version: %ver_major.2
Release: alt1%beta

Summary: The GNOME port of dialog(1)
License: LGPL-2.1
Group: Graphical desktop/GNOME
Url: https://wiki.gnome.org/Projects/Zenity

Source: ftp://ftp.gnome.org/pub/gnome/sources/%name/%ver_major/%name-%version%beta.tar.xz

%define glib_ver 2.43.4
%define gtk_ver 3.16.0
%define webkit_api_ver 4.1

BuildRequires(pre): rpm-macros-meson
BuildRequires: meson yelp-tools
BuildRequires: glib2-devel > %glib_ver
BuildRequires: libgtk+3-devel >= %gtk_ver
%{?_enable_libnotify:BuildRequires: libnotify-devel >= 0.7.0}
%{?_enable_webkitgtk:BuildRequires: pkgconfig(webkit2gtk-%webkit_api_ver)}

%description
Zenity is a tool that allows you to display Gtk+ dialog boxes from
the command line and through shell scripts.  It is similar to gdialog,
but is intended to be saner.  It comes from the same family as dialog,
Xdialog, and cdialog, but it surpasses those projects by having
a cooler name.

%prep
%setup -n %name-%version%beta

%build
%meson \
%{?_enable_libnotify:-Dlibnotify=true} \
%{?_enable_webkitgtk:-Dwebkitgtk=true}
%nil
%meson_build

%install
%meson_install
%find_lang --with-gnome %name

%check
%__meson_test

%files -f %name.lang
%_bindir/%name
%_bindir/gdialog
%_datadir/%name
%_man1dir/*
%doc AUTHORS NEWS README* THANKS TODO

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin