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