zenity/zenity.spec
2006-05-10 17:39:50 +00:00

87 lines
1.8 KiB
RPMSpec

Name: zenity
Version: 2.15.1
Release: 1
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
# po/LINGUAS disaster
Source1: po.tar.gz
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
%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
tar xzf %{SOURCE1}
%build
# po/LINGUAS disaster
intltoolize --force
aclocal
automake
autoconf
%configure --disable-scrollkeeper
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
%find_lang zenity
%clean
rm -rf $RPM_BUILD_ROOT
%post
scrollkeeper-update -q
%postun
scrollkeeper-update -q
%files -f zenity.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 May 9 2006 Matthias Clasen <mclasen@redhat.com> 2.15.1-1
- Update to 2.15.1
* 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