%bcond_with snap # snap version
%bcond_with weekly # weekly snapshot version
-%ifarch sparc64 sparc
+%ifarch sparc sparc64
%undefine with_shared
%endif
%if %{with weekly}
-%define ver 9.12
+%define ver 9.20
%define sver %{ver}
%define fix %{nil}
-%define dirrel 20070119
-%define magicstr 543
+%define dirrel 20070330
+%define magicstr 628
%define with_snap 1
%else
%if %{with snap}
%define type shared
# We should be able to build src.rpm also on not supported archs
%define rel %{x86_shared_rel}
-%ifarch sparc64 sparc
+%ifarch sparc sparc64
#%%define rel %{sparc_shared_rel}
%define rel %{sparc_static_rel}
-%endif
+%else
%ifarch ppc
%define rel %{ppc_shared_rel}
%endif
+%endif
%else
%define type static
%define rel %{x86_static_rel}
%ifarch sparc sparc64
%define rel %{sparc_static_rel}
-%endif
+%else
%ifarch ppc
%define rel %{ppc_static_rel}
%endif
%endif
+%endif
# define to 0 and then redefine to avoid
# not defined macros
# with shared; [endif]
%endif
# with snap; [endif]
-%endif
-# is ix86; [endif]
+%else
+# is ix86: [else]
%ifarch sparc sparc64
# is sparc? [if]
%if %{with snap}
# with shared; [endif]
%endif
# with snap; [endif]
-%endif
-# is sparc; [endif]
+%else
+# is sparc: [else]
%ifarch ppc
# is ppc? [if]
%if %{with snap}
# with shared: [else]
%define need_ppc_static 1
%endif
-# with shared; [endif
+# with shared; [endif]
%endif
-# with snap; [endif
+# with snap; [endif]
%endif
# is ppc; [endif]
%endif
+# is sparc; [endif]
+%endif
+# is ix86; [endif]
+%endif
# with incall; [endif]
%if %{with weekly}
%define _rel 4
Summary: World fastest web browser
-Summary(pl): Najszybsza przegl±darka WWW na ¶wiecie
+Summary(pl.UTF-8): Najszybsza przeglądarka WWW na świecie
Name: opera
Version: %{ver}%{fix}
Release: %{?with_snap:1.%{rel}.}%{_rel}
%if %{need_ix86_shared_snap}
%if %{with weekly}
Source301020: http://snapshot.opera.com/unix/Weekly-%{magicstr}/intel-linux/%{name}-%{sver}-%{x86_shared_rel}-shared-qt.i386-en-%{magicstr}.tar.bz2
-# Source301020-md5: df8ced96f6fbb345ceacc01e51acc770
+# Source301020-md5: 232b0111e9b9c0a7266c66776f597ba5
%else
Source1020: http://snapshot.opera.com/unix/%{ver}-%{reltype}/%{magicstr}/intel-linux/%{name}-%{sver}-%{x86_shared_rel}-shared-qt.i386-en.tar.bz2
# Source1020-md5: 6f296be6b9fc3001588d4509016062bd
extensions of HTML. And it is quite stable. This version is %{?with_shared:shared}%{!?with_shared:statically}
linked with Qt.
-%description -l pl
-Opera jest najszybsz± przegl±dark± WWW na ¶wiecie. Obs³uguje wiêkszo¶æ
-dzisiejszych rozszerzeñ HTML-a. Dodatkowo jest w miarê stabilna. Ta
+%description -l pl.UTF-8
+Opera jest najszybszą przeglądarką WWW na świecie. Obsługuje większość
+dzisiejszych rozszerzeń HTML-a. Dodatkowo jest w miarę stabilna. Ta
wersja jest skonsolidowana %{?with_shared:dynamicznie}%{!?with_shared:statycznie} z Qt.
%prep
# use mplayerplug-in-opera instead
mplayerplug-in*
+
+# opera uses libjava.so to run java
+libjavaplugin_oji.so
EOF
sh install.sh \