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