File zenity.spec of Package zenity
#
# spec file for package zenity (Version 2.28.0)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: zenity
BuildRequires: fdupes
BuildRequires: gnome-doc-utils-devel
BuildRequires: gtk2-devel
BuildRequires: intltool
BuildRequires: libnotify-devel
BuildRequires: translation-update-upstream
License: LGPL v2.1 or later
Group: System/GUI/GNOME
Version: 2.28.0
Release: 1
Requires: %{name}-lang = %{version}
Summary: GNOME Command Line Dialog Utility
Source: ftp://ftp.gnome.org/pub/GNOME/sources/zenity/2.20/%{name}-%{version}.tar.bz2
Url: http://www.gnome.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Zenity is a basic rewrite of gdialog, without the pain involved of
trying to figure out commandline parsing. Zenity is zen-like; simple
and easy to use.
Zenity Dialogs: Calendar, Text Entry, Error, Informational, File
Selection, List, Progress, Question, Text Information, and Warning.
Zenity is especially useful in scripts.
Authors:
--------
Glynn Foster <glynn.foster@sun.com>
%lang_package
%prep
%setup -q
translation-update-upstream
%build
%configure\
--disable-scrollkeeper
%__make %{?jobs:-j%jobs}
%install
%makeinstall
%find_lang %{name}
%fdupes $RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr (-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README THANKS TODO
%{_bindir}/*
%{_datadir}/zenity
%doc %{_mandir}/man?/*.*
%files lang -f %{name}.lang
# Temporary workaround to not depend on libgnome: own the directories
%defattr (-, root, root)
%dir %{_datadir}/gnome
%dir %{_datadir}/gnome/help
%changelog