Group :: Graphical desktop/GNOME
RPM: zenity
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define ver_major 2.22
Name: zenity
Version: %ver_major.1
Release: alt1
Summary: The GNOME port of dialog(1)
License: LGPLv2+
Group: Graphical desktop/GNOME
URL: http://ftp.gnome.org/pub/gnome/sources/%name/
Source: ftp://ftp.gnome.org/pub/gnome/sources/%name/%ver_major/%name-%version.tar.bz2
Requires(post,postun): scrollkeeper
# from configure.in
%define intltool_ver 0.35
%define gtk_ver 2.9.2
BuildPreReq: gnome-common gnome-doc-utils
BuildPreReq: intltool >= %intltool_ver
BuildPreReq: libgtk+2-devel >= %gtk_ver
BuildPreReq: libglade2-devel libgnomecanvas-devel glib2-devel
BuildPreReq: perl-XML-Parser
BuildPreReq: libnotify-devel >= 0.4.1
BuildRequires: libX11-devel libXt-devel scrollkeeper perl-XML-Parser xsltproc
%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 -q
%build
%configure --disable-scrollkeeper
%make_build
%install
%makeinstall
%find_lang --with-gnome %name
%post
%update_scrollkeeper
%postun
%clean_scrollkeeper
%files -f %name.lang
%doc AUTHORS NEWS README THANKS TODO
%_bindir/%name
%_bindir/gdialog
%_datadir/%name
%_man1dir/*
%changelog
…
Full changelog you can see here
Name: zenity
Version: %ver_major.1
Release: alt1
Summary: The GNOME port of dialog(1)
License: LGPLv2+
Group: Graphical desktop/GNOME
URL: http://ftp.gnome.org/pub/gnome/sources/%name/
Source: ftp://ftp.gnome.org/pub/gnome/sources/%name/%ver_major/%name-%version.tar.bz2
Requires(post,postun): scrollkeeper
# from configure.in
%define intltool_ver 0.35
%define gtk_ver 2.9.2
BuildPreReq: gnome-common gnome-doc-utils
BuildPreReq: intltool >= %intltool_ver
BuildPreReq: libgtk+2-devel >= %gtk_ver
BuildPreReq: libglade2-devel libgnomecanvas-devel glib2-devel
BuildPreReq: perl-XML-Parser
BuildPreReq: libnotify-devel >= 0.4.1
BuildRequires: libX11-devel libXt-devel scrollkeeper perl-XML-Parser xsltproc
%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 -q
%build
%configure --disable-scrollkeeper
%make_build
%install
%makeinstall
%find_lang --with-gnome %name
%post
%update_scrollkeeper
%postun
%clean_scrollkeeper
%files -f %name.lang
%doc AUTHORS NEWS README THANKS TODO
%_bindir/%name
%_bindir/gdialog
%_datadir/%name
%_man1dir/*
%changelog
…
Full changelog you can see here