File gnome-screenshot.spec of Package gnome-screenshot

# spec file for package gnome-screenshot
# Copyright (c) 2015 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.16.2
Release:        0
Summary:        Utility to take pictures of your screen
License:        GPL-2.0+
Group:          System/GUI/GNOME
# 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:  intltool >= 0.40.0
BuildRequires:  translation-update-upstream
BuildRequires:  update-desktop-files
BuildRequires:  pkgconfig(glib-2.0) >= 2.35.1
BuildRequires:  pkgconfig(gtk+-3.0) >= 3.0.0
BuildRequires:  pkgconfig(libcanberra-gtk3)
BuildRequires:  pkgconfig(x11)
BuildRequires:  pkgconfig(xext)
Recommends:     %{name}-lang
Conflicts:      gnome-utils < 3.3.1
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

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

%setup -q
%patch0 -p1

%configure --disable-static
make %{?_smp_mflags}

%find_lang %{name}
%suse_update_desktop_file org.gnome.Screenshot X-SuSE-DesktopUtility



%dir %{_datadir}/appdata
%dir %{_datadir}/GConf
%dir %{_datadir}/GConf/gsettings

%files lang -f %{name}.lang

openSUSE Build Service is sponsored by