File openobex.spec of Package openobex
#
# spec file for package openobex (Version 1.3)
#
# 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: openobex
BuildRequires: bluez-devel glib2-devel libusb-devel pkg-config
License: GPL v2 or later; LGPL v2.1 or later
Group: Development/Libraries/Other
Version: 1.3
Release: 157
Summary: Open Source Implementation of the Object Exchange (OBEX) Protocol
Url: http://openobex.sourceforge.net/
Source: %{name}-%{version}.tar.bz2
Patch: openobex-svn.patch
Patch1: openobex-libusb-check.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
OBEX is a session protocol and can best be described as a binary HTTP
protocol. OBEX is optimized for ad-hoc wireless links and can be used
to exchange all kind of objects, like files, pictures, calendar entries
(vCal), and business cards (vCard).
Authors:
--------
Dag Brattli <dagb@cs.uit.no>
Pontus Fuchs <pontus.fuchs@tactel.se>
Fons Botman <budely@tref.nl>
Andy Choi <kc49@cornell.edu>
Jean Tourrilhes <jt@hpl.hp.com>
Marcel Holtmann <marcel@holtmann.org>
Dmitry Kasatkin <dmitry.kasatkin@nokia.com>
%package apps
License: GPL v2 or later; LGPL v2.1 or later
Summary: Open Source Implementation of the Object Exchange (OBEX) Protocol
Group: Productivity/Networking/Web/Utilities
%description apps
applications using obex libs.
Authors:
--------
Dag Brattli <dagb@cs.uit.no>
Pontus Fuchs <pontus.fuchs@tactel.se>
Fons Botman <budely@tref.nl>
Andy Choi <kc49@cornell.edu>
Jean Tourrilhes <jt@hpl.hp.com>
Marcel Holtmann <marcel@holtmann.org>
Dmitry Kasatkin <dmitry.kasatkin@nokia.com>
%package devel
License: GPL v2 or later
Summary: Development package for openobex
Group: Development/Libraries/Other
Requires: %{name} = %{version} bluez-devel libusb-devel
%description devel
Files needed for software development using openobex.
Authors:
--------
Dag Brattli <dagb@cs.uit.no>
Pontus Fuchs <pontus.fuchs@tactel.se>
Fons Botman <budely@tref.nl>
Andy Choi <kc49@cornell.edu>
Jean Tourrilhes <jt@hpl.hp.com>
Marcel Holtmann <marcel@holtmann.org>
Dmitry Kasatkin <dmitry.kasatkin@nokia.com>
%package glib
License: GPL v2 or later
Summary: Open Source Implementation of the Object Exchange (OBEX) Protocol
Group: Development/Libraries/Other
%description glib
GLib bindings for obex libs.
Authors:
--------
Dag Brattli <dagb@cs.uit.no>
Pontus Fuchs <pontus.fuchs@tactel.se>
Fons Botman <budely@tref.nl>
Andy Choi <kc49@cornell.edu>
Jean Tourrilhes <jt@hpl.hp.com>
Marcel Holtmann <marcel@holtmann.org>
Dmitry Kasatkin <dmitry.kasatkin@nokia.com>
%package glib-devel
License: GPL v2 or later
Summary: Development package for openobex
Group: Development/Libraries/Other
Requires: %{name} = %{version} glib2-devel openobex-devel
%description glib-devel
Files needed for software development using openobex.
Authors:
--------
Dag Brattli <dagb@cs.uit.no>
Pontus Fuchs <pontus.fuchs@tactel.se>
Fons Botman <budely@tref.nl>
Andy Choi <kc49@cornell.edu>
Jean Tourrilhes <jt@hpl.hp.com>
Marcel Holtmann <marcel@holtmann.org>
Dmitry Kasatkin <dmitry.kasatkin@nokia.com>
%prep
%setup -q
%patch -p1
%patch1
%build
libtoolize --force
autoreconf -f -i
%configure\
--enable-apps\
--enable-glib
make %{?jobs:-j%jobs}
%install
%makeinstall
%post
%run_ldconfig
%postun
%run_ldconfig
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
# NEWS is empty
%doc AUTHORS COPYING COPYING.LIB ChangeLog README
%{_libdir}/libopenobex.so.*
%files apps
%defattr(-,root,root)
%{_bindir}/ircp
%{_bindir}/irobex_palm3
%{_bindir}/irxfer
%{_bindir}/obex_tcp
%{_bindir}/obex_test
%files devel
%defattr(-,root,root)
%dir %{_includedir}/openobex
%{_includedir}/openobex/obex.h
%{_includedir}/openobex/obex_const.h
%{_libdir}/libopenobex.*a
%{_libdir}/libopenobex.so
%{_datadir}/aclocal/openobex.m4
%{_libdir}/pkgconfig/openobex.pc
%files glib
%defattr(-,root,root)
%{_libdir}/libopenobex-glib.so.*
%files glib-devel
%defattr(-,root,root)
%{_includedir}/openobex/obex-client.h
%{_libdir}/libopenobex-glib.*a
%{_libdir}/libopenobex-glib.so
%{_libdir}/pkgconfig/openobex-glib.pc
%changelog
* Tue Sep 16 2008 ro@suse.de
- fix requires for devel package
* Mon Sep 15 2008 dmueller@suse.de
- adjust buildrequires
* Fri May 18 2007 olh@suse.de
- -devel package requires libusb-devel
* Wed May 16 2007 olh@suse.de
- Buildrequires libusb -> libusb-devel
* Mon Apr 30 2007 sbrabec@suse.cz
- Updated to current SVN version (#220448):
* Provides openobex-glib bindings.
* Library build fixes.
* Minor fixes.
* Tue Dec 19 2006 cstender@suse.de
- added libusb to openobex-devel Requires.
* Sat Oct 14 2006 dgollub@suse.de
- added libusb to BuildRequires to get direct USB support.
* Mon Oct 09 2006 mskibbe@suse.de
- add applications to subpackage
* Tue Jun 27 2006 cthiel@suse.de
- update to version 1.3
* Add support for setting the creation-ID.
* Updated constants to match IrOBEX 1.3.
* Replace netbuf implementation with databuffer.
* Fix segmentation fault when receiving invalid OBEX packets.
* Mon Apr 24 2006 cthiel@suse.de
- update to version 1.2
* Add OBEX_EV_REQCHECK support.
* Add support for suspend after sending a header.
* Add support for empty headers for buggy OBEX servers.
* Fix memory leak in obex_object_send().
- changes in version 1.1
* Fix list of exported functions (Bug 644690).
* Fix duplicate string from basename() result (Bug 668977).
* Fix wrong order of sanity checks (Bug 703452).
* Fix memory leak in send_stream() function.
* ISO C99 says that inttypes.h includes stdint.h header.
* Add proper client side ABORT support.
* Add support for OBEX_SuspendRequest() and OBEX_ResumeRequest().
* Add USB transport support.
* Increase the allowed maximum MTU to 64kB-1.
* Disconnect when an ABORT fails.
* Make it possible to include headers from C++ source code.
* Advertise OBEX Protocol Version 1.0.
- dropped openobex.diff
- dropped openobex-serveraccept-export.patch
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Tue Aug 23 2005 hvogel@suse.de
- added `OBEX_ServerAccept' to the exported symbols
* Sat Oct 23 2004 hvogel@suse.de
- move config script to the devel package
* Mon Jan 26 2004 hvogel@suse.de
- move devel stuff into subpackage
* Fri Nov 21 2003 adrian@suse.de
- make so-name compatible with version 1.0.0
* Fri Nov 21 2003 hvogel@suse.de
- update to version 1.0.1
* Mon Aug 11 2003 mmj@suse.de
- Invoke autoreconf to build on all archs
* Thu Aug 07 2003 hvogel@suse.de
- Initial Package, Version 1.0.0