[521] | 1 | %define po_package zenity |
---|
| 2 | |
---|
| 3 | Summary: Zenity - GNOME port of dialog |
---|
| 4 | Summary(ja): Zenity - dialog の GNOME 版 |
---|
| 5 | Name: zenity |
---|
| 6 | Version: 2.28.0 |
---|
| 7 | Release: 1%{?_dist_release} |
---|
| 8 | License: LGPL |
---|
| 9 | Group: User Interface/Desktops |
---|
| 10 | Source0: %{name}-%{version}.tar.bz2 |
---|
| 11 | Patch10: %{name}-2.14.2-i18n-help.patch |
---|
| 12 | Patch20: %{name}-2.26.0-grab-focus.patch |
---|
| 13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 14 | |
---|
| 15 | BuildRequires: gtk2-devel >= 2.15.1 |
---|
| 16 | BuildRequires: libnotify-devel >= 0.4.1 |
---|
| 17 | BuildRequires: intltool |
---|
| 18 | Requires(post): scrollkeeper |
---|
| 19 | Requires(postun): scrollkeeper |
---|
| 20 | |
---|
| 21 | %description |
---|
| 22 | This is zenity - a rewrite of gdialog, the GNOME port of dialog |
---|
| 23 | which allows you to display dialog boxes from the commandline |
---|
| 24 | and shell scripts. If you understand, things are just as they |
---|
| 25 | are. If you don't understand, things are just as they are. |
---|
| 26 | |
---|
| 27 | |
---|
| 28 | %prep |
---|
| 29 | %setup -q |
---|
| 30 | %patch10 -p1 -b .i18n-help |
---|
| 31 | #patch20 -p1 -b .grab-focus |
---|
| 32 | |
---|
| 33 | %build |
---|
| 34 | %configure --disable-scrollkeeper |
---|
| 35 | %__make |
---|
| 36 | |
---|
| 37 | %install |
---|
| 38 | rm -rf $RPM_BUILD_ROOT |
---|
| 39 | |
---|
| 40 | export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
---|
| 41 | %makeinstall |
---|
| 42 | unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
---|
| 43 | |
---|
| 44 | %find_lang %{po_package} --with-gnome |
---|
| 45 | |
---|
| 46 | rm -rf $RPM_BUILD_ROOT%{_localstatedir}/scrollkeeper |
---|
| 47 | |
---|
| 48 | %clean |
---|
| 49 | rm -rf $RPM_BUILD_ROOT |
---|
| 50 | |
---|
| 51 | %post |
---|
| 52 | scrollkeeper-update >& /dev/null ||: |
---|
| 53 | |
---|
| 54 | %postun |
---|
| 55 | scrollkeeper-update >& /dev/null ||: |
---|
| 56 | |
---|
| 57 | |
---|
| 58 | %files -f %{po_package}.lang |
---|
| 59 | %defattr(-,root,root,-) |
---|
| 60 | %{_bindir}/* |
---|
| 61 | %dir %{_datadir}/%{name} |
---|
| 62 | %{_datadir}/%{name}/* |
---|
| 63 | %{_mandir}/man?/* |
---|
| 64 | |
---|
| 65 | %changelog |
---|
| 66 | * Sun Nov 1 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28.0-1 |
---|
| 67 | - new upstream release |
---|
| 68 | - dropped Patch20 |
---|
| 69 | |
---|
| 70 | * Sun Mar 22 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1 |
---|
| 71 | - new upstream release |
---|
| 72 | |
---|
| 73 | * Sat Oct 12 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-2 |
---|
| 74 | - add Patch20 to make zenity grab the window focus on startup. |
---|
| 75 | |
---|
| 76 | * Sat Sep 27 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-1 |
---|
| 77 | - new upstream release |
---|
| 78 | |
---|
| 79 | * Fri Jun 30 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.2-0vl2 |
---|
| 80 | - add Patch10 to fix corruption of help option message. |
---|
| 81 | |
---|
| 82 | * Sun Jun 04 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.2-0vl1 |
---|
| 83 | - new upstream release |
---|
| 84 | |
---|
| 85 | * Wed May 03 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.1-0vl1 |
---|
| 86 | - new upstream release |
---|
| 87 | |
---|
| 88 | * Mon Sep 19 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.0-0vl1 |
---|
| 89 | - new upstream release |
---|
| 90 | |
---|
| 91 | * Tue Jul 26 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.1-0vl1 |
---|
| 92 | - initial build for Vine Linux |
---|
| 93 | |
---|