File nautilus-dropbox.spec of Package nautilus-dropbox
#
# spec file for package
#
# Copyright (c) 2012 Dominique Leuenberger, Amsterdam, The Netherlands.
#
# 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/
#
%global nautilus_extdir %( pkg-config libnautilus-extension --variable extensiondir )
Name: nautilus-dropbox
Version: 1.4.0
Release: 0
License: GPL-3.0+ and CC-BY-ND-3.0
Summary: Dropbox client integrated into Nautilus
Url: https://www.dropbox.com
Group: Productivity/File utilities
Source: https://www.dropbox.com/download?dl=packages/%{name}-%{version}.tar.bz2
BuildRequires: desktop-file-utils
BuildRequires: python-docutils
BuildRequires: python-gtk
BuildRequires: pkgconfig(libnautilus-extension) >= 2.16.0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%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!
%package -n dropbox
Summary: Dropbox client for Linux
Group: Productivity/File utilities
Requires: python-gtk
%description -n 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!
%package -n nautilus-extension-dropbox
Summary: Dropbox client integrated into Nautilus
Group: Productivity/File utilities
Requires: dropbox >= %{version}
Supplements: packageand(nautilus:dropbox)
%description -n nautilus-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 nautilus.
%prep
%setup -q
%build
%configure --disable-static
make %{?_smp_mflags}
%install
%make_install
find %{buildroot}%{_libdir} -type f -name '*.la' -delete -print
%post -n dropbox
%icon_theme_cache_post
%desktop_database_post
%postun -n dropbox
%icon_theme_cache_postun
%desktop_database_postun
%files -n dropbox
%defattr(-,root,root)
%doc ChangeLog README COPYING
%{_bindir}/dropbox
%{_datadir}/applications/dropbox.desktop
%{_datadir}/icons/hicolor/*/apps/dropbox.png
%{_mandir}/man1/dropbox.1%{?ext_man}
%{_datadir}/%{name}/
%files -n nautilus-extension-dropbox
%defattr(-,root,root)
%{nautilus_extdir}/libnautilus-dropbox.so
%changelog