Blob Blame History Raw
Summary: Library for using OBEX
Name: openobex
Version: 1.0.0
Release: 5
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
Patch1: openobex-1.0.0-bigendian.patch
BuildRoot: %{_tmppath}/%{name}-root
Requires: glib >= 1:1.2.0
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


%changelog
* 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

%prep
rm -rf $RPM_BUILD_ROOT

%setup -q
%patch -p1
%patch1 -p0

%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/