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.30.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 | BuildRequires: gnome-doc-utils >= 0.3.2 |
---|
19 | BuildRequires: docbook-utils |
---|
20 | Requires(post): scrollkeeper |
---|
21 | Requires(postun): scrollkeeper |
---|
22 | |
---|
23 | %description |
---|
24 | This is zenity - a rewrite of gdialog, the GNOME port of dialog |
---|
25 | which allows you to display dialog boxes from the commandline |
---|
26 | and shell scripts. If you understand, things are just as they |
---|
27 | are. If you don't understand, things are just as they are. |
---|
28 | |
---|
29 | |
---|
30 | %prep |
---|
31 | %setup -q |
---|
32 | %patch10 -p1 -b .i18n-help |
---|
33 | #patch20 -p1 -b .grab-focus |
---|
34 | |
---|
35 | %build |
---|
36 | %configure --disable-scrollkeeper |
---|
37 | %__make |
---|
38 | |
---|
39 | %install |
---|
40 | rm -rf $RPM_BUILD_ROOT |
---|
41 | |
---|
42 | export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
---|
43 | %makeinstall |
---|
44 | unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
---|
45 | |
---|
46 | %find_lang %{po_package} --with-gnome |
---|
47 | |
---|
48 | rm -rf $RPM_BUILD_ROOT%{_localstatedir}/scrollkeeper |
---|
49 | |
---|
50 | %clean |
---|
51 | rm -rf $RPM_BUILD_ROOT |
---|
52 | |
---|
53 | %post |
---|
54 | scrollkeeper-update >& /dev/null ||: |
---|
55 | |
---|
56 | %postun |
---|
57 | scrollkeeper-update >& /dev/null ||: |
---|
58 | |
---|
59 | |
---|
60 | %files -f %{po_package}.lang |
---|
61 | %defattr(-,root,root,-) |
---|
62 | %{_bindir}/* |
---|
63 | %dir %{_datadir}/%{name} |
---|
64 | %{_datadir}/%{name}/* |
---|
65 | %{_mandir}/man?/* |
---|
66 | |
---|
67 | %changelog |
---|
68 | * Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1 |
---|
69 | - new upstream release |
---|
70 | - add BuildRequires gnome-doc-utils, docbook-utils |
---|
71 | |
---|
72 | * Sun Nov 1 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28.0-1 |
---|
73 | - new upstream release |
---|
74 | - dropped Patch20 |
---|
75 | |
---|
76 | * Sun Mar 22 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1 |
---|
77 | - new upstream release |
---|
78 | |
---|
79 | * Sat Oct 12 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-2 |
---|
80 | - add Patch20 to make zenity grab the window focus on startup. |
---|
81 | |
---|
82 | * Sat Sep 27 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-1 |
---|
83 | - new upstream release |
---|
84 | |
---|
85 | * Fri Jun 30 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.2-0vl2 |
---|
86 | - add Patch10 to fix corruption of help option message. |
---|
87 | |
---|
88 | * Sun Jun 04 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.2-0vl1 |
---|
89 | - new upstream release |
---|
90 | |
---|
91 | * Wed May 03 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.1-0vl1 |
---|
92 | - new upstream release |
---|
93 | |
---|
94 | * Mon Sep 19 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.0-0vl1 |
---|
95 | - new upstream release |
---|
96 | |
---|
97 | * Tue Jul 26 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.1-0vl1 |
---|
98 | - initial build for Vine Linux |
---|
99 | |
---|