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 http://bugs.opensuse.org/
#
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
Url: http://www.opensync.org
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: http://downloads.sourceforge.net/project/synce/SynCE/libopensync-plugin-synce-rra/libopensync-plugin-synce-rra-%{version}.tar.gz
BuildRequires: libmimedir-devel
BuildRequires: libopensync-devel < 0.30
BuildRequires: librra-devel >= 0.14
BuildRequires: libsynce-devel >= 0.14
Conflicts: libopensync-plugin-synce
%description
This contains the OpenSync plugin for syncing with pre-Windows Mobile 2005 devices.
%prep
%setup -q -n libopensync-plugin-synce-rra-%{version}
%build
%if 0%{?suse_version} > 1140
export CFLAGS="%{optflags} -Wno-unused-but-set-variable"
%endif
%configure --disable-static --disable-rpath
make %{?_smp_mflags}
%install
%{?make_install} %{!?make_install:%makeinstall}
rm -rf %{buildroot}%{_libdir}/opensync/plugins/*.la
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%{_libdir}/opensync/plugins/synce_plugin.so
%{_datadir}/opensync/defaults/synce-plugin
%changelog