File libopensync-plugin-irmc.spec of Package libopensync-plugin-irmc

#
# spec file for package libopensync-plugin-irmc (Version 0.22)
#
# Copyright (c) 2008 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-irmc
BuildRequires:  bluez-devel libopensync-devel openobex-devel
Url:            http://www.opensync.org
Version:        0.22
Release:        155
Summary:        IrMC Synchronization Plug-In for OpenSync
License:        GPL v2 or later
Group:          Productivity/Other
AutoReqProv:    on
Source:         %{name}-%{version}.tar.bz2
Patch0:         libopensync-plugin-irmc-openobex-cvs.diff
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%define prefix   /usr

%description
This plug-in allows applications using OpenSync to synchronize to and
from cell phones with IrMC support (such as Sony Ericsson K750i,
Siemens S55).

Additionally install the libopensync package.



Authors:
--------
    Bo Lincoln <lincoln@lysator.liu.se>
    and others

%prep
%setup -q
%patch0

%build
autoreconf -sfi
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%_prefix --libdir=%_libdir --localstatedir=%_localstatedir
make

%install
make DESTDIR=$RPM_BUILD_ROOT install
# only needed for development, and currently there's no package needing it.
rm $RPM_BUILD_ROOT/%{_libdir}/opensync/plugins/irmc_sync.la

%clean
rm -rf $RPM_BUILD_ROOT

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-, root, root)
%{_libdir}/opensync/plugins/irmc_sync.so
%{_datadir}/opensync/defaults/irmc-sync
%doc AUTHORS COPYING INSTALL ChangeLog NEWS README

%changelog
* Mon Sep 15 2008 dmueller@suse.de
- adjust buildrequires
* Mon May 07 2007 cstender@suse.de
- added libopensync-plugin-irmc-openobex-cvs.diff
* Thu Mar 29 2007 cstender@suse.de
- updated to version 0.22
  o removed bluetooth scan function
  o fixed storing of anchor tables
  o added configure options for disabling irda and bluetooth
  o fixed filtering of object types
* Mon Nov 06 2006 cstender@suse.de
- updated to version 0.20
  o don't ignore obex errors anymore
  o handle softdeletes
  o fixed a bug with irmc_obex_get()
* Fri Sep 29 2006 cstender@suse.de
- updated to version 0.19
  o added workaround for newer sony ericsson phones
  o added README file
  o added support for filter-objtype
  o added tests for openobex/obex.h presence and usability
* Mon Aug 28 2006 cstender@suse.de
- updated to version 0.18+svn1233
  o fixed encoding problems
  o code cleanup
  o added support for new sensitive osync debug
* Thu Jul 06 2006 dgollub@suse.de
- updated to version 0.18_SVN1095:
  o added osync_anchor support
  o changed event object format from vevent10 to vevent20
  o added note support
  o improved encoding support
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Dec 12 2005 dgollub@suse.de
- updated to version 0.18_SVN770
* Wed Nov 23 2005 behlert@suse.de
- added -fno-strict-aliasing
* Tue Nov 15 2005 ro@suse.de
- require exact version of libopensync
* Fri Nov 11 2005 dgollub@suse.de
- updated to version 0.18
* Fri Oct 21 2005 behlert@suse.de
- updated to svn20051021
* Thu Oct 06 2005 behlert@suse.de
- initial version (0.17+svn20051005)
- added patch to fix headerfiles
openSUSE Build Service is sponsored by