]>
Commit | Line | Data |
---|---|---|
bb2330bf JP |
1 | # |
2 | # Conditional build: | |
3 | %bcond_without webkit # build without webkit | |
4 | ||
42e0135e | 5 | Summary: The GNOME port of dialog |
626b3600 | 6 | Summary(pl.UTF-8): Port programu dialog dla GNOME |
42e0135e | 7 | Name: zenity |
04fb3905 | 8 | Version: 3.32.0 |
5ddd1b2a | 9 | Release: 1 |
ef9cc0d9 | 10 | License: LGPL v2+ |
42e0135e | 11 | Group: X11/Applications |
04fb3905 JB |
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 | |
349dedbb | 17 | BuildRequires: gettext-tools >= 0.19.4 |
34b59e1b | 18 | BuildRequires: glib2-devel >= 1:2.14.0 |
771d8e15 | 19 | BuildRequires: gnome-common >= 2.20.0 |
9c0d56c8 | 20 | BuildRequires: gtk+3-devel >= 3.0.0 |
bb2330bf | 21 | %{?with_webkit:BuildRequires: gtk-webkit4-devel >= 2.8.1} |
9c0d56c8 | 22 | BuildRequires: libnotify-devel >= 0.6.1 |
5b7b9ada | 23 | BuildRequires: perl-base |
ef9cc0d9 | 24 | BuildRequires: pkgconfig |
c24986f8 | 25 | BuildRequires: rpmbuild(find_lang) >= 1.23 |
15557de0 | 26 | BuildRequires: rpmbuild(macros) >= 1.311 |
fb5a14d0 ŁK |
27 | BuildRequires: tar >= 1:1.22 |
28 | BuildRequires: xz | |
e35046fb | 29 | BuildRequires: yelp-tools |
9c0d56c8 | 30 | Requires: gtk+3 >= 3.0.0 |
bb2330bf | 31 | %{?with_webkit:Requires: gtk-webkit4 >= 2.8.1} |
626b3600 | 32 | Requires: libnotify >= 0.6.1 |
771d8e15 MB |
33 | # sr@Latn vs. sr@latin |
34 | Conflicts: glibc-misc < 6:2.7 | |
84dbd559 | 35 | Conflicts: gnome-utils < 2.3.3 |
42e0135e | 36 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
37 | ||
38 | %description | |
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. | |
41 | ||
08be486c | 42 | %description -l pl.UTF-8 |
626b3600 JB |
43 | zenity jest kontynuacją programu gdialog, portu programu dialog dla |
44 | GNOME. Umożliwia on wyświetlanie okien dialogowych z linii poleceń i | |
45 | ze skryptów powłoki. | |
42e0135e | 46 | |
47 | %prep | |
48 | %setup -q | |
49 | ||
50 | %build | |
5b7b9ada | 51 | %{__aclocal} |
52 | %{__autoconf} | |
53 | %{__automake} | |
2f376cb1 | 54 | %configure \ |
bb2330bf JP |
55 | --disable-silent-rules \ |
56 | %{__enable_disable webkit webkitgtk} | |
42e0135e | 57 | %{__make} |
58 | ||
59 | %install | |
60 | rm -rf $RPM_BUILD_ROOT | |
61 | ||
62 | %{__make} install \ | |
63 | DESTDIR=$RPM_BUILD_ROOT | |
64 | ||
8a30ccef | 65 | %find_lang %{name} --with-gnome |
42e0135e | 66 | |
67 | %clean | |
68 | rm -rf $RPM_BUILD_ROOT | |
69 | ||
771d8e15 | 70 | %files -f %{name}.lang |
42e0135e | 71 | %defattr(644,root,root,755) |
72 | %doc AUTHORS NEWS README THANKS TODO | |
2f376cb1 MB |
73 | %attr(755,root,root) %{_bindir}/gdialog |
74 | %attr(755,root,root) %{_bindir}/zenity | |
75 | %{_datadir}/zenity | |
76 | %{_mandir}/man1/zenity.1* |