File online-desktop.spec of Package online-desktop
#
# spec file for package online-desktop (Version 0.3.0)
#
# Copyright (c) 2008 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/
#
# norootforbuild
Url: http://live.gnome.org/OnlineDesktop
Name: online-desktop
Version: 0.3.0
Release: 1
Source: %{name}-%{version}.tar.bz2
# PATCH-LIST-START
# PATCH-LIST-END
BuildRequires: dbus-1-glib-devel
BuildRequires: fdupes
BuildRequires: gconf2-devel
BuildRequires: intltool
BuildRequires: libgnome-devel
BuildRequires: mozilla-nspr-devel
BuildRequires: mozilla-nss-devel
BuildRequires: pidgin-devel
BuildRequires: python-devel
BuildRequires: update-desktop-files
Requires: pidgin
Recommends: online-desktop-flickr
Recommends: online-desktop-gmail
Recommends: online-desktop-google-docs
Recommends: online-desktop-google-reader
Recommends: online-desktop-google-calendar
Summary: Integration points for web applications
#'
Group: System/GUI/GNOME
License: GPL v2 only
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%gconf_schemas_prereq
%description
This package contains integration points with web apps such as GMail,
Flickr, and others, allowing them to be first-class substitutes for
local desktop applications.
%package flickr
License: GPL v2 only
Summary: The Flickr module of online-desktop
Group: System/GUI/GNOME
Requires: %{name} = %{version}
Requires: libgnome
%description flickr
The online-desktop package contains integration points with web apps.
This package integrates Flickr.
%package gmail
License: GPL v2 only
Summary: The GMail module of online-desktop.
Group: System/GUI/GNOME
Requires: %{name} = %{version}
Requires: libgnome
%description gmail
The online-desktop package contains integration points with web apps.
This package integrates GMail.
%package google-reader
License: GPL v2 only
Summary: The Google Reader module of online-desktop.
Group: System/GUI/GNOME
Requires: %{name} = %{version}
Requires: libgnome
%description google-reader
The online-desktop package contains integration points with web apps.
This package integrates Google Reader.
%package google-docs
License: GPL v2 only
Summary: The Google Docs module of online-desktop.
Group: System/GUI/GNOME
Requires: %{name} = %{version}
Requires: libgnome
%description google-docs
The online-desktop package contains integration points with web apps.
This package integrates Google Docs.
%package google-calendar
License: GPL v2 only
Summary: The Google Calendar module of online-desktop
Group: System/GUI/GNOME
Requires: %{name} = %{version}
Requires: libgnome
%description google-calendar
The online-desktop package contains integration points with web apps.
This package integrates Google Calendar.
%prep
%setup
# PATCH-APPLICATION-START
# PATCH-APPLICATION-END
%build
%configure
make
%install
%makeinstall
find $RPM_BUILD_ROOT -name "*.a" -exec rm -f {} ';'
find $RPM_BUILD_ROOT -name "*.la" -exec rm -f {} ';'
%suse_update_desktop_file -r flickr Graphics Photography
%suse_update_desktop_file -r gmail Network Email
%suse_update_desktop_file -r google-reader Network News
%suse_update_desktop_file -r google-docs Office WordProcessor Spreadsheet
%suse_update_desktop_file -r google-calendar Office Calendar
%find_gconf_schemas
cat %{name}.schemas_list > %{name}.list
%fdupes $RPM_BUILD_ROOT
%pre -f %{name}.schemas_pre
%posttrans -f %{name}.schemas_posttrans
%preun -f %{name}.schemas_preun
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %{name}.list
%defattr(-, root, root)
%doc NEWS README
%{_bindir}/*
%{_datadir}/dbus-1/services/*.service
%{_datadir}/gnome/*.session
%{_datadir}/gnome/autostart/*.desktop
%{_datadir}/online-desktop
%{_datadir}/online-prefs-sync
%{_datadir}/xsessions/*.desktop
%{py_sitedir}/ddm
%{py_sitedir}/*.so
%{py_sitedir}/pyonlinedesktop
%{py_sitedir}/weblogindriver
%dir %_prefix/lib/pidgin
%_prefix/lib/pidgin/*.so
# No picassa or y! mail support yet, so...
%exclude %{_datadir}/icons/hicolor/*/apps/picasa.png
%exclude %{_datadir}/icons/hicolor/*/apps/yahoo-mail.png
%files flickr
%defattr(-, root, root)
%doc README
%{_datadir}/applications/flickr.desktop
%{_datadir}/icons/hicolor/*/apps/flickr.png
%files gmail
%defattr(-, root, root)
%doc README
%{_datadir}/applications/gmail.desktop
%{_datadir}/icons/hicolor/*/apps/gmail.png
%files google-reader
%defattr(-, root, root)
%doc README
%{_datadir}/applications/google-reader.desktop
%{_datadir}/icons/hicolor/*/apps/google-reader.png
%files google-docs
%defattr(-, root, root)
%doc README
%{_datadir}/applications/google-docs.desktop
%{_datadir}/icons/hicolor/*/apps/google-docs.png
%files google-calendar
%defattr(-, root, root)
%doc README
%{_datadir}/applications/google-calendar.desktop
%{_datadir}/icons/hicolor/*/apps/google-calendar.png
%changelog
* Wed Sep 03 2008 maw@suse.de
- Update to version 0.3.0.
* Mon Sep 01 2008 maw@suse.de
- Initial package, version 0.2.29.