5 Name: tel-plugin-indicator
6 Version: %{major}.%{minor}.%{patchlevel}
9 Summary: Telephony Indicator plugin
10 Group: System/Libraries
11 Source0: tel-plugin-indicator-%{version}.tar.gz
13 BuildRequires: pkgconfig(deviced)
14 BuildRequires: pkgconfig(dlog)
15 BuildRequires: pkgconfig(glib-2.0)
16 BuildRequires: pkgconfig(vconf)
17 BuildRequires: pkgconfig(tcore)
18 Requires(post): /sbin/ldconfig
19 Requires(postun): /sbin/ldconfig
22 Telephony Indicator plugin
28 versionint=$[%{major} * 1000000 + %{minor} * 1000 + %{patchlevel}]
30 %cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} \
31 -DLIB_INSTALL_DIR=%{_libdir} \
32 -DVERSION=$versionint \
40 vconftool set -t bool memory/testmode/fast_dormancy 0 -i -f -s telephony_framework::vconf
41 vconftool set -t bool memory/testmode/fast_dormancy2 0 -i -f -s telephony_framework::vconf
43 %postun -p /sbin/ldconfig
47 mkdir -p %{buildroot}/usr/share/license
48 cp LICENSE %{buildroot}/usr/share/license/%{name}
51 %manifest tel-plugin-indicator.manifest
52 %defattr(-,root,root,-)
53 %{_libdir}/telephony/plugins/indicator-plugin*
54 /usr/share/license/%{name}