]> git.pld-linux.org Git - packages/zenity.git/blob - zenity.spec
776344ae023619c17c5652cc621bf28c55bff328
[packages/zenity.git] / zenity.spec
1 #
2 # Conditional build:
3 %bcond_without  webkit          # build without webkit
4
5 Summary:        The GNOME port of dialog
6 Summary(pl.UTF-8):      Port programu dialog dla GNOME
7 Name:           zenity
8 Version:        3.32.0
9 Release:        1
10 License:        LGPL v2+
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
28 BuildRequires:  xz
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)
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 %{__aclocal}
52 %{__autoconf}
53 %{__automake}
54 %configure \
55         --disable-silent-rules \
56         %{__enable_disable webkit webkitgtk}
57 %{__make}
58
59 %install
60 rm -rf $RPM_BUILD_ROOT
61
62 %{__make} install \
63         DESTDIR=$RPM_BUILD_ROOT
64
65 %find_lang %{name} --with-gnome
66
67 %clean
68 rm -rf $RPM_BUILD_ROOT
69
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
75 %{_datadir}/zenity
76 %{_mandir}/man1/zenity.1*
This page took 0.470076 seconds and 2 git commands to generate.