]> git.pld-linux.org Git - packages/gtk-webkit.git/blob - gtk-webkit.spec
- rel 4
[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:        4
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.20.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:       gtk+2 >= 2:2.20.0
40 Requires:       libsoup >= 2.30.0
41 Conflicts:      gir-repository < 0.6.5-7
42 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
43
44 %description
45 webkit is a port of the WebKit embeddable web component to GTK+.
46
47 %description -l pl.UTF-8
48 webkit to port osadzalnego komponentu WWW WebKit do GTK+.
49
50 %package devel
51 Summary:        Development files for WebKit
52 Summary(pl.UTF-8):      Pliki programistyczne WebKit
53 Group:          X11/Development/Libraries
54 Requires:       %{name} = %{version}-%{release}
55 Requires:       fontconfig-devel >= 1.0.0
56 Requires:       glib2-devel >= 1:2.22.0
57 Requires:       gtk+2-devel >= 2:2.20.0
58 Requires:       libicu-devel
59 Requires:       libsoup-devel >= 2.30.0
60 Requires:       libstdc++-devel
61 Requires:       xorg-lib-libXft-devel >= 2.0.0
62
63 %description devel
64 Development files for WebKit.
65
66 %description devel -l pl.UTF-8
67 Pliki programistyczne WebKit.
68
69 %prep
70 %setup -q -n webkit-%{version}
71
72 %build
73 %{__gtkdocize}
74 %{__aclocal} -I autotools
75 %{__libtoolize}
76 %{__autoheader}
77 %{__automake}
78 %{__autoconf}
79 %configure \
80         --disable-silent-rules \
81         --enable-dom-storage \
82         --enable-icon-database \
83         --enable-introspection \
84         --enable-video
85 %{__make}
86
87 %install
88 rm -rf $RPM_BUILD_ROOT
89
90 %{__make} install \
91         DESTDIR=$RPM_BUILD_ROOT
92
93 %find_lang webkit
94
95 %clean
96 rm -rf $RPM_BUILD_ROOT
97
98 %post   -p /sbin/ldconfig
99 %postun -p /sbin/ldconfig
100
101 %files -f webkit.lang
102 %defattr(644,root,root,755)
103 %attr(755,root,root) %{_bindir}/jsc
104 %attr(755,root,root) %{_libdir}/libwebkit-1.0.so.*.*.*
105 %attr(755,root,root) %ghost %{_libdir}/libwebkit-1.0.so.2
106 %{_libdir}/girepository-1.0/JSCore-1.0.typelib
107 %{_libdir}/girepository-1.0/WebKit-1.0.typelib
108 %dir %{_datadir}/webkit-1.0
109 %{_datadir}/webkit-1.0/images
110 %{_datadir}/webkit-1.0/resources
111 %{_datadir}/webkit-1.0/webinspector
112
113 %files devel
114 %defattr(644,root,root,755)
115 %attr(755,root,root) %{_libdir}/libwebkit-1.0.so
116 %{_libdir}/libwebkit-1.0.la
117 %{_datadir}/gir-1.0/JSCore-1.0.gir
118 %{_datadir}/gir-1.0/WebKit-1.0.gir
119 %{_includedir}/webkit-1.0
120 %{_pkgconfigdir}/webkit-1.0.pc
This page took 0.045236 seconds and 4 git commands to generate.