5 Group: System/Libraries
6 License: BSD, GNU LIBRARY GENERAL PUBLIC LICENSE Version 2
7 Source0: %{name}-%{version}.tar.gz
10 Requires(post): /sbin/ldconfig
11 Requires(postun): /sbin/ldconfig
13 BuildRequires: cmake, edje-bin, embryo-bin, python, bison, flex, gperf, libjpeg-devel, perl, gettext
14 BuildRequires: pkgconfig(cairo)
15 BuildRequires: pkgconfig(dlog)
16 BuildRequires: pkgconfig(ecore)
17 BuildRequires: pkgconfig(ecore-evas)
18 BuildRequires: pkgconfig(ecore-file)
19 BuildRequires: pkgconfig(edbus)
20 BuildRequires: pkgconfig(edje)
21 BuildRequires: pkgconfig(eina)
22 BuildRequires: pkgconfig(elementary)
23 BuildRequires: pkgconfig(evas)
24 BuildRequires: pkgconfig(fontconfig)
25 BuildRequires: pkgconfig(freetype2)
26 BuildRequires: pkgconfig(glib-2.0)
27 BuildRequires: pkgconfig(gstreamer-0.10)
28 BuildRequires: pkgconfig(gstreamer-plugins-base-0.10)
29 BuildRequires: pkgconfig(icu-i18n)
30 BuildRequires: pkgconfig(libmedia-utils)
31 BuildRequires: pkgconfig(libsoup-2.4)
32 BuildRequires: pkgconfig(libssl)
33 BuildRequires: pkgconfig(libxml-2.0)
34 BuildRequires: pkgconfig(libxslt)
35 BuildRequires: pkgconfig(location)
36 BuildRequires: pkgconfig(mmutil-imgp)
37 BuildRequires: pkgconfig(mmutil-jpeg)
38 BuildRequires: pkgconfig(mm-camcorder)
39 BuildRequires: pkgconfig(mm-player)
40 BuildRequires: pkgconfig(mm-session)
41 BuildRequires: pkgconfig(pango)
42 BuildRequires: pkgconfig(sensor)
43 BuildRequires: pkgconfig(sqlite3)
44 BuildRequires: pkgconfig(utilX)
45 BuildRequires: pkgconfig(vconf)
46 BuildRequires: pkgconfig(xt)
47 BuildRequires: pkgconfig(capi-appfw-application)
48 BuildRequires: pkgconfig(leveldb)
49 BuildRequires: pkgconfig(capi-location-manager)
52 BuildRequires: pkgconfig(gles20)
53 #BuildRequires: opengl-es
55 BuildRequires: simulator-opengl-devel
59 Browser Engine based on Webkit EFL (Shared Library)
63 Group: Development/Libraries
64 Requires: %{name} = %{version}-%{release}
66 Browser Engine dev library based on Webkit EFL (developement files)
75 %define EFL_TARGET arm
77 %define EFL_TARGET i386
83 cmake .. -DPORT=Efl -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_COMPONENT=/usr/include -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_FLAGS="$CFLAGS" -DEFL_TARGET=%{EFL_TARGET}
92 cmake .. -DPORT=Efl -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_COMPONENT=/usr/include -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_FLAGS="$CFLAGS" -DEFL_TARGET=%{EFL_TARGET}
95 mkdir %{buildroot}/usr/share/edje
96 cp ./WebKit/efl/DefaultTheme/default.edj %{buildroot}/usr/share/edje/webkit.edj
101 # A path to the WebKit's data bases and appcache dir
102 if [ ! -d /opt/dbspace/.webkit ];
104 mkdir /opt/dbspace/.webkit
106 if [ ${USER} = "root" ]
110 chown root:root /usr/lib/libewebkit.so
113 chown root:root /usr/share/ewebkit-0/themes/default.edj
114 chown root:root /usr/share/edje/webkit.edj
115 chown 5000:5000 /opt/dbspace/.webkit
117 #change file permissions
119 chmod 644 /usr/lib/libewebkit.so
121 chmod 644 /usr/share/ewebkit-0/themes/default.edj
122 chmod 644 /usr/share/edje/webkit.edj
123 chmod 775 /opt/dbspace/.webkit
124 #################################################################
125 # Set executin script
126 #################################################################
127 echo "[WebKit-EFL] postinst done ..."
134 %defattr(-,root,root,-)
138 /usr/share/ewebkit-0/*
139 /usr/share/ewebkit-0/*/*
140 /usr/share/ewebkit-0/*/*/*
144 %defattr(-,root,root,-)
145 /usr/lib/libewebkit.so
146 /usr/lib/pkgconfig/ewebkit.pc
147 /usr/include/ewebkit-0/*.h
148 /usr/include/ewebkit-0/JavaScriptCore/*.h