Commit 16cdb450 authored by Alexander Larsson's avatar Alexander Larsson
Browse files

Add zenity

parent 36ab7339
......@@ -42,6 +42,7 @@ PACKAGES = \
gnome-sdk gnome-platform dejavu-fonts abattis-cantarell-fonts \
gtk2 gnome-themes-standard libproxy gsettings-desktop-schemas glib-networking libsoup \
dconf gvfs desktop-file-utils json-glib libnotify vte mozjs24 gjs \
zenity \
$(NULL)
ALL_SPECS =$(PACKAGES:%=$(SPECS)/%.spec)
......
......@@ -30,6 +30,7 @@ Requires: json-glib
Requires: libnotify
Requires: vte
Requires: gjs
Requires: zenity
%description
Meta package for Gnome SDK dependencies
......
......@@ -27,6 +27,7 @@ BuildRequires: json-glib
BuildRequires: libnotify-devel
BuildRequires: vte-devel
BuildRequires: gjs-devel
BuildRequires: zenity
Requires: gtk2-devel gtk2-immodules
Requires: gtk3-devel gtk3-immodules
......@@ -84,6 +85,7 @@ Requires: libsoup-devel
Requires: libproxy-devel
Requires: gsettings-desktop-schemas
Requires: gjs-devel mozjs24-devel
Requires: zenity
%description
Meta package for Gnome SDK dependencies
......
Name: zenity
Version: 3.14.0
Release: 1%{?dist}
Summary: Display dialog boxes from shell scripts
Group: Applications/System
License: LGPLv2+
URL: https://wiki.gnome.org/Projects/Zenity
Source: https://download.gnome.org/sources/zenity/3.14/zenity-%{version}.tar.xz
BuildRequires: gnome-sdk-base
BuildRequires: gtk3-devel
BuildRequires: libnotify-devel
BuildRequires: itstool
%description
Zenity lets you 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.
%prep
%setup -q
%build
%configure --disable-webkitgtk
make V=1 %{?_smp_mflags}
%install
make install DESTDIR=$RPM_BUILD_ROOT
# we don't want a perl dependency just for this
rm $RPM_BUILD_ROOT%{_bindir}/gdialog
%find_lang zenity --with-gnome
%files -f zenity.lang
%doc COPYING AUTHORS NEWS THANKS README
%{_bindir}/zenity
%{_datadir}/zenity
%{_mandir}/man1/zenity.1.gz
%changelog
* Thu Nov 27 2014 Alexander Larsson <alexl@redhat.com> - 3.14.0-1
- Initial version, based on F21
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment