3 %bcond_without webkit # build without webkit
5 Summary: The GNOME port of dialog
6 Summary(pl.UTF-8): Port programu dialog dla GNOME
11 Group: X11/Applications
12 Source0: http://ftp.gnome.org/pub/GNOME/sources/zenity/3.32/%{name}-%{version}.tar.xz
13 # Source0-md5: ba2b2a13248773b4ec0fd323d95e6d5a
14 URL: https://wiki.gnome.org/Projects/Zenity
15 BuildRequires: autoconf >= 2.69
16 BuildRequires: automake >= 1:1.11
17 BuildRequires: gettext-tools >= 0.19.4
18 BuildRequires: glib2-devel >= 1:2.14.0
19 BuildRequires: gnome-common >= 2.20.0
20 BuildRequires: gtk+3-devel >= 3.0.0
21 %{?with_webkit:BuildRequires: gtk-webkit4-devel >= 2.8.1}
22 BuildRequires: libnotify-devel >= 0.6.1
23 BuildRequires: perl-base
24 BuildRequires: pkgconfig
25 BuildRequires: rpmbuild(find_lang) >= 1.23
26 BuildRequires: rpmbuild(macros) >= 1.527
27 BuildRequires: tar >= 1:1.22
29 BuildRequires: yelp-tools
30 Requires: gtk+3 >= 3.0.0
31 %{?with_webkit:Requires: gtk-webkit4 >= 2.8.1}
32 Requires: libnotify >= 0.6.1
33 # sr@Latn vs. sr@latin
34 Conflicts: glibc-misc < 6:2.7
35 Conflicts: gnome-utils < 2.3.3
36 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
39 zenity is a rewrite of gdialog, the GNOME port of dialog which allows
40 you to display dialog boxes from the commandline and shell scripts.
42 %description -l pl.UTF-8
43 zenity jest kontynuacją programu gdialog, portu programu dialog dla
44 GNOME. Umożliwia on wyświetlanie okien dialogowych z linii poleceń i
55 --disable-silent-rules \
56 %{__enable_disable webkit webkitgtk}
60 rm -rf $RPM_BUILD_ROOT
63 DESTDIR=$RPM_BUILD_ROOT
65 %find_lang %{name} --with-gnome
68 rm -rf $RPM_BUILD_ROOT
70 %files -f %{name}.lang
71 %defattr(644,root,root,755)
72 %doc AUTHORS NEWS README THANKS TODO
73 %attr(755,root,root) %{_bindir}/gdialog
74 %attr(755,root,root) %{_bindir}/zenity
76 %{_mandir}/man1/zenity.1*