File gnome-screenshot.spec of Package gnome-screenshot

# spec file for package gnome-screenshot
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

Name:           gnome-screenshot
Version:        3.34.0
Release:        0
Summary:        Utility to take pictures of your screen
License:        GPL-2.0-or-later
Group:          System/GUI/GNOME
Source:         %{name}-%{version}.tar.xz
# PATCH-FIX-OPENSUSE gnome-screenshot-onlyshowin.patch -- OnlyShowIn=GNOME: fix brp build check, allowing to use the icon from the gnome theme.
Patch0:         gnome-screenshot-onlyshowin.patch

BuildRequires:  meson >= 0.50.0
BuildRequires:  pkgconfig
BuildRequires:  translation-update-upstream
BuildRequires:  pkgconfig(appstream-glib)
BuildRequires:  pkgconfig(glib-2.0) >= 2.35.1
BuildRequires:  pkgconfig(gtk+-3.0) >= 3.12.0
BuildRequires:  pkgconfig(libcanberra-gtk3)
BuildRequires:  pkgconfig(x11)
BuildRequires:  pkgconfig(xext)
Conflicts:      gnome-utils < 3.3.1

The screenshot tool captures the screen, a window, or an user-defined
area and save the snapshot image to a file.


%autosetup -p1


%find_lang %{name}

%license COPYING
%doc NEWS
%dir %{_datadir}/GConf
%dir %{_datadir}/GConf/gsettings

%files lang -f %{name}.lang

openSUSE Build Service is sponsored by