]> git.pld-linux.org Git - packages/gtk-webkit3.git/blame - gtk-webkit3.spec
- updated configure options to review
[packages/gtk-webkit3.git] / gtk-webkit3.spec
CommitLineData
91c1decc 1# TODO: review configure options:
89035ba9 2# - accelerated-compositing, notifications, gamepad, dom-mutation-observers, input-color, media-source, media-stream, mhtml, web-audio, web-timing, touch-icon-loading, register-protocol-handler
91c1decc 3# - directory-upload
89035ba9
JB
4# - webkit2
5# - APIs: page-visibility-api, indexed-database, input-speech, image-resizer, quota, animation-api
6# - HTML5: microdata, datagrid, data-transfer-items, video-track, file-system, style-scoped
f8e56294
AF
7#
8# Conditional build:
9%bcond_without introspection # disable introspection
10#
97c9d259
JB
11Summary: Port of WebKit embeddable web component to GTK+ 3
12Summary(pl.UTF-8): Port osadzalnego komponentu WWW WebKit do GTK+ 3
f8e56294 13Name: gtk-webkit3
09ca9f01 14Version: 1.8.0
20ea66e3 15Release: 1
f8e56294
AF
16License: BSD-like
17Group: X11/Libraries
024f1b5f 18Source0: http://webkitgtk.org/releases/webkit-%{version}.tar.xz
09ca9f01 19# Source0-md5: 52b2feb0fae01e68432b547bd85e8d74
f8e56294 20URL: http://webkitgtk.org/
09ca9f01 21BuildRequires: OpenGL-GLU-devel
f8e56294
AF
22BuildRequires: autoconf >= 2.59
23BuildRequires: automake
24BuildRequires: bison
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
AF
35BuildRequires: gperf
36BuildRequires: gstreamer-devel >= 0.10
cf9395dc 37BuildRequires: gstreamer-plugins-base-devel >= 0.10.30
c66a3aee 38BuildRequires: gtk+3-devel >= 3.0.0
f8e56294
AF
39BuildRequires: gtk-doc >= 1.10
40BuildRequires: libicu-devel >= 4.2.1
41BuildRequires: libjpeg-devel
42BuildRequires: libpng-devel
09ca9f01 43BuildRequires: libsoup-devel >= 2.38.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
cf9395dc 52BuildRequires: xorg-lib-libXrender-devel
09ca9f01
MB
53BuildRequires: xorg-lib-libXt-devel
54BuildRequires: zlib-devel
cf9395dc 55Requires: cairo >= 1.10
f8e56294 56Requires: enchant >= 0.22
09ca9f01 57Requires: glib2 >= 1:2.32.0
cf9395dc 58Requires: gstreamer-plugins-base >= 0.10.30
c66a3aee 59Requires: gtk+3 >= 3.0.0
09ca9f01 60Requires: libsoup >= 2.38.0
f8e56294
AF
61Requires: libxml2 >= 1:2.6.30
62Requires: libxslt >= 1.1.7
09ca9f01 63Requires: pango >= 1:1.21.0
f8e56294
AF
64%{?with_introspection:Conflicts: gir-repository < 0.6.5-7}
65BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
66
67%description
97c9d259 68gtk-webkit3 is a port of the WebKit embeddable web component to GTK+ 3.
f8e56294
AF
69
70%description -l pl.UTF-8
97c9d259 71gtk-webkit3 to port osadzalnego komponentu WWW WebKit do GTK+ 3.
f8e56294
AF
72
73%package devel
97c9d259
JB
74Summary: Development files for WebKit for GTK+ 3
75Summary(pl.UTF-8): Pliki programistyczne komponentu WebKit dla GTK+ 3
f8e56294
AF
76Group: X11/Development/Libraries
77Requires: %{name} = %{version}-%{release}
09ca9f01 78Requires: glib2-devel >= 1:2.32.0
c66a3aee 79Requires: gtk+3-devel >= 3.0.0
09ca9f01 80Requires: libsoup-devel >= 2.38.0
f8e56294
AF
81
82%description devel
97c9d259 83Development files for WebKit for GTK+ 3.
f8e56294
AF
84
85%description devel -l pl.UTF-8
97c9d259 86Pliki programistyczne komponentu WebKit dla GTK+ 3.
f8e56294 87
09ca9f01
MB
88%package apidocs
89Summary: WebKit API documentation
90Summary(pl.UTF-8): Dokumentacja API WebKita
91Group: Documentation
92Requires: gtk-doc-common
93
94%description apidocs
95WebKit API documentation.
96
97%description apidocs -l pl.UTF-8
98Dokumentacja API WebKita.
99
f8e56294
AF
100%prep
101%setup -q -n webkit-%{version}
97c9d259 102
f8e56294
AF
103%build
104%{__gtkdocize}
f8e56294 105%{__libtoolize}
7f68fdfd 106%{__aclocal} -I Source/autotools
f8e56294
AF
107%{__autoheader}
108%{__automake}
109%{__autoconf}
110%configure \
f8e56294 111 --disable-silent-rules \
c66a3aee
MB
112 %{__enable_disable introspection} \
113 --with-gtk=3.0 \
09ca9f01
MB
114 --enable-geolocation \
115 --enable-gtk-doc \
116 --with-html-dir=%{_gtkdocdir}
f8e56294
AF
117
118%{__make}
119
120%install
121rm -rf $RPM_BUILD_ROOT
122
123%{__make} install \
124 DESTDIR=$RPM_BUILD_ROOT
125
cf9395dc 126%{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la
959213a2 127
5a54ae22 128%find_lang webkit-3.0
f8e56294
AF
129
130%clean
131rm -rf $RPM_BUILD_ROOT
132
09ca9f01
MB
133%post -p /sbin/ldconfig
134%postun -p /sbin/ldconfig
f8e56294
AF
135
136%files -f webkit-3.0.lang
137%defattr(644,root,root,755)
97c9d259 138%doc ChangeLog NEWS
f8e56294
AF
139%attr(755,root,root) %{_bindir}/jsc-3
140%attr(755,root,root) %{_libdir}/libwebkitgtk-3.0.so.*.*.*
141%attr(755,root,root) %ghost %{_libdir}/libwebkitgtk-3.0.so.0
cf9395dc
AF
142%attr(755,root,root) %{_libdir}/libjavascriptcoregtk-3.0.so.*.*.*
143%attr(755,root,root) %ghost %{_libdir}/libjavascriptcoregtk-3.0.so.0
f8e56294
AF
144%if %{with introspection}
145%{_libdir}/girepository-1.0/JSCore-3.0.typelib
146%{_libdir}/girepository-1.0/WebKit-3.0.typelib
147%endif
c53434ba 148%dir %{_datadir}/webkitgtk-3.0
f8e56294 149%{_datadir}/webkitgtk-3.0/images
cf9395dc 150%{_datadir}/webkitgtk-3.0/resources
f8e56294 151%{_datadir}/webkitgtk-3.0/webinspector
f8e56294
AF
152
153%files devel
154%defattr(644,root,root,755)
155%attr(755,root,root) %{_libdir}/libwebkitgtk-3.0.so
cf9395dc 156%attr(755,root,root) %{_libdir}/libjavascriptcoregtk-3.0.so
f8e56294
AF
157%if %{with introspection}
158%{_datadir}/gir-1.0/JSCore-3.0.gir
159%{_datadir}/gir-1.0/WebKit-3.0.gir
160%endif
09ca9f01 161%{_includedir}/webkitgtk-3.0
f8e56294 162%{_pkgconfigdir}/webkitgtk-3.0.pc
cf9395dc 163%{_pkgconfigdir}/javascriptcoregtk-3.0.pc
09ca9f01
MB
164
165%files apidocs
166%defattr(644,root,root,755)
167%{_gtkdocdir}/webkitgtk
This page took 0.04757 seconds and 4 git commands to generate.