b97810ac740723a30c4c355d98dbb1fe6cad357b
[platform/framework/web/wrt-plugins-tizen.git] / packaging / wrt-plugins-tizen.spec
1 Name:       wrt-plugins-tizen
2 Summary:    JavaScript plugins for WebRuntime
3 Version:    0.4.9
4 Release:    0
5 Group:      Development/Libraries
6 License:    Apache License, Version 2.0
7 Source0:    %{name}-%{version}.tar.gz
8 BuildRequires:  pkgconfig(capi-web-favorites)
9 BuildRequires:  pkgconfig(mm-fileinfo)
10 BuildRequires:  pkgconfig(libpcrecpp)
11 BuildRequires:  pkgconfig(calendar-service2)
12 BuildRequires:  pkgconfig(contacts-service2)
13 BuildRequires:  pkgconfig(msg-service)
14 BuildRequires:  pkgconfig(email-service)
15 BuildRequires:  pkgconfig(accounts-svc)
16 BuildRequires:  pkgconfig(tapi)
17 BuildRequires:  pkgconfig(icu-i18n)
18 BuildRequires:  pkgconfig(icu-io)
19 BuildRequires:  pkgconfig(icu-le)
20 BuildRequires:  pkgconfig(icu-lx)
21 BuildRequires:  pkgconfig(icu-uc)
22 BuildRequires:  pkgconfig(network)
23 BuildRequires:  pkgconfig(appsvc)
24 BuildRequires:  pkgconfig(devman)
25 BuildRequires:  pkgconfig(ewebkit2)
26 BuildRequires:  pkgconfig(dpl-efl)
27 BuildRequires:  pkgconfig(dpl-event-efl)
28 BuildRequires:  pkgconfig(wrt-plugins-types)
29 BuildRequires:  pkgconfig(wrt-plugins-commons)
30 BuildRequires:  pkgconfig(wrt-plugins-commons-javascript)
31 BuildRequires:  pkgconfig(wrt-plugins-plugin-manager)
32 BuildRequires:  pkgconfig(capi-appfw-application)
33 BuildRequires:  pkgconfig(capi-appfw-app-manager)
34 BuildRequires:  pkgconfig(capi-network-nfc)
35 BuildRequires:  pkgconfig(capi-location-geocoder)
36 BuildRequires:  pkgconfig(capi-location-manager)
37 BuildRequires:  pkgconfig(capi-location-poi)
38 BuildRequires:  pkgconfig(capi-location-route)
39 BuildRequires:  pkgconfig(capi-network-bluetooth)
40 BuildRequires:  pkgconfig(capi-network-connection)
41 BuildRequires:  pkgconfig(capi-telephony-call)
42 BuildRequires:  pkgconfig(capi-telephony-sim)
43 BuildRequires:  pkgconfig(capi-system-info)
44 BuildRequires:  pkgconfig(capi-system-runtime-info)
45 BuildRequires:  pkgconfig(sensor)
46 BuildRequires:  pkgconfig(capi-system-sensor)
47 BuildRequires:  pkgconfig(capi-system-power)
48 BuildRequires:  pkgconfig(pmapi)
49 BuildRequires:  pkgconfig(capi-system-system-settings)
50 BuildRequires:  pkgconfig(capi-system-device)
51 BuildRequires:  pkgconfig(capi-content-media-content)
52 BuildRequires:  pkgconfig(capi-media-metadata-extractor)
53 BuildRequires:  pkgconfig(smartcard-service-common)
54 BuildRequires:  pkgconfig(smartcard-service)
55 BuildRequires:  pkgconfig(pkgmgr)
56 BuildRequires:  pkgconfig(pkgmgr-info)
57 BuildRequires:  pkgconfig(capi-appfw-package-manager)
58 BuildRequires:  pkgconfig(capi-web-url-download)
59 BuildRequires:  pkgconfig(push)
60 BuildRequires:  pkgconfig(notification)
61 BuildRequires:  pkgconfig(message-port)
62 BuildRequires:  pkgconfig(sync-agent)
63 BuildRequires:  expat-devel
64 BuildRequires:  cmake
65 BuildRequires:  gettext-devel
66 BuildRequires:  boost-devel
67 BuildRequires:  boost-thread
68 BuildRequires:  boost-system
69 BuildRequires:  boost-filesystem
70
71 %description
72 JavaScript plugins for WebRuntime
73
74 %package devel
75 Summary:    Wrt-plugin-tizen development headers
76 Group:      Development/Libraries
77 Requires:   %{name} = %{version}
78
79 %description devel
80 Wrt-plugin-tizen development headers
81
82 %prep
83 %setup -q
84
85 %build
86
87 %define PREFIX "%{_libdir}/wrt-plugins"
88
89 export LDFLAGS+="-Wl,--rpath=%{PREFIX} -Wl,--as-needed"
90
91 cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DDPL_LOG="ON"
92
93 make %{?jobs:-j%jobs}
94
95 %install
96 rm -rf %{buildroot}
97 %make_install
98
99 %post
100
101 %postun
102
103
104 %files
105 %manifest wrt-plugins-tizen.manifest 
106 %{_libdir}/wrt-plugins/*
107 /usr/etc/tizen-apis/*
108
109 %files devel
110 %{_includedir}/*
111 %{_libdir}/pkgconfig/*