File libopensync-plugin-synce-legacy.spec of Package libopensync-plugin-synce-legacy

# spec file for package libopensync-plugin-synce-legacy
# 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

Name:           libopensync-plugin-synce-legacy
Version:        0.22.2
Release:        0
Summary:        Opensync plugin to sync with WM2003 devices
License:        GPL-2.0
Group:          Hardware/Mobile
BuildRoot:      %{_tmppath}/%{name}-%{version}-build


BuildRequires:  libmimedir-devel
BuildRequires:  libopensync-devel < 0.30
BuildRequires:  librra-devel >= 0.14
BuildRequires:  libsynce-devel >= 0.14
Conflicts:      libopensync-plugin-synce

This contains the OpenSync plugin for syncing with pre-Windows Mobile 2005 devices.

%setup -q -n libopensync-plugin-synce-rra-%{version}

%if 0%{?suse_version} > 1140
export CFLAGS="%{optflags} -Wno-unused-but-set-variable"
%configure --disable-static --disable-rpath
make %{?_smp_mflags}

%{?make_install} %{!?make_install:%makeinstall}
rm -rf %{buildroot}%{_libdir}/opensync/plugins/*.la

rm -rf %{buildroot}


openSUSE Build Service is sponsored by