4 Summary: D-Bus service for Obex Client access
9 Url: http://www.bluez.org/
10 Source0: obexd-%{version}.tar.xz
11 Source1: obexd-server.desktop
12 Source2: obexd-setup.sh
14 BuildRequires: libtool
15 BuildRequires: update-desktop-files
16 BuildRequires: pkgconfig(bluez) >= 4.99
17 BuildRequires: pkgconfig(dbus-1)
18 BuildRequires: pkgconfig(glib-2.0)
19 BuildRequires: pkgconfig(libical)
22 obexd is an implementation of the Obex Push protocol, common on mobile phones and
23 other Bluetooth-equipped devices.
26 Summary: D-Bus service for Obex Server access
31 Client to allow sending files using the Obex Push protocol
36 Summary: D-Bus service for Obex Server service
38 Conflicts: obex-data-server
42 Server to allow receiving and sharing files using the Obex Push protocol
50 %configure --libexecdir=%{_libdir}/obex --with-phonebook=dummy \
51 %if ! 0%{?with_server}
57 sed -i -e "s,@libexecdir@,%{_libdir}/obex,g" %{SOURCE1}
65 mkdir -p %{buildroot}/%{_sysconfdir}/xdg/autostart/
66 install -m 0644 %{SOURCE1} %{buildroot}/%{_sysconfdir}/xdg/autostart/
67 install -m 0755 %{SOURCE2} %{buildroot}/%{_libdir}/obex/obexd-setup.sh
71 %defattr(-,root,root,-)
75 %defattr(-,root,root,-)
77 %{_libdir}/obex/obex-client
78 %{_datadir}/dbus-1/services/obex-client.service
83 %defattr(-,root,root,-)
86 %{_libdir}/obex/obexd-setup.sh
87 %{_datadir}/dbus-1/services/obexd.service
88 %{_sysconfdir}/xdg/autostart/obexd-server.desktop