]> git.pld-linux.org Git - packages/zenity.git/blame - zenity.spec
add webkit bcond
[packages/zenity.git] / zenity.spec
CommitLineData
bb2330bf
JP
1#
2# Conditional build:
3%bcond_without webkit # build without webkit
4
42e0135e 5Summary: The GNOME port of dialog
626b3600 6Summary(pl.UTF-8): Port programu dialog dla GNOME
42e0135e 7Name: zenity
04fb3905 8Version: 3.32.0
5ddd1b2a 9Release: 1
ef9cc0d9 10License: LGPL v2+
42e0135e 11Group: X11/Applications
04fb3905
JB
12Source0: http://ftp.gnome.org/pub/GNOME/sources/zenity/3.32/%{name}-%{version}.tar.xz
13# Source0-md5: ba2b2a13248773b4ec0fd323d95e6d5a
14URL: https://wiki.gnome.org/Projects/Zenity
15BuildRequires: autoconf >= 2.69
16BuildRequires: automake >= 1:1.11
349dedbb 17BuildRequires: gettext-tools >= 0.19.4
34b59e1b 18BuildRequires: glib2-devel >= 1:2.14.0
771d8e15 19BuildRequires: gnome-common >= 2.20.0
9c0d56c8 20BuildRequires: gtk+3-devel >= 3.0.0
bb2330bf 21%{?with_webkit:BuildRequires: gtk-webkit4-devel >= 2.8.1}
9c0d56c8 22BuildRequires: libnotify-devel >= 0.6.1
5b7b9ada 23BuildRequires: perl-base
ef9cc0d9 24BuildRequires: pkgconfig
c24986f8 25BuildRequires: rpmbuild(find_lang) >= 1.23
15557de0 26BuildRequires: rpmbuild(macros) >= 1.311
fb5a14d0
ŁK
27BuildRequires: tar >= 1:1.22
28BuildRequires: xz
e35046fb 29BuildRequires: yelp-tools
9c0d56c8 30Requires: gtk+3 >= 3.0.0
bb2330bf 31%{?with_webkit:Requires: gtk-webkit4 >= 2.8.1}
626b3600 32Requires: libnotify >= 0.6.1
771d8e15
MB
33# sr@Latn vs. sr@latin
34Conflicts: glibc-misc < 6:2.7
84dbd559 35Conflicts: gnome-utils < 2.3.3
42e0135e 36BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37
38%description
39zenity is a rewrite of gdialog, the GNOME port of dialog which allows
40you to display dialog boxes from the commandline and shell scripts.
41
08be486c 42%description -l pl.UTF-8
626b3600
JB
43zenity jest kontynuacją programu gdialog, portu programu dialog dla
44GNOME. Umożliwia on wyświetlanie okien dialogowych z linii poleceń i
45ze 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
60rm -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
68rm -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*
This page took 0.096362 seconds and 4 git commands to generate.