File obex-data-server.spec of Package obex-data-server
#
# spec file for package obex-data-server (Version 0.4.2)
#
# Copyright (c) 2009 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: obex-data-server
BuildRequires: bluez-devel dbus-1-glib-devel openobex-devel
Url: http://www.bluez.org
Version: 0.4.2
Release: 3
Summary: Obex DBus API
License: GPL v2 or later
Group: Hardware/Mobile
AutoReqProv: on
# PATCH-FIX-UPSTREAM obex-data-server-unbreak-file-uris.patch bnc391820 rodrigo@novell.com
Patch: obex-data-server-unbreak-file-uris.patch
# PATCH-FIX-UPSTREAM obex-data-server-transferstarted.patch bnc515025 vuntz@opensuse.org -- Taken from svn, fix bad emission of TransferStarted
Patch1: obex-data-server-transferstarted.patch
Source: %{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%define prefix /usr
%description
Obex-Data-Server provides a obex dbus api. Used for bluetooth
applications to transfer and receive data.
Authors:
--------
Tadas Dailyda <tadas@dailyda.com>
%prep
%setup -q
%patch -p1
%patch1 -p2
%build
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" %configure --with-dbus-dir=/usr/share/dbus-1
make
%install
make DESTDIR=$RPM_BUILD_ROOT install
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-, root, root)
%{_bindir}/obex-data-server
%dir %{_sysconfdir}/obex-data-server
%config %{_sysconfdir}/obex-data-server/*.xml
%{_mandir}/*/*
/usr/share/dbus-1/services/obex-data-server.service
%doc AUTHORS COPYING INSTALL ChangeLog dbus-api.txt NEWS
%changelog