/[packages]/cauldron/zenity/current/SPECS/zenity.spec
ViewVC logotype

Contents of /cauldron/zenity/current/SPECS/zenity.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2028857 - (show annotations) (download)
Mon Jan 8 05:43:49 2024 UTC (3 months, 1 week ago) by daviddavid
File size: 1623 byte(s)
- new version 4.0.1

1 %define url_ver %{lua: ver = rpm.expand("%{version}"); majmin, count1 = string.gsub(ver, "^([0123456789]+%.[0123456789]+).*", "%1", 1); if count1 == 0 then print(ver); return; end; maj, count2 = string.gsub(majmin, "^([0123456789]+).*", "%1", 1); if count2 == 0 then print(majmin) elseif tonumber(majmin) < 40 then print(majmin) else print(maj) end}
2
3 Name: zenity
4 Summary: Call GNOME dialog boxes from the command line
5 Version: 4.0.1
6 Release: %mkrel 1
7 License: LGPLv2+
8 Group: Development/GNOME and GTK+
9 URL: https://download.gnome.org/sources/zenity
10 Source0: https://download.gnome.org/sources/%{name}/%{url_ver}/%{name}-%{version}.tar.xz
11 BuildRequires: gnome-common
12 BuildRequires: pkgconfig(glib-2.0)
13 BuildRequires: pkgconfig(libadwaita-1) >= 1.2
14 BuildRequires: pkgconfig(webkitgtk-6.0)
15 BuildRequires: pkgconfig(x11)
16 BuildRequires: help2man
17 BuildRequires: desktop-file-utils
18 BuildRequires: itstool
19 BuildRequires: libxslt-proc
20 BuildRequires: libxml2-utils
21 BuildRequires: meson
22 BuildRequires: yelp-tools
23 BuildRequires: x11-server-xvfb
24 Conflicts: gnome-utils < 2.3.3
25 Provides: xmsg-dialog
26
27 %description
28 Zenity allows you to display dialog boxes from the command-line and shell
29 scripts.
30
31 %prep
32 %autosetup -p1
33
34 %build
35 %meson -Dwebkitgtk=true
36 # Man page generation requires running the in-tree zenity command.
37 %{shrink:xvfb-run -w 10 -d %meson_build}
38
39 %install
40 %meson_install
41
42 %find_lang %{name}-0.1 --with-gnome --all-name
43
44 %files -f %name-0.1.lang
45 %license COPYING
46 %doc AUTHORS NEWS README.md
47 %{_bindir}/*
48 %{_datadir}/applications/org.gnome.Zenity.desktop
49 %{_datadir}/icons/hicolor/48*48/apps/zenity.png
50 %{_mandir}/man1/*

  ViewVC Help
Powered by ViewVC 1.1.30