1 #sbs-git:slp/pkgs/t/tel-plugin-imc
7 Summary: imc plugin for telephony
8 Version: %{major}.%{minor}.%{patchlevel}
10 Group: Development/Libraries
12 Source0: tel-plugin-imc-%{version}.tar.gz
13 Source1001: tel-plugin-imc.manifest
14 Requires(post): /sbin/ldconfig
15 Requires(postun):/sbin/ldconfig
17 BuildRequires: pkgconfig(glib-2.0)
18 BuildRequires: pkgconfig(tcore)
19 BuildRequires: pkgconfig(db-util)
20 BuildRequires: pkgconfig(libxml-2.0)
21 BuildRequires: pkgconfig(libtzplatform-config)
22 BuildRequires: pkgconfig(vconf)
25 IMC plugin for telephony
39 if [ ! -f %{TZ_SYS_DB}/.mcc_mnc_oper_list.db ]
41 sqlite3 %{TZ_SYS_DB}/.mcc_mnc_oper_list.db < /tmp/mcc_mnc_oper_list.sql
44 rm -f /tmp/mcc_mnc_oper_list.sql
46 if [ -f %{TZ_SYS_DB}/.mcc_mnc_oper_list.db ]
48 chmod 600 %{TZ_SYS_DB}/.mcc_mnc_oper_list.db
50 if [ -f %{TZ_SYS_DB}/.mcc_mnc_oper_list.db-journal ]
52 chmod 644 %{TZ_SYS_DB}/.mcc_mnc_oper_list.db-journal
55 %postun -p /sbin/ldconfig
60 mkdir -p %{buildroot}/usr/share/license
61 cp LICENSE %{buildroot}/usr/share/license/%{name}
64 %manifest %{name}.manifest
66 %defattr(-,root,root,-)
68 %{_libdir}/telephony/plugins/modems/*
69 /tmp/mcc_mnc_oper_list.sql
70 /usr/share/license/%{name}