1 #sbs-git:slp/pkgs/t/tel-plugin-imc
3 Summary: imc plugin for telephony
6 Group: Development/Libraries
8 Source0: tel-plugin-imc-%{version}.tar.gz
9 Requires(post): /sbin/ldconfig
10 Requires(postun):/sbin/ldconfig
12 BuildRequires: pkgconfig(glib-2.0)
13 BuildRequires: pkgconfig(dlog)
14 BuildRequires: pkgconfig(tcore)
15 BuildRequires: pkgconfig(db-util)
16 BuildRequires: pkgconfig(libxml-2.0)
17 BuildRequires: pkgconfig(vconf)
19 %if "%{simulator}" != "1"
20 patch0: 0001-desc-CP-name-is-imc-pr3-for-Intel-device.patch
21 patch1: 0002-s_modem-CGMR-response-parsing-is-compatible-with-IMC.patch
22 patch2: 0003-s-modem-Cleanup.patch
23 patch3: 0004-s-modem-Add-notification-hook-for-SIM-status.patch
24 patch4: 0005-s-sim-Query-SIM-state-when-modem-is-powered-up.patch
25 patch5: 0006-common-Fix-warning-errors.patch
26 patch6: 0007-s_sim-Get-the-SIM-type-when-SIM-is-ready.patch
27 patch7: 0008-Fix-SCA-service-center-address-length-checking-error.patch
28 patch8: 0009-s_modem-Add-XGENDATA-query-to-get-firmware-informati.patch
29 patch9: 0010-s_sim-Extend-XSIMSTATE-parsing-to-get-SMS-service-st.patch
30 patch10: 0011-set-modem-power-saving-mode.patch
31 patch11: 0012-Fix-EFsmsp-size-error.patch
32 patch12: 0013-s_call-use-hal-set-sound-path-function.patch
33 patch13: 0014-Add-core-objects-and-link-them-to-HAL.patch
34 patch14: 0015-Change-the-way-imc-plugin-is-initialized.patch
35 patch15: 0016-s_ps-Remove-plateform-dependencies-to-setup-pdp-cont.patch
36 patch16: 0017-Fix-the-issue-that-system-is-waken-up-by-modem-frequ.patch
37 patch17: 0018-Configure-modem-I2s1-to-8khz-mono-if-routing-to-blue.patch
38 patch18: 0019-s_sat.c-Fix-envelope-cmd-and-enable-Setup-Event-List.patch
39 patch19: 0020-s_sim.c-Fix-get-lock-info.patch
40 patch20: 0021-s_sim-Fix-multiple-sim-facility-status-query.patch
41 patch21: 0023-s_network.c-By-default-display-the-plmn-in-case-SPN-.patch
42 patch22: 0024-Use-plugin-mfld-blackbay.patch
47 IMC plugin for telephony
52 %if "%{simulator}" != "1"
80 cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
87 if [ ! -f /opt/dbspace/.mcc_mnc_oper_list.db ]
89 sqlite3 /opt/dbspace/.mcc_mnc_oper_list.db < /tmp/mcc_mnc_oper_list.sql
92 rm -f /tmp/mcc_mnc_oper_list.sql
94 if [ -f /opt/dbspace/.mcc_mnc_oper_list.db ]
96 chmod 600 /opt/dbspace/.mcc_mnc_oper_list.db
98 if [ -f /opt/dbspace/.mcc_mnc_oper_list.db-journal ]
100 chmod 644 /opt/dbspace/.mcc_mnc_oper_list.db-journal
103 %postun -p /sbin/ldconfig
108 mkdir -p %{buildroot}/usr/share/license
112 %defattr(-,root,root,-)
114 %{_libdir}/telephony/plugins/*
115 /tmp/mcc_mnc_oper_list.sql
116 /usr/share/license/tel-plugin-imc