File mate-user-share.spec of Package mate-user-share

# spec file for package mate-user-share
# Copyright (c) 2018 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

%define _version 1.20
Name:           mate-user-share
Version:        1.20.0
Release:        0
Summary:        MATE Desktop file sharing for the masses
License:        GPL-2.0-or-later
Group:          System/GUI/Other
# PATCH-FEATURE-OPENSUSE mate-user-share-gtk-3.20.patch -- Restore GLib 2.48 and GTK+ 3.20 support.
Patch0:         mate-user-share-gtk-3.20.patch
BuildRequires:  gnome-doc-utils
BuildRequires:  hicolor-icon-theme
BuildRequires:  mate-common >= %{_version}
BuildRequires:  pkgconfig
BuildRequires:  update-desktop-files
BuildRequires:  yelp-tools
BuildRequires:  pkgconfig(dbus-glib-1)
BuildRequires:  pkgconfig(glib-2.0) >= 2.48
BuildRequires:  pkgconfig(gtk+-3.0) >= 3.20
BuildRequires:  pkgconfig(libcaja-extension) >= %{_version}
BuildRequires:  pkgconfig(libcanberra-gtk3)
BuildRequires:  pkgconfig(libnotify)
Recommends:     %{name}-lang

mate-user-share is a small package that binds together various
free software projects to bring easy to use user-level file sharing
to the masses.


%setup -q
%patch0 -p1

NOCONFIGURE=1 mate-autogen
%configure \
make %{?_smp_mflags} V=1

find %{buildroot} -type f -name "*.la" -delete -print
%find_lang %{name}
%suse_update_desktop_file %{name}-properties

%if 0%{?suse_version} < 1500


%if 0%{?suse_version} >= 1500
%license COPYING
%config %{_sysconfdir}/xdg/autostart/mate-user-share-*.desktop

%files lang -f %{name}.lang

openSUSE Build Service is sponsored by