1 #git:framework/web/wrt-plugins-common wrt-plugins-common_0.3.69
2 Name: wrt-plugins-common
3 Summary: wrt-plugins common library
6 Group: Development/Libraries
7 License: Apache License, Version 2.0
8 Source0: %{name}-%{version}.tar.gz
11 BuildRequires: pkgconfig(dpl-efl)
12 BuildRequires: pkgconfig(wrt-plugins-types)
13 BuildRequires: pkgconfig(security-client)
14 BuildRequires: pkgconfig(dpl-event-efl)
15 BuildRequires: pkgconfig(ewebkit2)
16 BuildRequires: pkgconfig(dpl-wrt-dao-ro)
17 BuildRequires: pkgconfig(dpl-wrt-dao-rw)
18 BuildRequires: pkgconfig(dpl-db-efl)
19 BuildRequires: pkgconfig(libpcrecpp)
20 BuildRequires: pkgconfig(icu-i18n)
21 BuildRequires: pkgconfig(libxml-2.0)
22 BuildRequires: pkgconfig(cert-svc-vcore)
26 JavaScript plugins for WebRuntime
29 Summary: wrt-plugins-common library development headers
30 Group: Development/Libraries
31 Requires: %{name} = %{version}
34 wrt-plugins common library development headers
40 %if "%{WITH_TESTS}" == "ON" || "%{WITH_TESTS}" == "Y" || "%{WITH_TESTS}" == "YES" || "%{WITH_TESTS}" == "TRUE" || "%{WITH_TESTS}" == "1"
45 export LDFLAGS+="-Wl,--rpath=/usr/lib -Wl,--as-needed -Wl,--hash-style=both"
47 cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} \
49 -DCMAKE_PROJECT_VERSION=%{version} \
50 -DCMAKE_BUILD_TYPE=%{?build_type:%build_type} \
51 %{?WITH_TESTS:-DWITH_TESTS=%WITH_TESTS}
55 mkdir -p %{buildroot}/usr/share/license
56 cp LICENSE %{buildroot}/usr/share/license/%{name}
63 mkdir -p %{_libdir}/wrt-plugins
64 mkdir -p /usr/etc/wrt/injected-javascript
65 touch /opt/share/widget/plugin-installation-required
68 %manifest wrt-plugins-common.manifest
69 /usr/etc/wrt-plugins/config.dtd
72 %{_libdir}/wrt-plugins/w3c-widget-interface/libwrt-plugins-w3c-widget-interface.so
73 %attr(644,root,root) %{_libdir}/wrt-plugins/standard-features-list
74 %attr(644,root,root) /usr/share/wrt-plugins-common/widget_interface_db.sql
75 %attr(755,root,root) %{_bindir}/wrt-popup-ace-runtime
76 %attr(755,root,root) %{_bindir}/wrt-popup-wrt-runtime
77 %attr(755,root,root) %{_bindir}/wrt-plugins-installer
78 %{_datadir}/license/%{name}
81 %attr(755,root,root) %{_bindir}/widgetdb_tests_prepare_db.sh
82 %attr(755,root,root) %{_bindir}/plugins-tests-widgetdb
87 %{_libdir}/pkgconfig/*