File obex-data-server.spec of Package obex-data-server

# spec file for package obex-data-server (Version 0.4.5)
# Copyright (c) 2010 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

# norootforbuild

Name:           obex-data-server
Version:        0.4.5
Release:        1
License:        GPLv2+
Summary:        Obex DBus API
Group:          Hardware/Mobile
Source:         %{name}-%{version}.tar.bz2
BuildRequires:  bluez-devel
BuildRequires:  dbus-1-glib-devel
BuildRequires:  gtk2-devel
BuildRequires:  libusb-devel
BuildRequires:  openobex-devel
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

Obex-Data-Server provides a obex dbus api. Used for bluetooth
applications to transfer and receive data.

%setup -q

CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" %configure --with-dbus-dir=/usr/share/dbus-1



%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%defattr(-, root, root)
%doc AUTHORS COPYING INSTALL ChangeLog dbus-api.txt NEWS
%dir %{_sysconfdir}/obex-data-server
%config %{_sysconfdir}/obex-data-server/*.xml