Summary: Library for using OBEX
Name: openobex
Version: 1.3
Release: 1
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.1-inc.patch
Patch2: openobex-1.1-noreq.patch
Patch3: openobex-apps-flush.patch
Patch4: openobex-apps-push.patch
BuildRoot: %{_tmppath}/%{name}-root
BuildRequires: autoconf >= 0:2.57, docbook-utils >= 0:0.6.13, bluez-libs-devel sed
BuildRequires: automake autoconf libtool
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
%package apps
Summary: Applications for using OBEX
Group: System Environment/Libraries
BuildRequires: bluez-libs-devel
BuildRequires: autoconf >= 0:2.57
Excludearch: s390x s390
%description apps
Open OBEX Applications
%prep
rm -rf $RPM_BUILD_ROOT
%setup -q
%patch -p1
#%patch2 -p1
%patch3 -p1
#%patch4 -p1 -b .push
sed -i -e 's#includedir=@includedir@#includedir=@includedir@/openobex#g' openobex.pc.in
%build
autoreconf --install --force
%configure --disable-static --enable-apps
make
make -C doc
%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)
%{_libdir}/libopenobex*.so.*
%files devel
%defattr(-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README
%{_libdir}/libopenobex*.so
%{_datadir}/aclocal/openobex.m4
%{_includedir}/openobex/*.h
%{_libdir}/pkgconfig/openobex.pc
%files apps
%defattr(-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README
%{_bindir}/irobex_palm3
%{_bindir}/irxfer
%{_bindir}/ircp
%{_bindir}/obex_tcp
%{_bindir}/obex_test
#%{_bindir}/obex_push
#%{_mandir}/man1/obex_push.1*
%changelog
* Fri Jun 16 2006 Harald Hoyer <harald@redhat.com> - 1.3-1
- version 1.3
* Tue Jun 13 2006 Harald Hoyer <harald@redhat.com> - 1.2-2
- more build requirements
* Tue Jun 13 2006 Harald Hoyer <harald@redhat.com> - 1.2-1
- version 1.2
* Thu Feb 16 2006 Harald Hoyer <harald@redhat.com> 1.1-1
- version 1.1
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.0.1-4.2.1
- bump again for double-long bug on ppc(64)
* 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