Summary: Library for using OBEX
Name: openobex
Version: 1.0.1
Release: 4.2
License: LGPL
Group: System Environment/Libraries
URL: http://openobex.sourceforge.net
Source: ftp://download.sourceforge.net/pub/sourceforge/openobex/openobex-%{version}.tar.gz
Patch: openobex-1.0.0-include.patch
Patch2: openobex-1.0.1-export.patch
#Patch1: openobex-1.0.0-bigendian.patch
BuildRoot: %{_tmppath}/%{name}-root
BuildRequires: autoconf >= 0:2.57, docbook-utils >= 0:0.6.13, bluez-libs-devel
ExcludeArch: s390 s390x
%description
Open OBEX shared c-library
%package devel
Summary: Files for development of applications which will use OBEX
Group: Development/Libraries
Requires: %{name} = 0:%{version}-%{release}
%description devel
Open OBEX shared c-library
%prep
rm -rf $RPM_BUILD_ROOT
%setup -q
%patch -p1
%patch2 -p1
%build
autoreconf --install --force
%configure
make
make -C doc html
%install
rm -rf $RPM_BUILD_ROOT
%makeinstall
# we do not want .la files
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README doc/openobex
%{_libdir}/libopenobex*.so.*
%files devel
%defattr(-, root, root)
%doc doc/openobex
%{_libdir}/libopenobex*.so
%{_libdir}/libopenobex*.a
%{_bindir}/openobex-config
%{_datadir}/aclocal/openobex.m4
%{_includedir}/openobex/
%changelog
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.0.1-4.2
- rebuilt for new gcc4.1 snapshot and glibc changes
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
- rebuilt
* Mon May 02 2005 Harald Hoyer <harald@redhat.com> 1.0.1-4
- added `OBEX_ServerAccept' to the exported symbols (bug rh#146353)
* Wed Mar 02 2005 Harald Hoyer <harald@redhat.com>
- rebuilt
* Wed Feb 09 2005 Harald Hoyer <harald@redhat.com>
- rebuilt
* Mon Sep 13 2004 Harald Hoyer <harald@redhat.de> 1.0.1-1
- version 1.0.1
* Tue Jun 22 2004 Alan Cox <alan@redhat.com>
- removed now unneeded glib requirement
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Mon Apr 19 2004 David Woodhouse <dwmw2@redhat.com> 1.0.0-5
- import for for #121271 from openobex CVS tree
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Wed Jun 4 2003 Harald Hoyer <harald@redhat.de> 1.0.0-2
- excludeArch s390 s390x
* Wed Jun 4 2003 Harald Hoyer <harald@redhat.de> 1.0.0-1
- redhatified specfile
- bump to version 1.0.0
* Thu May 18 2000 Pontus Fuchs <pontus.fuchs@tactel.se>
- Initial RPM