File caja-dropbox.spec of Package caja-dropbox
#
# spec file for package caja-dropbox
#
# Copyright (c) 2016 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/
#
%define _version 1.16
Name: caja-dropbox
Version: 1.16.0
Release: 0
Summary: Dropbox client integrated into Caja
License: GPL-3.0+
Group: System/GUI/Other
Url: http://mate-desktop.org/
Source: http://pub.mate-desktop.org/releases/%{_version}/%{name}-%{version}.tar.xz
# PATCH-FIX-OPENSUSE caja-dropbox_no-dropbox-bin.patch sor.alexei@meowr.ru -- Strip dropbox binary installation.
Patch0: caja-dropbox_no-dropbox-bin.patch
BuildRequires: hicolor-icon-theme
BuildRequires: mate-common >= %{_version}
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(libcaja-extension) >= %{_version}
%description
Dropbox is a free service that lets you bring your photos, docs, and videos
anywhere and share them easily. Never email yourself a file again!
This package integrates dropbox seamless into caja.
%package -n caja-extension-dropbox
Summary: Dropbox client integrated into Caja
Group: System/GUI/Other
Requires: caja >= %{_version}
Requires: dropbox
# caja-dropbox was last used in openSUSE Leap 42.1.
Provides: caja-dropbox = %{version}
Obsoletes: caja-dropbox < %{version}
%description -n caja-extension-dropbox
Dropbox is a free service that lets you bring your photos, docs, and videos
anywhere and share them easily. Never email yourself a file again!
This package integrates dropbox seamless into caja.
%prep
%setup -q
%patch0 -p1
%build
NOCONFIGURE=1 mate-autogen
%configure \
--disable-static
make %{?_smp_mflags}
%install
%make_install
%suse_update_desktop_file -r caja-dropbox Network FileTransfer
%post -n caja-extension-dropbox
%desktop_database_post
%icon_theme_cache_post
%postun -n caja-extension-dropbox
%desktop_database_postun
%icon_theme_cache_postun
%files -n caja-extension-dropbox
%defattr(-,root,root)
%doc AUTHORS COPYING NEWS README
%{_libdir}/caja/extensions-2.0/libcaja-dropbox.*
%changelog