File nautilus-sendto.spec of Package nautilus-sendto

#
# spec file for package nautilus-sendto
#
# 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 http://bugs.opensuse.org/
#


Name:           nautilus-sendto
Version:        3.8.6
Release:        0
Summary:        Integrate Nautilus and E-Mail clients
License:        GPL-2.0-or-later
Group:          Productivity/File utilities
Url:            http://www.es.gnome.org/~telemaco/
Source:         http://download.gnome.org/sources/nautilus-sendto/3.8/%{name}-%{version}.tar.xz
BuildRequires:  appstream-glib-devel
BuildRequires:  intltool >= 0.35.0
BuildRequires:  meson
BuildRequires:  pkgconfig
BuildRequires:  translation-update-upstream
BuildRequires:  pkgconfig(gio-2.0)
BuildRequires:  pkgconfig(glib-2.0) >= 2.25.0
BuildRequires:  pkgconfig(gobject-introspection-1.0) >= 0.6.7
Recommends:     %{name}-lang
Obsoletes:      nautilus-sendto-devel < %{version}
Obsoletes:      nautilus-sendto-plugin-evolution < %{version}
Obsoletes:      nautilus-sendto-plugin-pidgin < %{version}
Obsoletes:      nautilus-sendto-plugin-upnp < %{version}

%description
This package provides the functionality to the Nautilus file browser to
send files over e-mail via Evolution, Thunderbird, Sylpheed or Balsa.

%lang_package

%prep
%setup -q
translation-update-upstream

%build
%meson
%meson_build

%install
%meson_install
%find_lang %{name}

%files
%license COPYING
%doc AUTHORS NEWS
%{_bindir}/nautilus-sendto
%{_mandir}/man1/nautilus-sendto.1%{?ext_man}
%{_datadir}/appdata/nautilus-sendto.metainfo.xml

%files lang -f %{name}.lang

%changelog