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