1 %define PREFIX "%{_libdir}/wrt-plugins"
4 Summary: OFono/Obex business logic for phone web APIs
7 Group: Automotive/Modello
9 Source0: %{name}-%{version}.tar.gz
10 Source1001: %{name}.manifest
13 BuildRequires: gettext-devel
14 BuildRequires: pkgconfig(libebook-contacts-1.2)
15 BuildRequires: pkgconfig(expat)
16 BuildRequires: pkgconfig(json-glib-1.0)
17 BuildRequires: pkgconfig(dbus-1)
18 BuildRequires: pkgconfig(aul)
21 A service to export OFono/Obex functionality over DBUS, to be used by WebRuntime plugin
28 export LDFLAGS="${LDFLAGS} -Wl,--rpath=%{PREFIX} -Wl,--as-needed"
31 -DCMAKE_INSTALL_PREFIX=%{_prefix} \
32 -DENABLE_TIME_TRACER="OFF" \
33 -DSYSTEMD_SERVICE_PREFIX="%{_unitdir_user}"
35 %__make %{?_smp_mflags} VERBOSE=1
41 %install_service ../user/weston.target.wants phoned.service
44 %manifest %{name}.manifest
45 %{_libdir}/pkgconfig/phoned.pc
47 %{_prefix}/share/dbus-1/services/org.tizen.phone.service
48 %{_unitdir_user}/phoned.service
49 %{_unitdir_user}/weston.target.wants/phoned.service