]> git.pld-linux.org Git - packages/gtk-webkit.git/blob - gtk-webkit.spec
- r31201
[packages/gtk-webkit.git] / gtk-webkit.spec
1 # TODO: optflags
2 %define snap    r31201
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}.3
8 License:        BSD-like
9 Group:          X11/Libraries
10 Source0:        http://nightly.webkit.org/files/trunk/src/WebKit-%{snap}.tar.bz2
11 # Source0-md5:  c9359d4ccfe22e910ad8de9580948cbf
12 Patch0:         %{name}-ppc.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:  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 %patch0 -p0
59
60 %build
61 %{__aclocal}
62 %{__libtoolize}
63 %{__autoheader}
64 %{__automake}
65 %{__autoconf}
66 %configure
67 %{__make}
68
69 %install
70 rm -rf $RPM_BUILD_ROOT
71
72 %{__make} install \
73         DESTDIR=$RPM_BUILD_ROOT
74
75 %clean
76 rm -rf $RPM_BUILD_ROOT
77
78 %post   -p /sbin/ldconfig
79 %postun -p /sbin/ldconfig
80
81 %files
82 %defattr(644,root,root,755)
83 %attr(755,root,root) %{_libdir}/libwebkit-1.0.so.*.*.*
84
85 %files devel
86 %defattr(644,root,root,755)
87 %attr(755,root,root) %{_libdir}/libwebkit-1.0.so
88 %{_libdir}/libwebkit-1.0.la
89 %{_includedir}/webkit-1.0
90 %{_pkgconfigdir}/webkit-1.0.pc
This page took 0.686356 seconds and 3 git commands to generate.