File multisync-gui.spec of Package multisync-gui
#
# spec file for package multisync-gui
#
# 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: multisync-gui
BuildRequires: gtk2-devel
BuildRequires: libglade2-devel
BuildRequires: libgnomeui-devel
BuildRequires: libopensync-devel
BuildRequires: libopensync-plugin-evolution2-devel
BuildRequires: libopensync-plugin-palm-devel
Url: http://www.opensync.org
Version: 0.91.0
Release: 0
Summary: GUI for synchronization with OpenSync
License: GPL-2.0+
Group: Productivity/Other
Source: multisync-gui-%{version}.tar.bz2
Patch0: multisync-gui.desktop.diff
Patch1: multisync-gui-gthread.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: libopensync >= 0.22
%define prefix /usr
%description
Graphical version of MultiSync for the libopensync package. To allow
synchronization on machines which use a X server. It relies on the
OpenSync framework to do the actual synchronization. You need to
install the libopensync package and the plugins for it, too. This
package is independent from the various multisync-* packages which will
be obsoleted once OpenSync has left the beta phase.
Authors:
--------
Armin Bauer <armin.bauer@desscon.com>
%prep
%setup -q
%patch0
%patch1 -p1
%build
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%_prefix
make
%install
make DESTDIR=$RPM_BUILD_ROOT install
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-, root, root)
%{_bindir}/*
%dir %{_datadir}/pixmaps/multisync-gui
%{_datadir}/pixmaps/multisync-gui/multisync.png
%dir %{_datadir}/multisync-gui
%{_datadir}/multisync-gui/multisync-gui.glade
%{_datadir}/applications/multisync-gui.desktop
%doc COPYING
%changelog