]> git.pld-linux.org Git - packages/gtk-webkit.git/blob - gtk-webkit.spec
- up to 1.2.2
[packages/gtk-webkit.git] / gtk-webkit.spec
1 # TODO: optflags
2 Summary:        Port of WebKit embeddable web component to GTK+
3 Summary(pl.UTF-8):      Port osadzalnego komponentu WWW WebKit do GTK+
4 Name:           gtk-webkit
5 Version:        1.2.2
6 Release:        1
7 License:        BSD-like
8 Group:          X11/Libraries
9 Source0:        http://webkitgtk.org/webkit-%{version}.tar.gz
10 # Source0-md5:  40338001324a38b977c163291e8816d3
11 URL:            http://webkitgtk.org/
12 Patch0:         %{name}-icu44.patch
13 BuildRequires:  autoconf >= 2.59
14 BuildRequires:  automake
15 BuildRequires:  bison
16 BuildRequires:  enchant-devel >= 0.22
17 BuildRequires:  flex >= 2.5.33
18 BuildRequires:  fontconfig-devel >= 2.4.0
19 BuildRequires:  geoclue-devel
20 BuildRequires:  gettext-devel
21 BuildRequires:  gir-repository-devel
22 BuildRequires:  glib2-devel >= 1:2.22.0
23 BuildRequires:  glibc-misc
24 BuildRequires:  gobject-introspection-devel >= 0.6.2
25 BuildRequires:  gperf
26 BuildRequires:  gstreamer-devel >= 0.10
27 BuildRequires:  gstreamer-plugins-base-devel >= 0.10.25
28 BuildRequires:  gtk+2-devel >= 2:2.20.0
29 BuildRequires:  gtk-doc >= 1.10
30 BuildRequires:  libicu-devel >= 4.2.1
31 BuildRequires:  libjpeg-devel
32 BuildRequires:  libpng-devel
33 BuildRequires:  libsoup-devel >= 2.30.0
34 BuildRequires:  libstdc++-devel
35 BuildRequires:  libtool >= 2:1.5
36 BuildRequires:  libxml2-devel >= 1:2.6.30
37 BuildRequires:  libxslt-devel
38 BuildRequires:  pkgconfig
39 BuildRequires:  sqlite3-devel
40 BuildRequires:  xorg-lib-libXft-devel >= 2.0.0
41 BuildRequires:  xorg-lib-libXt-devel
42 Requires:       gtk+2 >= 2:2.20.0
43 Requires:       libsoup >= 2.30.0
44 Conflicts:      gir-repository < 0.6.5-7
45 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
46
47 %description
48 webkit is a port of the WebKit embeddable web component to GTK+.
49
50 %description -l pl.UTF-8
51 webkit to port osadzalnego komponentu WWW WebKit do GTK+.
52
53 %package devel
54 Summary:        Development files for WebKit
55 Summary(pl.UTF-8):      Pliki programistyczne WebKit
56 Group:          X11/Development/Libraries
57 Requires:       %{name} = %{version}-%{release}
58 Requires:       fontconfig-devel >= 1.0.0
59 Requires:       glib2-devel >= 1:2.22.0
60 Requires:       gtk+2-devel >= 2:2.20.0
61 Requires:       libicu-devel
62 Requires:       libsoup-devel >= 2.30.0
63 Requires:       libstdc++-devel
64 Requires:       xorg-lib-libXft-devel >= 2.0.0
65
66 %description devel
67 Development files for WebKit.
68
69 %description devel -l pl.UTF-8
70 Pliki programistyczne WebKit.
71
72 %prep
73 %setup -q -n webkit-%{version}
74 %patch0 -p2
75
76 %build
77 %{__gtkdocize}
78 %{__aclocal} -I autotools
79 %{__libtoolize}
80 %{__autoheader}
81 %{__automake}
82 %{__autoconf}
83 %configure \
84         --disable-silent-rules \
85         --enable-3D-transforms \
86         --enable-dom-storage \
87         --enable-geolocation \
88         --enable-icon-database \
89         --enable-introspection \
90         --enable-video
91
92 %{__make}
93
94 %install
95 rm -rf $RPM_BUILD_ROOT
96
97 %{__make} install \
98         DESTDIR=$RPM_BUILD_ROOT
99
100 %find_lang webkit
101
102 %clean
103 rm -rf $RPM_BUILD_ROOT
104
105 %post   -p /sbin/ldconfig
106 %postun -p /sbin/ldconfig
107
108 %files -f webkit.lang
109 %defattr(644,root,root,755)
110 %attr(755,root,root) %{_bindir}/jsc
111 %attr(755,root,root) %{_libdir}/libwebkit-1.0.so.*.*.*
112 %attr(755,root,root) %ghost %{_libdir}/libwebkit-1.0.so.2
113 %{_libdir}/girepository-1.0/JSCore-1.0.typelib
114 %{_libdir}/girepository-1.0/WebKit-1.0.typelib
115 %dir %{_datadir}/webkit-1.0
116 %{_datadir}/webkit-1.0/images
117 %{_datadir}/webkit-1.0/resources
118 %{_datadir}/webkit-1.0/webinspector
119
120 %files devel
121 %defattr(644,root,root,755)
122 %attr(755,root,root) %{_libdir}/libwebkit-1.0.so
123 %{_libdir}/libwebkit-1.0.la
124 %{_datadir}/gir-1.0/JSCore-1.0.gir
125 %{_datadir}/gir-1.0/WebKit-1.0.gir
126 %{_includedir}/webkit-1.0
127 %{_pkgconfigdir}/webkit-1.0.pc
This page took 0.029649 seconds and 3 git commands to generate.