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
13 BuildRoot: %{_tmppath}/%{name}-%{version}-build
15 BuildRequires: libtool
16 BuildRequires: update-desktop-files
17 BuildRequires: pkgconfig(bluez) >= 4.99
18 BuildRequires: pkgconfig(dbus-1)
19 BuildRequires: pkgconfig(glib-2.0)
20 BuildRequires: pkgconfig(libical)
23 obexd is an implementation of the Obex Push protocol, common on mobile phones and
24 other Bluetooth-equipped devices.
27 Summary: D-Bus service for Obex Server access
32 Client to allow sending files using the Obex Push protocol
37 Summary: D-Bus service for Obex Server service
39 Conflicts: obex-data-server
43 Server to allow receiving and sharing files using the Obex Push protocol
51 %configure --libexecdir=%{_libdir}/obex --with-phonebook=dummy \
52 %if ! 0%{?with_server}
58 sed -i -e "s,@libexecdir@,%{_libdir}/obex,g" %{SOURCE1}
66 mkdir -p %{buildroot}/%{_sysconfdir}/xdg/autostart/
67 install -m 0644 %{SOURCE1} %{buildroot}/%{_sysconfdir}/xdg/autostart/
68 install -m 0755 %{SOURCE2} %{buildroot}/%{_libdir}/obex/obexd-setup.sh
72 %defattr(-,root,root,-)
76 %defattr(-,root,root,-)
78 %{_libdir}/obex/obex-client
79 %{_datadir}/dbus-1/services/obex-client.service
84 %defattr(-,root,root,-)
87 %{_libdir}/obex/obexd-setup.sh
88 %{_datadir}/dbus-1/services/obexd.service
89 %{_sysconfdir}/xdg/autostart/obexd-server.desktop