]> git.pld-linux.org Git - packages/zenity.git/blame - zenity.spec
- updated to 3.44.2
[packages/zenity.git] / zenity.spec
CommitLineData
bb2330bf
JP
1#
2# Conditional build:
83f1b935
JB
3%bcond_without libnotify # desktop notification support
4%bcond_without webkit # WebKitGtk support
bb2330bf 5
42e0135e 6Summary: The GNOME port of dialog
626b3600 7Summary(pl.UTF-8): Port programu dialog dla GNOME
42e0135e 8Name: zenity
69c6a440 9Version: 3.44.2
5ddd1b2a 10Release: 1
ef9cc0d9 11License: LGPL v2+
42e0135e 12Group: X11/Applications
9dd8d085 13Source0: https://download.gnome.org/sources/zenity/3.44/%{name}-%{version}.tar.xz
69c6a440 14# Source0-md5: c7888cde61c97393035fd16b631dbd8e
04fb3905 15URL: https://wiki.gnome.org/Projects/Zenity
349dedbb 16BuildRequires: gettext-tools >= 0.19.4
83f1b935
JB
17BuildRequires: glib2-devel >= 1:2.43.4
18BuildRequires: gtk+3-devel >= 3.16.0
9dd8d085 19%{?with_webkit:BuildRequires: gtk-webkit4.1-devel >= 2.36}
83f1b935 20%{?with_libnotify:BuildRequires: libnotify-devel >= 0.6.1}
9dd8d085 21BuildRequires: meson >= 0.57.0
83f1b935 22BuildRequires: ninja >= 1.5
5b7b9ada 23BuildRequires: perl-base
ef9cc0d9 24BuildRequires: pkgconfig
c24986f8 25BuildRequires: rpmbuild(find_lang) >= 1.23
83f1b935 26BuildRequires: rpmbuild(macros) >= 1.736
fb5a14d0 27BuildRequires: tar >= 1:1.22
83f1b935 28BuildRequires: xorg-lib-libX11-devel
fb5a14d0 29BuildRequires: xz
e35046fb 30BuildRequires: yelp-tools
83f1b935
JB
31Requires: glib2 >= 1:2.43.4
32Requires: gtk+3 >= 3.16.0
9dd8d085 33%{?with_webkit:Requires: gtk-webkit4.1 >= 2.36}
83f1b935 34%{?with_libnotify:Requires: libnotify >= 0.6.1}
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
83f1b935
JB
51%meson build \
52 %{?with_libnotify:-Dlibnotify=true} \
53 %{?with_webkit:-Dwebkitgtk=true}
54
55%ninja_build -C build
42e0135e 56
57%install
58rm -rf $RPM_BUILD_ROOT
59
83f1b935 60%ninja_install -C build
42e0135e 61
8a30ccef 62%find_lang %{name} --with-gnome
42e0135e 63
64%clean
65rm -rf $RPM_BUILD_ROOT
66
771d8e15 67%files -f %{name}.lang
42e0135e 68%defattr(644,root,root,755)
9dd8d085 69%doc AUTHORS NEWS README.md THANKS TODO
2f376cb1
MB
70%attr(755,root,root) %{_bindir}/gdialog
71%attr(755,root,root) %{_bindir}/zenity
72%{_datadir}/zenity
73%{_mandir}/man1/zenity.1*
This page took 0.140363 seconds and 4 git commands to generate.