]> git.pld-linux.org Git - packages/gtk-webkit4.git/blame - gtk-webkit3.spec
- BR/R stable libsoup
[packages/gtk-webkit4.git] / gtk-webkit3.spec
CommitLineData
7200a9cd 1# TODO:
7200a9cd 2# - review configure options
f8e56294
AF
3#
4# Conditional build:
5%bcond_without introspection # disable introspection
6#
7Summary: Port of WebKit embeddable web component to GTK+
8Summary(pl.UTF-8): Port osadzalnego komponentu WWW WebKit do GTK+
9Name: gtk-webkit3
7f68fdfd 10Version: 1.3.13
d5b16fe6 11Release: 1
f8e56294
AF
12License: BSD-like
13Group: X11/Libraries
14Source0: http://webkitgtk.org/webkit-%{version}.tar.gz
7f68fdfd 15# Source0-md5: 984adaafac545a89c24351fd4dbd743c
f8e56294
AF
16URL: http://webkitgtk.org/
17BuildRequires: autoconf >= 2.59
18BuildRequires: automake
19BuildRequires: bison
20BuildRequires: cairo-devel >= 1.6
21BuildRequires: enchant-devel >= 0.22
22BuildRequires: flex >= 2.5.33
23BuildRequires: fontconfig-devel >= 2.4.0
24BuildRequires: freetype-devel >= 1:2.1.8
25BuildRequires: geoclue-devel
26BuildRequires: gettext-devel
c66a3aee 27BuildRequires: glib2-devel >= 1:2.28.0
f8e56294 28BuildRequires: glibc-misc
c66a3aee 29%{?with_introspection:BuildRequires: gobject-introspection-devel >= 0.10.0}
f8e56294
AF
30BuildRequires: gperf
31BuildRequires: gstreamer-devel >= 0.10
32BuildRequires: gstreamer-plugins-base-devel >= 0.10.25
c66a3aee 33BuildRequires: gtk+3-devel >= 3.0.0
f8e56294
AF
34BuildRequires: gtk-doc >= 1.10
35BuildRequires: libicu-devel >= 4.2.1
36BuildRequires: libjpeg-devel
37BuildRequires: libpng-devel
1e21f0c2 38BuildRequires: libsoup-devel >= 2.34.0
f8e56294
AF
39BuildRequires: libstdc++-devel
40BuildRequires: libtool >= 2:1.5
41BuildRequires: libxml2-devel >= 1:2.6.30
42BuildRequires: libxslt-devel >= 1.1.7
43BuildRequires: pango-devel >= 1:1.12
44BuildRequires: pkgconfig
c66a3aee 45BuildRequires: rpmbuild(macros) >= 1.592
f8e56294
AF
46BuildRequires: sqlite3-devel
47BuildRequires: xorg-lib-libXft-devel >= 2.0.0
48BuildRequires: xorg-lib-libXt-devel
c66a3aee 49Requires(post,postun): glib2 >= 1:2.26.0
f8e56294
AF
50Requires: cairo >= 1.6
51Requires: enchant >= 0.22
52Requires: gstreamer-plugins-base >= 0.10.25
c66a3aee 53Requires: gtk+3 >= 3.0.0
1e21f0c2 54Requires: libsoup >= 2.34.0
f8e56294
AF
55Requires: libxml2 >= 1:2.6.30
56Requires: libxslt >= 1.1.7
57Requires: pango >= 1:1.12
58%{?with_introspection:Conflicts: gir-repository < 0.6.5-7}
59BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
60
61%description
62webkit is a port of the WebKit embeddable web component to GTK+.
63
64%description -l pl.UTF-8
65webkit to port osadzalnego komponentu WWW WebKit do GTK+.
66
67%package devel
68Summary: Development files for WebKit
69Summary(pl.UTF-8): Pliki programistyczne WebKit
70Group: X11/Development/Libraries
71Requires: %{name} = %{version}-%{release}
c66a3aee
MB
72Requires: glib2-devel >= 1:2.28.0
73Requires: gtk+3-devel >= 3.0.0
1e21f0c2 74Requires: libsoup-devel >= 2.34.0
f8e56294
AF
75
76%description devel
77Development files for WebKit.
78
79%description devel -l pl.UTF-8
80Pliki programistyczne WebKit.
81
82%prep
83%setup -q -n webkit-%{version}
84
85%build
86%{__gtkdocize}
f8e56294 87%{__libtoolize}
7f68fdfd 88%{__aclocal} -I Source/autotools
f8e56294
AF
89%{__autoheader}
90%{__automake}
91%{__autoconf}
92%configure \
f8e56294 93 --disable-silent-rules \
c66a3aee
MB
94 %{__enable_disable introspection} \
95 --with-gtk=3.0 \
bb409ad4 96 --enable-3d-transforms \
f8e56294
AF
97 --enable-dom-storage \
98 --enable-geolocation \
99 --enable-icon-database \
f8e56294
AF
100 --enable-video \
101 --with-font-backend=freetype
102
103%{__make}
104
105%install
106rm -rf $RPM_BUILD_ROOT
107
108%{__make} install \
109 DESTDIR=$RPM_BUILD_ROOT
110
959213a2
AF
111%{__rm} $RPM_BUILD_ROOT%{_libdir}/libwebkitgtk-3.0.la
112
5a54ae22 113%find_lang webkit-3.0
f8e56294
AF
114
115%clean
116rm -rf $RPM_BUILD_ROOT
117
c66a3aee
MB
118%post
119/sbin/ldconfig
120%glib_compile_schemas
121
122%postun
123/sbin/ldconfig
124%glib_compile_schemas
f8e56294
AF
125
126%files -f webkit-3.0.lang
127%defattr(644,root,root,755)
128%doc ChangeLog
129%attr(755,root,root) %{_bindir}/jsc-3
130%attr(755,root,root) %{_libdir}/libwebkitgtk-3.0.so.*.*.*
131%attr(755,root,root) %ghost %{_libdir}/libwebkitgtk-3.0.so.0
132%if %{with introspection}
133%{_libdir}/girepository-1.0/JSCore-3.0.typelib
134%{_libdir}/girepository-1.0/WebKit-3.0.typelib
135%endif
136%dir %{_datadir}/webkit-3.0
c53434ba
PZ
137%{_datadir}/webkit-3.0/resources
138%dir %{_datadir}/webkitgtk-3.0
f8e56294
AF
139%{_datadir}/webkitgtk-3.0/images
140%{_datadir}/webkitgtk-3.0/webinspector
c66a3aee 141%{_datadir}/glib-2.0/schemas/org.webkitgtk-3.0.gschema.xml
f8e56294
AF
142
143%files devel
144%defattr(644,root,root,755)
145%attr(755,root,root) %{_libdir}/libwebkitgtk-3.0.so
f8e56294
AF
146%if %{with introspection}
147%{_datadir}/gir-1.0/JSCore-3.0.gir
148%{_datadir}/gir-1.0/WebKit-3.0.gir
149%endif
150%{_includedir}/webkit-3.0
151%{_pkgconfigdir}/webkitgtk-3.0.pc
This page took 0.043008 seconds and 4 git commands to generate.