diff -ruN atlas-3.8.3-12.4.el6.src.rpm-rpmbuild/SOURCES/atlas-arm.patch atlas-3.8.3-12.4.el6.0.src.rpm-rpmbuild/SOURCES/atlas-arm.patch
--- atlas-3.8.3-12.4.el6.src.rpm-rpmbuild/SOURCES/atlas-arm.patch	1970-01-01 01:00:00.000000000 +0100
+++ atlas-3.8.3-12.4.el6.0.src.rpm-rpmbuild/SOURCES/atlas-arm.patch	2011-10-03 23:42:21.000000000 +0100
@@ -0,0 +1,51 @@
+Only in ATLAS: arm_base
+diff -dur ATLAS.backup/CONFIG/include/atlconf.h ATLAS/CONFIG/include/atlconf.h
+--- ATLAS.backup/CONFIG/include/atlconf.h	2009-02-18 19:47:37.000000000 +0100
++++ ATLAS/CONFIG/include/atlconf.h	2009-10-13 11:40:08.198080808 +0200
+@@ -16,13 +16,13 @@
+ 
+ enum ARCHFAM {AFOther=0, AFPPC, AFSPARC, AFALPHA, AFX86, AFIA64, AFMIPS};
+ 
+-#define NMACH 33
++#define NMACH 34
+ static char *machnam[NMACH] =
+    {"UNKNOWN", "POWER3", "POWER4", "POWER5", "PPCG4", "PPCG5",
+     "P5", "P5MMX", "PPRO", "PII", "PIII", "PM", "CoreSolo",
+     "CoreDuo", "Core2Solo", "Core2", "Corei7", "P4", "P4E", "Efficeon", "K7",
+     "HAMMER", "AMD64K10h", "UNKNOWNx86", "IA64Itan", "IA64Itan2",
+-    "USI", "USII", "USIII", "USIV", "UnknownUS", "MIPSR1xK", "MIPSICE9"};
++    "USI", "USII", "USIII", "USIV", "UnknownUS", "MIPSR1xK", "MIPSICE9", "ARM"};
+ enum MACHTYPE {MACHOther, IbmPwr3, IbmPwr4, IbmPwr5, PPCG4, PPCG5,
+                IntP5, IntP5MMX, IntPPRO, IntPII, IntPIII, IntPM, IntCoreS,
+                IntCoreDuo, IntCore2Solo, IntCore2, IntCorei7, IntP4, IntP4E,
+@@ -30,7 +30,8 @@
+                AmdAthlon, AmdHammer, Amd64K10h, x86X, IA64Itan, IA64Itan2,
+                SunUSI, SunUSII, SunUSIII, SunUSIV, SunUSX,
+                MIPSR1xK, /* includes R10K, R12K, R14K, R16K */
+-               MIPSICE9   /* SiCortex ICE9 -- like MIPS5K */
++               MIPSICE9,   /* SiCortex ICE9 -- like MIPS5K */
++	       ARM
+                };
+ #define MachIsX86(mach_) \
+    ( (mach_) >= IntP5 && (mach_) <= x86X )
+@@ -42,6 +43,8 @@
+    ( (mach_) >= MIPSR1xK && (mach_) <= MIPSICE9 )
+ #define MachIsPPC(mach_) \
+    ( (mach_) >= PPCG4 && (mach_) <= PPCG5 )
++#define MachIsARM(mach_) \
++   ( (mach_) == ARM )
+ 
+ static char *f2c_namestr[5] = {"UNKNOWN","Add_", "Add__", "NoChange", "UpCase"};
+ static char *f2c_intstr[5] =
+diff -dur ATLAS.backup/CONFIG/src/probe_comp.c ATLAS/CONFIG/src/probe_comp.c
+--- ATLAS.backup/CONFIG/src/probe_comp.c	2009-02-18 19:47:37.000000000 +0100
++++ ATLAS/CONFIG/src/probe_comp.c	2009-10-13 11:33:27.178082471 +0200
+@@ -507,6 +507,8 @@
+ 
+    if (MachIsIA64(arch))
+       return(sp);
++   if (MachIsARM(arch))
++      return(sp);
+    if (MachIsMIPS(arch))
+       return((ptrbits == 64) ? "-mabi=64" : "-mabi=n32");
+    if (!CompIsGcc(comp))
diff -ruN atlas-3.8.3-12.4.el6.src.rpm-rpmbuild/SPECS/atlas.spec atlas-3.8.3-12.4.el6.0.src.rpm-rpmbuild/SPECS/atlas.spec
--- atlas-3.8.3-12.4.el6.src.rpm-rpmbuild/SPECS/atlas.spec	2010-06-10 10:23:32.000000000 +0100
+++ atlas-3.8.3-12.4.el6.0.src.rpm-rpmbuild/SPECS/atlas.spec	2011-10-03 23:41:12.000000000 +0100
@@ -1,8 +1,12 @@
 %define enable_native_atlas 0
+%ifarch %{arm}
+%define arch_option -A 33
+%define threads_option -t 2
+%endif
 
 Name:           atlas
 Version:        3.8.3
-Release:        12.4%{?dist}
+Release:        12.4%{?dist}.0
 Summary:        Automatically Tuned Linear Algebra Software
 
 Group:          System Environment/Libraries
@@ -15,6 +19,7 @@
 Patch0:		atlas-fedora_shared.patch
 #s390 is 31bit and gcc doesn't have the -m32 parameter
 Patch1:		atlas-s390-m31.patch
+Patch100:	atlas-arm.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  gcc-gfortran lapack-devel
@@ -153,6 +158,7 @@
 %setup -q -n ATLAS
 %patch0 -p0 -b .shared
 %patch1 -p1 -b .s390
+%patch100 -p1 -b .arm
 cp %{SOURCE1} CONFIG/ARCHS/
 cp %{SOURCE2} CONFIG/ARCHS/
 cp %{SOURCE3} doc
@@ -167,7 +173,11 @@
 	fi
 	mkdir -p %{_arch}_${type}
 	pushd %{_arch}_${type}
+	%ifnarch %{arm}
 	../configure -b %{__isa_bits} -D c -DWALL -Fa alg '-g -Wa,--noexecstack -fPIC'\
+	%else
+	../configure -b %{mode} %{?threads_option} %{?arch_option} -D c -DWALL -Fa alg '-g -Wa,--noexecstack -fPIC'\
+	%endif
 	-Si cputhrchk 0\
 	--prefix=%{buildroot}%{_prefix}			\
 	--incdir=%{buildroot}%{_includedir}		\
