File synce-trayicon.spec of Package synce-trayicon
#
# spec file for package synce-trayicon
#
# Copyright (c) 2012 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: synce-trayicon
Version: 0.16
Release: 0
License: MIT
Summary: Gnome trayicon for handling PocketPC/Windows Mobile devices
Url: http://www.synce.org
Group: Hardware/Mobile
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: http://downloads.sourceforge.net/project/synce/SynCE-GNOME/synce-trayicon/%{name}-%{version}.tar.gz
Patch0: synce-trayicon_libnotify07.patch
BuildRequires: gnome-common
BuildRequires: libdynamite-devel
BuildRequires: libgnome-devel
BuildRequires: libgnomeui-devel
BuildRequires: libgtop-devel
BuildRequires: liborange-devel
BuildRequires: librra-devel
BuildRequires: libsynce-devel
BuildRequires: libsynce-devel
BuildRequires: libunshield-devel
BuildRequires: ncurses-utils
BuildRequires: perl-XML-Parser
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(dbus-glib-1)
BuildRequires: pkgconfig(gconf-2.0)
BuildRequires: pkgconfig(gtk+-2.0)
BuildRequires: pkgconfig(libglade-2.0)
BuildRequires: pkgconfig(libnotify)
%gconf_schemas_prereq
Recommends: %{name}-lang = %{version}
Recommends: synce-connector
Recommends: synce-sync-engine
%description
synce-trayicon is a Gnome system tray application for synCE, for
monitoring connected Windows CE based devices.
%lang_package
%prep
%setup -q
%patch0
%build
%configure
make %{?_smp_mflags}
%install
%{?make_install} %{!?make_install:%makeinstall}
%suse_update_desktop_file %{name} Utility PDA GTK
%find_gconf_schemas
%find_lang %{name}
%post
%{?icon_theme_cache_post} %{!?icon_theme_cache_post:gtk-update-icon-cache -f -t %{_datadir}/icons/hicolor}
%{?desktop_database_post}
%pre -f %{name}.schemas_pre
%preun -f %{name}.schemas_preun
%posttrans -f %{name}.schemas_posttrans
%postun
%{?icon_theme_cache_postun} %{!?icon_theme_cache_postun:gtk-update-icon-cache -f -t %{_datadir}/icons/hicolor}
%{?desktop_database_postun}
%clean
rm -rf %{buildroot}
%files -f %{name}.schemas_list
%defattr(-, root, root)
%doc AUTHORS ChangeLog COPYING README
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_libdir}/%{name}
%{_datadir}/icons/hicolor/*/apps/synce-*.png
%{_mandir}/man1/%{name}.1.gz
%dir %{_datadir}/synce
%{_datadir}/synce/synce_trayicon_properties.glade
%{_datadir}/gnome/autostart/synce-trayicon-autostart.desktop
%files lang -f %{name}.lang
%defattr(-, root, root)
%changelog