]> git.pld-linux.org Git - packages/gtk-webkit4.git/blame - gtk-webkit3.spec
- updated to 1.10.1
[packages/gtk-webkit4.git] / gtk-webkit3.spec
CommitLineData
91c1decc 1# TODO: review configure options:
e9e9ae8f 2# - notifications, gamepad, dom-mutation-observers, input-type-color, media-source, media-stream, mhtml, web-audio, web-timing, touch-icon-loading, register-protocol-handler, css-filters, css-compositing
91c1decc 3# - directory-upload
e9e9ae8f 4# - APIs: page-visibility-api, indexed-database, input-speech, scripted-speech, image-resizer, quota, animation-api
89035ba9 5# - HTML5: microdata, datagrid, data-transfer-items, video-track, file-system, style-scoped
f8e56294
AF
6#
7# Conditional build:
8%bcond_without introspection # disable introspection
9#
97c9d259
JB
10Summary: Port of WebKit embeddable web component to GTK+ 3
11Summary(pl.UTF-8): Port osadzalnego komponentu WWW WebKit do GTK+ 3
f8e56294 12Name: gtk-webkit3
dd29e175
JB
13Version: 1.10.1
14Release: 1
f8e56294
AF
15License: BSD-like
16Group: X11/Libraries
9130be70 17Source0: http://webkitgtk.org/releases/webkitgtk-%{version}.tar.xz
dd29e175 18# Source0-md5: 28c930cda012391453c476cdacfaca65
f8e56294 19URL: http://webkitgtk.org/
09ca9f01 20BuildRequires: OpenGL-GLU-devel
9130be70
MB
21BuildRequires: at-spi2-core-devel >= 2.2.1
22BuildRequires: autoconf >= 2.60
f8e56294 23BuildRequires: automake
e3bd5be3 24BuildRequires: bison >= 1.875
cf9395dc 25BuildRequires: cairo-devel >= 1.10
f8e56294
AF
26BuildRequires: enchant-devel >= 0.22
27BuildRequires: flex >= 2.5.33
28BuildRequires: fontconfig-devel >= 2.4.0
29BuildRequires: freetype-devel >= 1:2.1.8
30BuildRequires: geoclue-devel
31BuildRequires: gettext-devel
09ca9f01 32BuildRequires: glib2-devel >= 1:2.32.0
f8e56294 33BuildRequires: glibc-misc
c66a3aee 34%{?with_introspection:BuildRequires: gobject-introspection-devel >= 0.10.0}
f8e56294 35BuildRequires: gperf
9130be70
MB
36BuildRequires: gstreamer-devel >= 1.0.0
37BuildRequires: gstreamer-plugins-base-devel >= 1.0.0
9514bd6e 38BuildRequires: gtk+3-devel >= 3.4.0
f8e56294
AF
39BuildRequires: gtk-doc >= 1.10
40BuildRequires: libicu-devel >= 4.2.1
41BuildRequires: libjpeg-devel
42BuildRequires: libpng-devel
9130be70 43BuildRequires: libsoup-devel >= 2.40.0
f8e56294
AF
44BuildRequires: libstdc++-devel
45BuildRequires: libtool >= 2:1.5
46BuildRequires: libxml2-devel >= 1:2.6.30
47BuildRequires: libxslt-devel >= 1.1.7
09ca9f01 48BuildRequires: pango-devel >= 1:1.21.0
f8e56294 49BuildRequires: pkgconfig
c66a3aee 50BuildRequires: rpmbuild(macros) >= 1.592
97c9d259 51BuildRequires: sqlite3-devel >= 3.0
09aa776b 52BuildRequires: tar >= 1:1.22
e9e9ae8f 53BuildRequires: xorg-lib-libXcomposite-devel
cf9395dc 54BuildRequires: xorg-lib-libXrender-devel
09ca9f01 55BuildRequires: xorg-lib-libXt-devel
09aa776b 56BuildRequires: xz
09ca9f01 57BuildRequires: zlib-devel
cf9395dc 58Requires: cairo >= 1.10
f8e56294 59Requires: enchant >= 0.22
09ca9f01 60Requires: glib2 >= 1:2.32.0
9130be70
MB
61Requires: gstreamer >= 1.0.0
62Requires: gstreamer-plugins-base >= 1.0.0
9514bd6e 63Requires: gtk+3 >= 3.4.0
9130be70 64Requires: libsoup >= 2.40.0
f8e56294
AF
65Requires: libxml2 >= 1:2.6.30
66Requires: libxslt >= 1.1.7
09ca9f01 67Requires: pango >= 1:1.21.0
f8e56294
AF
68%{?with_introspection:Conflicts: gir-repository < 0.6.5-7}
69BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
70
71%description
97c9d259 72gtk-webkit3 is a port of the WebKit embeddable web component to GTK+ 3.
f8e56294
AF
73
74%description -l pl.UTF-8
97c9d259 75gtk-webkit3 to port osadzalnego komponentu WWW WebKit do GTK+ 3.
f8e56294
AF
76
77%package devel
97c9d259
JB
78Summary: Development files for WebKit for GTK+ 3
79Summary(pl.UTF-8): Pliki programistyczne komponentu WebKit dla GTK+ 3
f8e56294
AF
80Group: X11/Development/Libraries
81Requires: %{name} = %{version}-%{release}
09ca9f01 82Requires: glib2-devel >= 1:2.32.0
9514bd6e 83Requires: gtk+3-devel >= 3.4.0
9130be70 84Requires: libsoup-devel >= 2.40.0
f8e56294
AF
85
86%description devel
97c9d259 87Development files for WebKit for GTK+ 3.
f8e56294
AF
88
89%description devel -l pl.UTF-8
97c9d259 90Pliki programistyczne komponentu WebKit dla GTK+ 3.
f8e56294 91
09ca9f01
MB
92%package apidocs
93Summary: WebKit API documentation
94Summary(pl.UTF-8): Dokumentacja API WebKita
95Group: Documentation
96Requires: gtk-doc-common
97
98%description apidocs
99WebKit API documentation.
100
101%description apidocs -l pl.UTF-8
102Dokumentacja API WebKita.
103
f8e56294 104%prep
9130be70 105%setup -q -n webkitgtk-%{version}
97c9d259 106
f8e56294
AF
107%build
108%{__gtkdocize}
f8e56294 109%{__libtoolize}
7f68fdfd 110%{__aclocal} -I Source/autotools
f8e56294
AF
111%{__autoheader}
112%{__automake}
113%{__autoconf}
30934c41
MB
114# replace -g2 with -g1 to not run into 4 GB ar format limit
115# https://bugs.webkit.org/show_bug.cgi?id=91154
116# http://sourceware.org/bugzilla/show_bug.cgi?id=14625
03ddff35
MB
117export CFLAGS="%(echo %{rpmcflags} | sed 's/ -g2/ -g1/g')"
118export CXXFLAGS="%(echo %{rpmcxxflags} | sed 's/ -g2/ -g1/g')"
f8e56294 119%configure \
f8e56294 120 --disable-silent-rules \
c66a3aee 121 %{__enable_disable introspection} \
9130be70 122 --with-gstreamer=1.0 \
c66a3aee 123 --with-gtk=3.0 \
09ca9f01
MB
124 --enable-geolocation \
125 --enable-gtk-doc \
126 --with-html-dir=%{_gtkdocdir}
f8e56294 127
09958ad8 128%{__make} -j1
f8e56294
AF
129
130%install
131rm -rf $RPM_BUILD_ROOT
132
133%{__make} install \
134 DESTDIR=$RPM_BUILD_ROOT
135
cf9395dc 136%{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la
959213a2 137
9130be70 138%find_lang webkitgtk-3.0
f8e56294
AF
139
140%clean
141rm -rf $RPM_BUILD_ROOT
142
09aa776b
JB
143%post -p /sbin/ldconfig
144%postun -p /sbin/ldconfig
f8e56294 145
9130be70 146%files -f webkitgtk-3.0.lang
f8e56294 147%defattr(644,root,root,755)
97c9d259 148%doc ChangeLog NEWS
f8e56294 149%attr(755,root,root) %{_bindir}/jsc-3
9130be70
MB
150%attr(755,root,root) %{_libexecdir}/WebKitPluginProcess
151%attr(755,root,root) %{_libexecdir}/WebKitWebProcess
f8e56294
AF
152%attr(755,root,root) %{_libdir}/libwebkitgtk-3.0.so.*.*.*
153%attr(755,root,root) %ghost %{_libdir}/libwebkitgtk-3.0.so.0
9130be70
MB
154%attr(755,root,root) %{_libdir}/libwebkit2gtk-3.0.so.*.*.*
155%attr(755,root,root) %ghost %{_libdir}/libwebkit2gtk-3.0.so.18
cf9395dc
AF
156%attr(755,root,root) %{_libdir}/libjavascriptcoregtk-3.0.so.*.*.*
157%attr(755,root,root) %ghost %{_libdir}/libjavascriptcoregtk-3.0.so.0
f8e56294
AF
158%if %{with introspection}
159%{_libdir}/girepository-1.0/JSCore-3.0.typelib
160%{_libdir}/girepository-1.0/WebKit-3.0.typelib
161%endif
c53434ba 162%dir %{_datadir}/webkitgtk-3.0
f8e56294 163%{_datadir}/webkitgtk-3.0/images
cf9395dc 164%{_datadir}/webkitgtk-3.0/resources
f8e56294 165%{_datadir}/webkitgtk-3.0/webinspector
f8e56294
AF
166
167%files devel
168%defattr(644,root,root,755)
169%attr(755,root,root) %{_libdir}/libwebkitgtk-3.0.so
9130be70 170%attr(755,root,root) %{_libdir}/libwebkit2gtk-3.0.so
cf9395dc 171%attr(755,root,root) %{_libdir}/libjavascriptcoregtk-3.0.so
f8e56294
AF
172%if %{with introspection}
173%{_datadir}/gir-1.0/JSCore-3.0.gir
174%{_datadir}/gir-1.0/WebKit-3.0.gir
175%endif
09ca9f01 176%{_includedir}/webkitgtk-3.0
f8e56294 177%{_pkgconfigdir}/webkitgtk-3.0.pc
9130be70 178%{_pkgconfigdir}/webkit2gtk-3.0.pc
cf9395dc 179%{_pkgconfigdir}/javascriptcoregtk-3.0.pc
09ca9f01
MB
180
181%files apidocs
182%defattr(644,root,root,755)
183%{_gtkdocdir}/webkitgtk
9130be70 184%{_gtkdocdir}/webkit2gtk
This page took 0.138479 seconds and 4 git commands to generate.