]> git.pld-linux.org Git - packages/zenity.git/blob - zenity.spec
- updated to 3.44.2
[packages/zenity.git] / zenity.spec
1 #
2 # Conditional build:
3 %bcond_without  libnotify       # desktop notification support
4 %bcond_without  webkit          # WebKitGtk support
5
6 Summary:        The GNOME port of dialog
7 Summary(pl.UTF-8):      Port programu dialog dla GNOME
8 Name:           zenity
9 Version:        3.44.2
10 Release:        1
11 License:        LGPL v2+
12 Group:          X11/Applications
13 Source0:        https://download.gnome.org/sources/zenity/3.44/%{name}-%{version}.tar.xz
14 # Source0-md5:  c7888cde61c97393035fd16b631dbd8e
15 URL:            https://wiki.gnome.org/Projects/Zenity
16 BuildRequires:  gettext-tools >= 0.19.4
17 BuildRequires:  glib2-devel >= 1:2.43.4
18 BuildRequires:  gtk+3-devel >= 3.16.0
19 %{?with_webkit:BuildRequires:   gtk-webkit4.1-devel >= 2.36}
20 %{?with_libnotify:BuildRequires:        libnotify-devel >= 0.6.1}
21 BuildRequires:  meson >= 0.57.0
22 BuildRequires:  ninja >= 1.5
23 BuildRequires:  perl-base
24 BuildRequires:  pkgconfig
25 BuildRequires:  rpmbuild(find_lang) >= 1.23
26 BuildRequires:  rpmbuild(macros) >= 1.736
27 BuildRequires:  tar >= 1:1.22
28 BuildRequires:  xorg-lib-libX11-devel
29 BuildRequires:  xz
30 BuildRequires:  yelp-tools
31 Requires:       glib2 >= 1:2.43.4
32 Requires:       gtk+3 >= 3.16.0
33 %{?with_webkit:Requires:        gtk-webkit4.1 >= 2.36}
34 %{?with_libnotify:Requires:     libnotify >= 0.6.1}
35 Conflicts:      gnome-utils < 2.3.3
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
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
45 ze skryptów powłoki.
46
47 %prep
48 %setup -q
49
50 %build
51 %meson build \
52         %{?with_libnotify:-Dlibnotify=true} \
53         %{?with_webkit:-Dwebkitgtk=true}
54
55 %ninja_build -C build
56
57 %install
58 rm -rf $RPM_BUILD_ROOT
59
60 %ninja_install -C build
61
62 %find_lang %{name} --with-gnome
63
64 %clean
65 rm -rf $RPM_BUILD_ROOT
66
67 %files -f %{name}.lang
68 %defattr(644,root,root,755)
69 %doc AUTHORS NEWS README.md THANKS TODO
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.115798 seconds and 3 git commands to generate.