File conduit.spec of Package conduit
#
# spec file for package conduit
#
# Copyright (c) 2011 SUSE LINUX Products 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: conduit
BuildRequires: dbus-1-python
BuildRequires: fdupes
BuildRequires: gnome-doc-utils-devel
BuildRequires: intltool
BuildRequires: pkg-config
BuildRequires: python-goocanvas
BuildRequires: translation-update-upstream
BuildRequires: update-desktop-files
BuildRequires: vobject
Summary: A synchronization application for GNOME
Version: 0.3.17
Release: 8
License: GPLv2
Group: Productivity/Networking/Other
Source0: %{name}-%{version}.tar.bz2
# PATCH-FIX-UPSTREAM bgo#565295 conduit-mozilla-browser.patch mboman@suse.de
Patch1: conduit-mozilla-browser.patch
Url: http://www.conduit-project.org
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: python-goocanvas
Recommends: %{name}-lang
Recommends: avahi
Recommends: python-flickrapi
Recommends: python-gdata
Recommends: vobject
%{py_requires}
%if %suse_version <= 1110
%define python_sitelib %{py_sitedir}
%endif
%description
Conduit is a synchronization application for GNOME. It allows you to
synchronize your data between online web services (Gmail,
backpackit.com, etc) and your computer.
%lang_package
%prep
%setup -q
translation-update-upstream
%patch1 -p0
%build
%configure \
--enable-nautilus-extension \
--enable-eog-plugin \
--enable-totem-plugin \
--disable-scrollkeeper
make %{?_smp_mflags}
%install
%makeinstall
%find_lang %{name} %{?no_lang_C}
%suse_update_desktop_file -N conduit conduit GTK SyncUtility
%fdupes $RPM_BUILD_ROOT
%post
%desktop_database_post
%icon_theme_cache_post
%postun
%desktop_database_postun
%icon_theme_cache_postun
%files
%defattr(-, root, root)
%doc AUTHORS NEWS README TODO
%dir %{_datadir}/gnome/
%dir %{_datadir}/gnome/help/
%dir %{_datadir}/gnome/help/%{name}/
%doc %{_datadir}/gnome/help/%{name}/C/
%dir %{_datadir}/omf/
%dir %{_datadir}/omf/%{name}/
%doc %{_datadir}/omf/%{name}/%{name}-C.omf
%{_bindir}/*
# We just list each module. If the build requirements change and modules
# fail to build we should be able to catch it that way without implicitly
# listing too much here.
%dir %{_libdir}/%{name}
%dir %{_libdir}/%{name}/modules
%{_libdir}/%{name}/modules/AudioVideoConverterModule.*
%{_libdir}/%{name}/modules/DesktopWallpaperModule.*
%{_libdir}/%{name}/modules/GoogleBookmarksModule.*
%{_libdir}/%{name}/modules/NautilusBookmarksModule.*
%{_libdir}/%{name}/modules/BackpackModule
%{_libdir}/%{name}/modules/BansheeModule
%{_libdir}/%{name}/modules/BoxDotNetModule
%{_libdir}/%{name}/modules/ConverterModule.*
%{_libdir}/%{name}/modules/EvolutionModule
%{_libdir}/%{name}/modules/FacebookModule
%{_libdir}/%{name}/modules/FeedModule
%{_libdir}/%{name}/modules/FileModule
%{_libdir}/%{name}/modules/Firefox3Module
%{_libdir}/%{name}/modules/FlickrModule
%{_libdir}/%{name}/modules/FspotModule
%{_libdir}/%{name}/modules/GConfModule
%{_libdir}/%{name}/modules/GoogleModule
%{_libdir}/%{name}/modules/iPodModule
%{_libdir}/%{name}/modules/N800Module
%{_libdir}/%{name}/modules/NetworkModule
%{_libdir}/%{name}/modules/PhotoConverterModule.*
%{_libdir}/%{name}/modules/RhythmboxModule
%{_libdir}/%{name}/modules/ShutterflyModule
%{_libdir}/%{name}/modules/SmugMugModule
%{_libdir}/%{name}/modules/TomboyModule.*
%{_libdir}/%{name}/modules/ZotoModule
%{_libdir}/%{name}/modules/__init__.py*
%{_libdir}/pkgconfig/*.pc
%{python_sitelib}/%{name}
%{_datadir}/applications/*.desktop
%{_datadir}/%{name}
%dir %{_datadir}/omf/%{name}
%{_datadir}/dbus-1/services/org.conduit.service
# For some reason conduit has a 26x26 icon
%dir %{_datadir}/icons/hicolor/26x26
%dir %{_datadir}/icons/hicolor/26x26/apps
%{_datadir}/icons/hicolor/*/actions/*.png
%{_datadir}/icons/hicolor/*/apps/*.png
%{_datadir}/icons/hicolor/*/status/*.png
%{_datadir}/icons/hicolor/*/apps/*.svg
%files lang -f %{name}.lang
%changelog