1 |
Name: zenity |
2 |
Summary: Call GNOME dialog boxes from the command line |
3 |
Version: 2.32.1 |
4 |
Release: %mkrel 1 |
5 |
Source0: ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/%{name}-%{version}.tar.bz2 |
6 |
URL: ftp://ftp.gnome.org/pub/GNOME/sources/%{name} |
7 |
License: LGPLv2+ |
8 |
Group: Development/GNOME and GTK+ |
9 |
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot |
10 |
BuildRequires: libnotify-devel |
11 |
BuildRequires: scrollkeeper |
12 |
BuildRequires: gtk+2-devel |
13 |
BuildRequires: intltool |
14 |
BuildRequires: gnome-doc-utils >= 0.3.2 |
15 |
BuildRequires: libxslt-proc |
16 |
Requires(post): scrollkeeper >= 0.3 |
17 |
Requires(postun): scrollkeeper >= 0.3 |
18 |
Conflicts: gnome-utils < 2.3.3 |
19 |
Provides: xmsg-dialog |
20 |
|
21 |
%description |
22 |
Zenity allows you to display dialog boxes from the commandline and shell |
23 |
scripts. |
24 |
|
25 |
%prep |
26 |
%setup -q |
27 |
|
28 |
%build |
29 |
%configure2_5x --disable-scrollkeeper |
30 |
%make |
31 |
|
32 |
%install |
33 |
rm -rf $RPM_BUILD_ROOT %name-0.1.lang |
34 |
|
35 |
%makeinstall_std |
36 |
|
37 |
|
38 |
%find_lang %name-0.1 --with-gnome --all-name |
39 |
for omf in %buildroot%_datadir/omf/%name/%name-??*.omf;do |
40 |
echo "%lang($(basename $omf|sed -e s/%name-// -e s/.omf//)) $(echo $omf|sed -e s!%buildroot!!)" >> %name-0.1.lang |
41 |
done |
42 |
|
43 |
%clean |
44 |
rm -rf $RPM_BUILD_ROOT |
45 |
|
46 |
%post |
47 |
%update_scrollkeeper |
48 |
|
49 |
%postun |
50 |
%clean_scrollkeeper |
51 |
|
52 |
%files -f %name-0.1.lang |
53 |
%defattr(-,root,root) |
54 |
%doc AUTHORS COPYING HACKING NEWS README THANKS TODO |
55 |
%{_bindir}/* |
56 |
%{_datadir}/%{name} |
57 |
%dir %{_datadir}/omf/%{name} |
58 |
%{_datadir}/omf/%{name}/%name-C.omf |
59 |
%{_mandir}/man1/* |
60 |
|
61 |
|