]> git.pld-linux.org Git - packages/gtk-webkit.git/blob - gtk-webkit.spec
- r36247
[packages/gtk-webkit.git] / gtk-webkit.spec
1 # TODO: optflags
2 %define snap    r36247
3 Summary:        Port of WebKit embeddable web component to GTK+
4 Summary(pl.UTF-8):      Port osadzalnego komponentu WWW WebKit do GTK+
5 Name:           gtk-webkit
6 Version:        1.0.2
7 Release:        0.%{snap}.1
8 License:        BSD-like
9 Group:          X11/Libraries
10 Source0:        http://nightly.webkit.org/files/trunk/src/WebKit-%{snap}.tar.bz2
11 # Source0-md5:  2a9f36cf1b2d0f5f16c3d9926b9e8f08
12 URL:            http://www.webkit.org/
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  bison
16 BuildRequires:  curl-devel >= 7.11.0
17 BuildRequires:  flex
18 BuildRequires:  fontconfig-devel >= 1.0.0
19 BuildRequires:  gnome-vfs2-devel
20 BuildRequires:  gperf
21 BuildRequires:  gstreamer-devel >= 0.10
22 BuildRequires:  gstreamer-plugins-base-devel
23 BuildRequires:  libicu-devel
24 BuildRequires:  libjpeg-devel
25 BuildRequires:  libpng-devel
26 BuildRequires:  librsvg-devel >= 2.2.0
27 BuildRequires:  libstdc++-devel
28 BuildRequires:  libtool >= 2:1.5
29 BuildRequires:  libxslt-devel
30 BuildRequires:  pango-devel
31 BuildRequires:  pkgconfig
32 BuildRequires:  sqlite3-devel
33 BuildRequires:  xorg-lib-libXft-devel >= 2.0.0
34 BuildRequires:  xorg-lib-libXt-devel
35 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36
37 %description
38 webkit is a port of the WebKit embeddable web component to GTK+.
39
40 %description -l pl.UTF-8
41 webkit to port osadzalnego komponentu WWW WebKit do GTK+.
42
43 %package devel
44 Summary:        Development files for webkit
45 Summary(pl.UTF-8):      Pliki programistyczne webkit
46 Group:          X11/Development/Libraries
47 Requires:       %{name} = %{version}-%{release}
48 Requires:       curl-devel >= 7.11.0
49 Requires:       fontconfig-devel >= 1.0.0
50 Requires:       libicu-devel
51 Requires:       librsvg-devel >= 2.2.0
52 Requires:       libstdc++-devel
53 Requires:       xorg-lib-libXft-devel >= 2.0.0
54
55 %description devel
56 Development files for webkit.
57
58 %description devel -l pl.UTF-8
59 Pliki programistyczne webkit.
60
61 %prep
62 %setup -q -n WebKit-%{snap}
63
64 %build
65 %{__aclocal}
66 %{__libtoolize}
67 %{__autoheader}
68 %{__automake}
69 %{__autoconf}
70 %configure \
71         --enable-dom-storage \
72         --enable-icon-database \
73         --enable-svg-experimental \
74         --enable-svg-filters \
75         --enable-video \
76         --with-font-backend=pango
77 %{__make}
78
79 %install
80 rm -rf $RPM_BUILD_ROOT
81
82 %{__make} install \
83         DESTDIR=$RPM_BUILD_ROOT
84
85 %clean
86 rm -rf $RPM_BUILD_ROOT
87
88 %post   -p /sbin/ldconfig
89 %postun -p /sbin/ldconfig
90
91 %files
92 %defattr(644,root,root,755)
93 %attr(755,root,root) %{_bindir}/jsc
94 %attr(755,root,root) %{_libdir}/libwebkit-1.0.so.*.*.*
95 %attr(755,root,root) %ghost %{_libdir}/libwebkit-1.0.so.1
96
97 %files devel
98 %defattr(644,root,root,755)
99 %attr(755,root,root) %{_libdir}/libwebkit-1.0.so
100 %{_libdir}/libwebkit-1.0.la
101 %{_includedir}/webkit-1.0
102 %{_pkgconfigdir}/webkit-1.0.pc
This page took 0.035922 seconds and 4 git commands to generate.