3 %bcond_without gecko # build without gecko support
4 %bcond_without webkit # build without webkit support
6 Summary: A browser with multiple rendering engines support
7 Summary(pl.UTF-8): Przeglądarka obsługująca wiele silników renderujących
12 Group: X11/Applications/Networking
13 Source0: http://downloads.sourceforge.jp/kazehakase/30219/%{name}-%{version}.tar.gz
14 # Source0-md5: 75f8afb9ddf4493c3a1fb4eb38a044df
15 Patch0: %{name}-desktop.patch
16 Patch1: %{name}-agent.patch
17 Patch2: %{name}-deprecated.patch
18 URL: http://kazehakase.sourceforge.jp/
19 BuildRequires: autoconf
20 BuildRequires: automake
21 BuildRequires: gettext-devel
22 BuildRequires: gnutls-devel
23 BuildRequires: gtk+2-devel
24 %{?with_webkit:BuildRequires: gtk-webkit-devel}
25 BuildRequires: libstdc++-devel
26 BuildRequires: libtool
27 BuildRequires: pkgconfig
28 %{?with_gecko:BuildRequires: xulrunner-devel}
29 Requires: %{name}-libs = %{version}-%{release}
30 Requires: kazehakase_engine
31 %requires_eq_to xulrunner xulrunner-devel
32 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34 # we have strict deps for it
35 %define _noautoreq libxpcom.so
38 Kazehakase is a browser which allow use many rendering engines. For
39 now it support only Gecko (like Epiphany or Galeon) and webkit engines.
41 %description -l pl.UTF-8
42 Kazehakase jest przeglądarką, która pozwala na używanie wielu
43 silników renderujących. Na dzień dzisiejszy obsługuje silniki Gecko
44 (taki jak w Epiphany lub Galeonie) oraz webkit.
47 Summary: Kazehakase libraries
48 Summary(pl.UTF-8): Biblioteki Kazehakase
52 This package contains Kazehakase libraries.
54 %description libs -l pl.UTF-8
55 Pakiet zawiera biblioteki Kazehakase.
58 Summary: Gecko plugin engine for Kazehakase
59 Summary(pl.UTF-8): Wtyczka Gecko dla Kazehakase
60 Group: X11/Applications/Networking
62 Provides: kazehakase_engine
64 %description plugin-gecko
65 This plugin provides Gecko rendering engine support.
67 %description plugin-gecko -l pl.UTF-8
68 Ta wtyczka dodaje obsługę silnika renderującego Gecko.
70 %package plugin-webkit
71 Summary: Webkit plugin engine for Kazehakase
72 Summary(pl.UTF-8): Wtyczka webkit dla Kazehakase
73 Group: X11/Applications/Networking
74 Provides: kazehakase_engine
76 %description plugin-webkit
77 This plugin provides webkit rendering engine support.
79 %description plugin-webkit -l pl.UTF-8
80 Ta wtyczka dodaje obsługę silnika renderującego webkit.
90 %{__aclocal} -I macros
94 %{!?with_gecko:--disable-gecko}
95 %{!?with_webkit:--disable-webkit}
100 rm -rf $RPM_BUILD_ROOT
103 libkazehakasedir=%{_libdir} \
104 DESTDIR=$RPM_BUILD_ROOT
107 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
108 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/embed/*.la
113 rm -rf $RPM_BUILD_ROOT
115 %post libs -p /sbin/ldconfig
116 %postun libs -p /sbin/ldconfig
118 %files -f %{name}.lang
119 %defattr(644,root,root,755)
120 %doc README README.ja AUTHORS ChangeLog COPYING.README TODO.ja
121 %{_sysconfdir}/%{name}
122 %attr(755,root,root) %{_bindir}/*
123 %{_desktopdir}/%{name}.desktop
129 %defattr(644,root,root,755)
130 %attr(755,root,root) %{_libdir}/lib*.so
131 %attr(755,root,root) %{_libdir}/lib*.so.*
132 %dir %{_libdir}/%{name}
133 %dir %{_libdir}/%{name}/embed
137 %defattr(644,root,root,755)
138 %attr(755,root,root) %{_libdir}/%{name}/embed/gecko.so
142 %defattr(644,root,root,755)
143 %attr(755,root,root) %{_libdir}/%{name}/embed/webkit_gtk.so