Sophie

Sophie

distrib > Mandriva > 10.2 > x86_64 > by-pkgid > 3a0d3d2d6ad9f1ea96d563111d6521cd > files > 2

openobex-apps-1.0.0-3mdk.src.rpm

Summary: Apps that come with the Open OBEX c-library
Name:      openobex-apps
Version:   1.0.0
Release:   3mdk
License: GPL
Group: Communications
Source0:   http://prdownloads.sourceforge.net/openobex/%{name}-%{version}.tar.bz2
Patch0:	openobex-apps_1.0.0-rel-6.patch.bz2
URL:       http://openobex.sourceforge.net/
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot

BuildRequires:	glib-devel
BuildRequires:	openobex-devel >= 1.0.0

%description
These are the apps that come with the Open OBEX c-library. These are
not meant to be more than test-programs to look at if you want to see
how use the library itself.

%prep
%setup -q
%patch0 -p1 -b .debian
%build
%configure

# Hack to cope with the changed path of the include files
# libopenobex-devel 0.9.8 --> 1.0.0
find . -type f | xargs -r perl -pi -e 's|<openobex/obex.h>|<obex.h>|'

%make
%install
rm -rf $RPM_BUILD_ROOT
%makeinstall

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-, root, root)
%doc README COPYING ChangeLog AUTHORS INSTALL
%{_bindir}/*

%changelog
* Mon Jan 17 2005 Stefan van der Eijk <stefan@eijk.nu> 1.0.0-3mdk
- patch0 from Debian

* Mon Dec 01 2003 Stefan van der Eijk <stefan@eijk.nu> 1.0.0-2mdk
- rebuild

* Sun Dec 15 2002 Stefan van der Eijk <stefan@eijk.nu> 1.0.0-1mdk
- 1.0.0
- hack to cope with changed location header files

* Fri Oct 26 2001 Stefan van der Eijk <stefan@eijk.nu> 0.9.8-1mdk
- Initial package