Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37046749
en ru br
ALT Linux repos
S:12.3-alt1

Group :: Graphical desktop/GNOME
RPM: yad

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: yad
Version: 12.0
Release: alt1
Summary: Display graphical dialogs from shell scripts or command line

Group: Graphical desktop/GNOME
License: GPLv3+
# http://sourceforge.net/projects/yad-dialog/
Url: https://github.com/v1cont/yad
Source0: v%version.tar.gz
Source1: ru.po
Patch0: fix-missing-buttons.patch
Patch1: show-cursor-initially.patch

BuildRequires: desktop-file-utils
# Automatically added by buildreq on Fri Oct 10 2014
# optimized out: at-spi2-atk fontconfig glib2-devel libX11-devel libat-spi2-core libatk-devel libcairo-devel libcairo-gobject libcairo-gobject-devel libcloog-isl4 libgdk-pixbuf libgdk-pixbuf-devel libgio-devel libpango-devel libwayland-client libwayland-cursor libwayland-server perl-Encode perl-XML-Parser pkg-config xorg-xproto-devel xz
BuildRequires: intltool libgtk+3-devel

%description
Yad (yet another dialog) is a fork of zenity with many improvements, such as
custom buttons, additional dialogs, pop-up menu in notification icon and more.

%prep
%setup
#patch0 -p0
%patch1 -p1
cp %SOURCE1 po/ && echo ru >> po/LINGUAS

%build
%autoreconf
%configure \
   --with-gtk=gtk3 \
   --with-rgb=/usr/share/X11/rgb.txt \
   --enable-icon-browser \
   #

%make_build

%install
%makeinstall_std

%find_lang %name

desktop-file-install --remove-key Encoding     \
   --remove-category Development              \
   --add-category    Utility                  \
   --dir=%buildroot%_desktopdir \
   %buildroot%_desktopdir/%name-icon-browser.desktop

%files -f %name.lang
%doc AUTHORS COPYING NEWS THANKS TODO
%_bindir/*
%_iconsdir/hicolor/*/apps/*
%exclude %_datadir/aclocal/%name.m4
%_man1dir/*
%_desktopdir/*
%_datadir/glib-2.0/schemas/yad.gschema.xml

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin