File libopensync-plugin-palm.spec of Package libopensync-plugin-palm
#
# spec file for package libopensync-plugin-palm
#
# Copyright (c) 2011 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
Name: libopensync-plugin-palm
BuildRequires: libopensync-devel libtool pilot-link-devel
Url: http://www.opensync.org
Version: 0.22
Release: 1
Summary: Palm Synchronization Plug-In for OpenSync
License: LGPL-2.1+
Group: Productivity/Other
Source: %{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: pilot-link
%define prefix /usr
%description
This plug-in allows applications using OpenSync to synchronize to and
from Palm devices.
Additionally install the libopensync package.
Authors:
--------
Armin Bauer <armin.bauer@opensync.org>
%package devel
License: LGPL-2.1+
Summary: Header files and libraries for libopensync-plugin-palm
Group: Productivity/Other
Requires: %{name} = %{version} libopensync-devel pilot-link-devel
%description devel
This package contains the header files, static libraries and
development documentation for libopensync-plugin-palm. If you like to
develop programs using libopensync-plugin-palm, you will need to
install libopensync-plugin-palm-devel.
Authors:
--------
Armin Bauer <armin.bauer@opensync.org>
%prep
%setup -q
%build
autoreconf -sfi
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%_prefix --libdir=%_libdir --localstatedir=%_localstatedir
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)
%doc AUTHORS COPYING INSTALL ChangeLog NEWS README
%{_libdir}/opensync/plugins/*.so
%{_libdir}/opensync/formats/*.so
%{_datadir}/opensync/defaults/palm-sync
%files devel
%defattr(-, root, root)
%doc AUTHORS COPYING INSTALL ChangeLog NEWS README
%{_includedir}/opensync-1.0/opensync/*.h
%{_libdir}/opensync/plugins/*.la
%{_libdir}/opensync/formats/*.la
%changelog