]> git.pld-linux.org Git - packages/gtk-webkit.git/blob - gtk-webkit.spec
- current snapshot
[packages/gtk-webkit.git] / gtk-webkit.spec
1 # TODO: optflags
2 %define snap    20070827
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:        0.0
7 Release:        0.%{snap}.1
8 License:        BSD-like
9 Group:          X11/Libraries
10 Source0:        webkit-svn.tar.bz2
11 # Source0-md5:  bd304c2fb5759974ff019bf9a7bcd819
12 Patch0:         %{name}-qmake.patch
13 URL:            http://www.webkit.org/
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  bison
17 BuildRequires:  curl-devel >= 7.11.0
18 BuildRequires:  flex
19 BuildRequires:  fontconfig-devel >= 1.0.0
20 BuildRequires:  gperf
21 BuildRequires:  libicu-devel
22 BuildRequires:  libjpeg-devel
23 BuildRequires:  libpng-devel
24 BuildRequires:  librsvg-devel >= 2.2.0
25 BuildRequires:  libstdc++-devel
26 BuildRequires:  libtool >= 2:1.5
27 BuildRequires:  libxslt-devel
28 BuildRequires:  pkgconfig
29 BuildRequires:  qt4-qmake
30 BuildRequires:  sqlite3-devel
31 BuildRequires:  xorg-lib-libXft-devel >= 2.0.0
32 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
34 %description
35 webkit is a port of the WebKit embeddable web component to GTK+.
36
37 %description -l pl.UTF-8
38 webkit to port osadzalnego komponentu WWW WebKit do GTK+.
39
40 %package devel
41 Summary:        Development files for webkit
42 Summary(pl.UTF-8):      Pliki programistyczne webkit
43 Group:          X11/Development/Libraries
44 Requires:       %{name} = %{version}-%{release}
45 Requires:       curl-devel >= 7.11.0
46 Requires:       fontconfig-devel >= 1.0.0
47 Requires:       librsvg-devel >= 2.2.0
48 Requires:       libstdc++-devel
49 Requires:       xorg-lib-libXft-devel >= 2.0.0
50
51 %description devel
52 Development files for webkit.
53
54 %description devel -l pl.UTF-8
55 Pliki programistyczne webkit.
56
57 %prep
58 %setup -q -n webkit
59 %patch0 -p1
60
61 %build
62 WebKitTools/Scripts/build-webkit --gdk
63
64 %install
65 rm -rf $RPM_BUILD_ROOT
66
67 %{__make} -C WebKitBuild/Release install \
68         INSTALL_ROOT=$RPM_BUILD_ROOT
69
70 %clean
71 rm -rf $RPM_BUILD_ROOT
72
73 %post   -p /sbin/ldconfig
74 %postun -p /sbin/ldconfig
75
76 %files
77 %defattr(644,root,root,755)
78 %doc ChangeLog
79 %attr(755,root,root) %{_libdir}/libWebKitGdk.so.*.*.*
80
81 %files devel
82 %defattr(644,root,root,755)
83 %attr(755,root,root) %{_libdir}/libWebKitGdk.so
84 %{_libdir}/libWebKitGdk.prl
85 %{_includedir}/qt4/WebKitGtk
86 %{_pkgconfigdir}/WebKitGdk.pc
This page took 0.032658 seconds and 4 git commands to generate.