]> git.pld-linux.org Git - packages/opera.git/commitdiff
- add plain amd64 support
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 4 Sep 2007 11:59:48 +0000 (11:59 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    opera.spec -> 1.246

opera.spec

index 01cf7cf64a28869bee2607bec43f5271be0f3608..eb0f2f728ec9af45d7aaffc02a24330f23586533 100644 (file)
@@ -1,6 +1,7 @@
 # TODO:
 # - move translations into a separate, noarch package
 # - add kestrel (snap) x86_64 version (yes, it's available)
+# - drop those dozens of if statements and use branches for different sources
 #
 %bcond_without shared          # static or shared version
 %bcond_without distributable   # distributable or not
@@ -311,6 +312,12 @@ Source1022:        http://snapshot.opera.com/unix/%{ver}-%{reltype}/ppc-linux/%{name}-%
 %endif
 %endif
 
+%ifarch %{x8664}
+Source23:      http://snapshot.opera.com/unix/9.50-Alpha-1/x86_64-linux/%{name}-%{version}-%{dirrel}.2-shared-qt.x86_64-%{magicstr}.tar.bz2
+# Source23-md5:        40b850632dbb729a0bb16a1c450d97e5
+%{!?with_distributable:NoSource:       23}
+%endif
+
 Source4:       %{name}.desktop
 Patch0:                %{name}-wrapper.patch
 URL:           http://www.opera.com/
@@ -319,7 +326,7 @@ BuildRequires:      sed >= 4.0
 Requires:      browser-plugins >= 2.0
 Requires:      freetype >= 2
 Provides:      wwwbrowser
-ExclusiveArch: %{ix86} ppc sparc sparcv9
+ExclusiveArch: %{ix86} %{x8664} ppc sparc sparcv9
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _plugindir      %{_libdir}/opera/plugins
@@ -339,6 +346,9 @@ wersja jest skonsolidowana %{?with_shared:dynamicznie}%{!?with_shared:statycznie
 %ifarch %{ix86}
 %setup -q -T -b %{?with_weekly:30}%{?with_snap:10}%{?with_shared:2}0 -n %{name}-%{sver}-%{rel}-%{type}-qt.i386%{!?with_snap:-en}%{?magicstr:-%{magicstr}}
 %endif
+%ifarch %{x8664}
+%setup -q -T -b 23 -n %{name}-%{version}-%{dirrel}.2-shared-qt.x86_64-%{magicstr}
+%endif
 %ifarch sparc sparcv9
 %setup -q -T -b %{?with_weekly:30}%{?with_snap:10}%{?with_shared:2}1 -n %{name}-%{sver}-%{rel}-%{type}-qt.sparc%{!?with_snap:-en}-en%{?magicstr:-%{magicstr}}
 %endif
@@ -365,7 +375,8 @@ EOF
 sh install.sh \
        DESTDIR=$RPM_BUILD_ROOT \
        --prefix=%{_prefix} \
-       --exec_prefix=%{_libdir}/opera/bin \
+       --exec_prefix=%{_libdir}/%{name}/bin \
+       --plugindir=%{_libdir}/%{name}/plugins \
        --docdir=%{_operadocdir}
 
 # install in kde etc.
This page took 0.225492 seconds and 4 git commands to generate.