6 Version: %{major}.%{minor}.%{patchlevel}
9 Summary: Telephony Daemon
10 Group: System/Telephony
11 Source0: %{name}-%{version}.tar.gz
13 BuildRequires: pkgconfig(dlog)
14 BuildRequires: pkgconfig(glib-2.0)
15 BuildRequires: pkgconfig(tcore)
16 BuildRequires: pkgconfig(vconf)
19 Description: Telephony Daemon
25 cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} \
26 -DLIB_INSTALL_DIR=%{_libdir} \
27 -DVERSION=%{version} \
28 -DTIZEN_DEBUG_ENABLE=1 \
35 mkdir -p %{buildroot}%{_libdir}/systemd/system/multi-user.target.wants
36 ln -s %{_libdir}/systemd/system/telephony-daemon.service %{buildroot}%{_libdir}/systemd/system/multi-user.target.wants/telephony-daemon.service
38 %post -p /sbin/ldconfig
41 %manifest telephony-daemon.manifest
42 %defattr(644,system,system,-)
43 %caps(cap_mac_override,cap_dac_override,cap_net_admin=eip) %attr(755,system,system) %{_bindir}/telephony-daemon
44 %{_libdir}/systemd/system/telephony-daemon.service
45 %{_libdir}/systemd/system/multi-user.target.wants/telephony-daemon.service
46 %{_datadir}/license/telephony-daemon