]> git.pld-linux.org Git - packages/gtk-webkit.git/blame - gtk-webkit.spec
- up to 1.2.4
[packages/gtk-webkit.git] / gtk-webkit.spec
CommitLineData
83c17f84 1# TODO: optflags
2bb12873
ER
2#
3# Conditional build:
4%bcond_without introspection # disable introspection
5
093f5867
PZ
6Summary: Port of WebKit embeddable web component to GTK+
7Summary(pl.UTF-8): Port osadzalnego komponentu WWW WebKit do GTK+
8Name: gtk-webkit
09247b08 9Version: 1.2.4
33073d86 10Release: 1
093f5867
PZ
11License: BSD-like
12Group: X11/Libraries
618d2705 13Source0: http://webkitgtk.org/webkit-%{version}.tar.gz
09247b08 14# Source0-md5: dc3a92dd0e8c2e70263fbfdf809b51a5
618d2705 15URL: http://webkitgtk.org/
957ed3e7 16BuildRequires: autoconf >= 2.59
093f5867
PZ
17BuildRequires: automake
18BuildRequires: bison
957ed3e7 19BuildRequires: enchant-devel >= 0.22
8cf2b70b
MB
20BuildRequires: flex >= 2.5.33
21BuildRequires: fontconfig-devel >= 2.4.0
5aeb4243 22BuildRequires: geoclue-devel
94f95ec8 23BuildRequires: gettext-devel
2bb12873 24%{?with_introspection:BuildRequires: gir-repository-devel}
957ed3e7 25BuildRequires: glib2-devel >= 1:2.22.0
46f0db60 26BuildRequires: glibc-misc
2bb12873 27%{?with_introspection:BuildRequires: gobject-introspection-devel >= 0.6.2}
fb358f22 28BuildRequires: gperf
69b139d9 29BuildRequires: gstreamer-devel >= 0.10
8cf2b70b 30BuildRequires: gstreamer-plugins-base-devel >= 0.10.25
bfbcbc59 31BuildRequires: gtk+2-devel >= 2:2.20.0
957ed3e7 32BuildRequires: gtk-doc >= 1.10
5aeb4243 33BuildRequires: libicu-devel >= 4.2.1
093f5867
PZ
34BuildRequires: libjpeg-devel
35BuildRequires: libpng-devel
8cf2b70b 36BuildRequires: libsoup-devel >= 2.30.0
8a5c1de2 37BuildRequires: libstdc++-devel
093f5867 38BuildRequires: libtool >= 2:1.5
957ed3e7 39BuildRequires: libxml2-devel >= 1:2.6.30
093f5867
PZ
40BuildRequires: libxslt-devel
41BuildRequires: pkgconfig
093f5867
PZ
42BuildRequires: sqlite3-devel
43BuildRequires: xorg-lib-libXft-devel >= 2.0.0
d3f90b4e 44BuildRequires: xorg-lib-libXt-devel
fd966165 45Requires: gtk+2 >= 2:2.20.0
8cf2b70b 46Requires: libsoup >= 2.30.0
2bb12873 47%{?with_introspection:Conflicts: gir-repository < 0.6.5-7}
093f5867
PZ
48BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
49
50%description
51webkit is a port of the WebKit embeddable web component to GTK+.
52
53%description -l pl.UTF-8
54webkit to port osadzalnego komponentu WWW WebKit do GTK+.
55
56%package devel
8cf2b70b
MB
57Summary: Development files for WebKit
58Summary(pl.UTF-8): Pliki programistyczne WebKit
093f5867 59Group: X11/Development/Libraries
721db7ac 60Requires: %{name} = %{version}-%{release}
093f5867 61Requires: fontconfig-devel >= 1.0.0
957ed3e7 62Requires: glib2-devel >= 1:2.22.0
fd966165 63Requires: gtk+2-devel >= 2:2.20.0
3a48f35a 64Requires: libicu-devel
8cf2b70b 65Requires: libsoup-devel >= 2.30.0
8a5c1de2 66Requires: libstdc++-devel
093f5867
PZ
67Requires: xorg-lib-libXft-devel >= 2.0.0
68
69%description devel
8cf2b70b 70Development files for WebKit.
093f5867
PZ
71
72%description devel -l pl.UTF-8
8cf2b70b 73Pliki programistyczne WebKit.
093f5867
PZ
74
75%prep
209fb730 76%setup -q -n webkit-%{version}
093f5867 77
f8294a65
ER
78# http://trac.webkit.org/browser/trunk/WebKit/gtk/JSCore.gir.in
79%{__sed} -i -e 's,repository version="1.0",repository version="1.1",' WebKit/gtk/JSCore-1.0.gir
80
093f5867 81%build
ad571464 82%{__gtkdocize}
209fb730 83%{__aclocal} -I autotools
7166e40b
PZ
84%{__libtoolize}
85%{__autoheader}
86%{__automake}
87%{__autoconf}
bb1a4556 88%configure \
8cf2b70b 89 --disable-silent-rules \
5aeb4243 90 --enable-3D-transforms \
d4c376cd 91 --enable-dom-storage \
5aeb4243 92 --enable-geolocation \
d4c376cd 93 --enable-icon-database \
2bb12873 94 --%{!?with_introspection:dis}%{?with_introspection:en}able-introspection \
209fb730 95 --enable-video
ebd32623 96
7166e40b 97%{__make}
093f5867
PZ
98
99%install
100rm -rf $RPM_BUILD_ROOT
83c17f84 101
7166e40b
PZ
102%{__make} install \
103 DESTDIR=$RPM_BUILD_ROOT
093f5867 104
9d45f565
PZ
105%find_lang webkit
106
093f5867
PZ
107%clean
108rm -rf $RPM_BUILD_ROOT
109
110%post -p /sbin/ldconfig
111%postun -p /sbin/ldconfig
112
9d45f565 113%files -f webkit.lang
093f5867 114%defattr(644,root,root,755)
0a5e205f 115%attr(755,root,root) %{_bindir}/jsc
737227e7 116%attr(755,root,root) %{_libdir}/libwebkit-1.0.so.*.*.*
1806eaed 117%attr(755,root,root) %ghost %{_libdir}/libwebkit-1.0.so.2
2bb12873 118%if %{with introspection}
8cf2b70b
MB
119%{_libdir}/girepository-1.0/JSCore-1.0.typelib
120%{_libdir}/girepository-1.0/WebKit-1.0.typelib
2bb12873 121%endif
f6f1db2b 122%dir %{_datadir}/webkit-1.0
01619705 123%{_datadir}/webkit-1.0/images
9d45f565 124%{_datadir}/webkit-1.0/resources
f6f1db2b 125%{_datadir}/webkit-1.0/webinspector
093f5867
PZ
126
127%files devel
128%defattr(644,root,root,755)
737227e7
PZ
129%attr(755,root,root) %{_libdir}/libwebkit-1.0.so
130%{_libdir}/libwebkit-1.0.la
2bb12873 131%if %{with introspection}
8cf2b70b
MB
132%{_datadir}/gir-1.0/JSCore-1.0.gir
133%{_datadir}/gir-1.0/WebKit-1.0.gir
2bb12873 134%endif
737227e7 135%{_includedir}/webkit-1.0
7166e40b 136%{_pkgconfigdir}/webkit-1.0.pc
This page took 0.192934 seconds and 4 git commands to generate.