2003-03-06 15:19:24 +00:00
|
|
|
%define version @VERSION@
|
|
|
|
%define name zenity
|
2003-02-03 01:56:42 +00:00
|
|
|
Summary: Zenity is a basic rewrite of gdialog, with simplicity of use in mind.
|
2003-03-06 15:19:24 +00:00
|
|
|
Name: %{name}
|
|
|
|
Version: %{version}
|
2003-02-03 01:56:42 +00:00
|
|
|
Release: 1
|
|
|
|
Vendor: N/A
|
|
|
|
URL: http://ftp.gnome.org/pub/GNOME/sources/zenity/%{version}/
|
|
|
|
Source: http://ftp.gnome.org/pub/GNOME/sources/zenity/%{version}/%{name}-%{version}.tar.bz2
|
|
|
|
Copyright: GPL
|
|
|
|
License: GPL
|
|
|
|
Group: Applications/System
|
|
|
|
Packager: Mihai Lazarescu <mihai@email.it>
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-buildroot
|
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: automake
|
|
|
|
BuildRequires: binutils
|
|
|
|
BuildRequires: bzip2
|
|
|
|
BuildRequires: fileutils
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: gettext
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: gtk+ >= 2.0.0
|
|
|
|
BuildRequires: gzip
|
|
|
|
BuildRequires: info
|
|
|
|
BuildRequires: intltool
|
|
|
|
BuildRequires: libglade >= 2.0.0
|
|
|
|
BuildRequires: libgnomecanvas >= 2.0.0
|
|
|
|
BuildRequires: libtool
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: popt
|
|
|
|
BuildRequires: scrollkeeper
|
|
|
|
BuildRequires: sh-utils
|
|
|
|
BuildRequires: tar
|
|
|
|
Requires: gtk+ >= 2.0.0
|
|
|
|
Requires: libglade >= 2.0.0
|
|
|
|
Requires: libgnomecanvas >= 2.0.0
|
|
|
|
Provides: %{name}
|
|
|
|
|
|
|
|
%define rpm_prefix /usr
|
|
|
|
|
|
|
|
%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.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2003-03-07 08:36:58 +00:00
|
|
|
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
|
2003-02-03 01:56:42 +00:00
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
./configure --prefix=%{rpm_prefix}
|
|
|
|
%{__make} all
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
2003-03-07 08:36:58 +00:00
|
|
|
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
|
2003-02-03 01:56:42 +00:00
|
|
|
%{__make} prefix=$RPM_BUILD_ROOT%{rpm_prefix} install
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
2003-03-07 08:36:58 +00:00
|
|
|
%{__rm} -rf $RPM_BUILD_ROOT%{rpm_prefix}
|
2003-02-03 01:56:42 +00:00
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc AUTHORS COPYING ChangeLog HACKING INSTALL
|
|
|
|
%doc NEWS README THANKS TODO help
|
|
|
|
|
|
|
|
%{rpm_prefix}
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
* Thu Feb 1 2003 Mihai Lazarescu <mihai@email.it>
|
|
|
|
- first release for version 1.0
|
2003-03-06 15:19:24 +00:00
|
|
|
|
|
|
|
* Thu Mar 6 2003 Glynn Foster <glynn.foster@sun.com>
|
|
|
|
- Fix up the %defines. Not sure if this makes a difference but it
|
|
|
|
seems cleaner to me
|