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