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