78 lines
1.7 KiB
RPMSpec
78 lines
1.7 KiB
RPMSpec
|
Name: zenity
|
||
|
Version: 2.14.1
|
||
|
Release: 4
|
||
|
Summary: Display dialog boxes from shell scripts
|
||
|
Group: Applications/System
|
||
|
License: GPL
|
||
|
URL: http://directory.fsf.org/zenity.html
|
||
|
Source0: http://ftp.gnome.org/pub/GNOME/sources/zenity/2.14/zenity-%{version}.tar.bz2
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||
|
|
||
|
BuildRequires: gnome-doc-utils >= 0.3.2
|
||
|
BuildRequires: glib2-devel >= 2.7.3
|
||
|
BuildRequires: gtk2-devel >= 2.6.0
|
||
|
BuildRequires: libglade2-devel
|
||
|
BuildRequires: libgnomecanvas-devel
|
||
|
BuildRequires: scrollkeeper
|
||
|
BuildRequires: which
|
||
|
BuildRequires: autoconf
|
||
|
|
||
|
Requires(post): scrollkeeper
|
||
|
Requires(postun): scrollkeeper
|
||
|
|
||
|
Patch0: zenity-2.14.0-x.patch
|
||
|
|
||
|
%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
|
||
|
%patch0 -p1 -b .x
|
||
|
|
||
|
%build
|
||
|
autoconf
|
||
|
%configure --disable-scrollkeeper
|
||
|
make %{?_smp_mflags}
|
||
|
|
||
|
|
||
|
%install
|
||
|
rm -rf $RPM_BUILD_ROOT
|
||
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||
|
|
||
|
%find_lang zenity-0.1
|
||
|
|
||
|
|
||
|
%clean
|
||
|
rm -rf $RPM_BUILD_ROOT
|
||
|
|
||
|
|
||
|
%post
|
||
|
scrollkeeper-update -q
|
||
|
|
||
|
|
||
|
%postun
|
||
|
scrollkeeper-update -q
|
||
|
|
||
|
|
||
|
%files -f zenity-0.1.lang
|
||
|
%defattr(-,root,root,-)
|
||
|
%{_bindir}/gdialog
|
||
|
%{_bindir}/zenity
|
||
|
%{_datadir}/zenity
|
||
|
%{_datadir}/gnome/help/zenity
|
||
|
%{_datadir}/man/man1/zenity.1.gz
|
||
|
%{_datadir}/omf/zenity
|
||
|
|
||
|
|
||
|
%changelog
|
||
|
* Tue Apr 18 2006 Matthias Clasen <mclasen@redhat.com> 2.14.1-4
|
||
|
- More package review feedback
|
||
|
|
||
|
* Mon Apr 17 2006 Matthias Clasen <mclasen@redhat.com> 2.14.1-3
|
||
|
- Incorporate package review feedback
|
||
|
|
||
|
* Tue Apr 11 2006 Matthias Clasen <mclasen@redhat.com> 2.14.1-2
|
||
|
- Initial revision
|