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