]>
Commit | Line | Data |
---|---|---|
83c17f84 | 1 | # TODO: optflags |
dfe444df | 2 | %define snap r31446 |
093f5867 PZ |
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 | |
0ebd4838 | 6 | Version: 1.0.0 |
9443b2fe | 7 | Release: 0.%{snap}.1 |
093f5867 PZ |
8 | License: BSD-like |
9 | Group: X11/Libraries | |
489d25fa | 10 | Source0: http://nightly.webkit.org/files/trunk/src/WebKit-%{snap}.tar.bz2 |
dfe444df | 11 | # Source0-md5: 990283d30138d2ff85bb4efee2139bae |
093f5867 PZ |
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 | |
8a5c1de2 | 24 | BuildRequires: libstdc++-devel |
093f5867 PZ |
25 | BuildRequires: libtool >= 2:1.5 |
26 | BuildRequires: libxslt-devel | |
27 | BuildRequires: pkgconfig | |
093f5867 PZ |
28 | BuildRequires: sqlite3-devel |
29 | BuildRequires: xorg-lib-libXft-devel >= 2.0.0 | |
30 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
31 | ||
32 | %description | |
33 | webkit is a port of the WebKit embeddable web component to GTK+. | |
34 | ||
35 | %description -l pl.UTF-8 | |
36 | webkit to port osadzalnego komponentu WWW WebKit do GTK+. | |
37 | ||
38 | %package devel | |
39 | Summary: Development files for webkit | |
40 | Summary(pl.UTF-8): Pliki programistyczne webkit | |
41 | Group: X11/Development/Libraries | |
721db7ac | 42 | Requires: %{name} = %{version}-%{release} |
093f5867 PZ |
43 | Requires: curl-devel >= 7.11.0 |
44 | Requires: fontconfig-devel >= 1.0.0 | |
093f5867 | 45 | Requires: librsvg-devel >= 2.2.0 |
8a5c1de2 | 46 | Requires: libstdc++-devel |
093f5867 PZ |
47 | Requires: xorg-lib-libXft-devel >= 2.0.0 |
48 | ||
49 | %description devel | |
50 | Development files for webkit. | |
51 | ||
52 | %description devel -l pl.UTF-8 | |
53 | Pliki programistyczne webkit. | |
54 | ||
55 | %prep | |
489d25fa | 56 | %setup -q -n WebKit-%{snap} |
093f5867 PZ |
57 | |
58 | %build | |
7166e40b PZ |
59 | %{__aclocal} |
60 | %{__libtoolize} | |
61 | %{__autoheader} | |
62 | %{__automake} | |
63 | %{__autoconf} | |
64 | %configure | |
65 | %{__make} | |
093f5867 PZ |
66 | |
67 | %install | |
68 | rm -rf $RPM_BUILD_ROOT | |
83c17f84 | 69 | |
7166e40b PZ |
70 | %{__make} install \ |
71 | DESTDIR=$RPM_BUILD_ROOT | |
093f5867 PZ |
72 | |
73 | %clean | |
74 | rm -rf $RPM_BUILD_ROOT | |
75 | ||
76 | %post -p /sbin/ldconfig | |
77 | %postun -p /sbin/ldconfig | |
78 | ||
79 | %files | |
80 | %defattr(644,root,root,755) | |
737227e7 | 81 | %attr(755,root,root) %{_libdir}/libwebkit-1.0.so.*.*.* |
093f5867 PZ |
82 | |
83 | %files devel | |
84 | %defattr(644,root,root,755) | |
737227e7 PZ |
85 | %attr(755,root,root) %{_libdir}/libwebkit-1.0.so |
86 | %{_libdir}/libwebkit-1.0.la | |
87 | %{_includedir}/webkit-1.0 | |
7166e40b | 88 | %{_pkgconfigdir}/webkit-1.0.pc |