Hello community,

here is the log from the commit of package libatlas3 for openSUSE:Factory 
checked in at 2013-06-10 17:12:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libatlas3 (Old)
 and      /work/SRC/openSUSE:Factory/.libatlas3.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libatlas3"

Changes:
--------
New Changes file:

--- /dev/null   2013-06-08 20:45:13.000037006 +0200
+++ /work/SRC/openSUSE:Factory/.libatlas3.new/libatlas3.changes 2013-06-10 
17:12:05.000000000 +0200
@@ -0,0 +1,174 @@
+-------------------------------------------------------------------
+Tue Jun  4 11:59:46 UTC 2013 - jeng...@inai.de
+
+- Update license field (bnc#823048)
+
+-------------------------------------------------------------------
+Sun May 19 22:22:18 UTC 2013 - jeng...@inai.de
+
+- Fixed lack of "lib" prefix on i586's /usr/lib/atlas/*.a that made
+  the linker not find the libraries.
+
+-------------------------------------------------------------------
+Mon Jan 14 07:07:14 UTC 2013 - sco...@free.fr
+
+- add build requirements for update-alternatives
+- fix static library names in %%post scripts of the devel packages
+
+-------------------------------------------------------------------
+Sun Jan 13 20:33:28 UTC 2013 - sco...@free.fr
+
+- use update-alternative to easily switch between sse type on 
+  i586 arch
+- use update-alternative to easily switch between several
+  blas and lapack implementations
+- update atlas-suse-shared.patch in order to create the missing
+  symlinks between so files
+- create new sub package libatlas-sse-common-devel which contains
+  the headers files for the sse, sse2 and ss3 sub packages
+
+-------------------------------------------------------------------
+Sat Jan 12 16:03:10 UTC 2013 - sco...@free.fr
+
+- add missing symlinks between so files in devel packages
+- fix self osboletion of some package
+- package obsoletes atlas < 3.9 instead of 3.7
+- fix files list in sse-devel and sse3-devel subpackage so that
+  there are no more conflicting files
+
+-------------------------------------------------------------------
+Fri Jan 11 19:22:25 UTC 2013 - sco...@free.fr
+
+- update to version 3.10.1
+  * Fixed bad SSE guard that prevented PIII archdefs from working
+  * Added return to main of ATLAS/tune/sysinfo/matime.c
+  * Added ability for archinfo_x86.c to recognize more Corei2
+    platforms
+  * Fixed premature KillAllMMNodes in emit_mm.c 
+
+-------------------------------------------------------------------
+Sun Aug 12 11:23:49 UTC 2012 - opens...@dstoecker.de
+
+- update to 3.10.0 and fix build for several targets
+- fix license and group
+- fix typo in rpmlintrc
+- fix patch to work with 3.10.0
+
+-------------------------------------------------------------------
+Tue Dec 20 16:44:48 UTC 2011 - jeng...@medozas.de
+
+- Remove redundant/unwanted tags/section (cf. specfile guidelines)
+- Update rpm group
+- Use %_smp_mflags for parallel building
+
+-------------------------------------------------------------------
+Tue Apr 26 16:45:00 UTC 2011 - v...@ovi.com
+
+- Fixing i586 build
+
+-------------------------------------------------------------------
+Tue Apr 26 16:16:22 UTC 2011 - v...@ovi.com
+
+- Update to 3.9.35 version
+
+-------------------------------------------------------------------
+Mon Apr 11 19:52:42 UTC 2011 - l...@linux-schulserver.de
+
+- fixed typo in specfile (bnc #599484 )
+
+-------------------------------------------------------------------
+Sun Aug  8 15:19:24 UTC 2010 - dl8...@darc.de
+
+- fixed build for 11.3 i586 
+
+-------------------------------------------------------------------
+Fri May  1 15:10:47 CEST 2009 - saigk...@opensuse.org
+
+- cleanup Spec and Patches
+-------------------------------------------------------------------
+Fri May 01 15:09:00 CEST 2009 - dl...@gmx.de
+
+- imported new Spec from Fedora
+-------------------------------------------------------------------
+Sun Apr 26 14:42:15 CEST 2009 - saigk...@opensuse.org
+
+- removed *.a files 
+
+-------------------------------------------------------------------
+Sun Apr 26 12:29:59 CEST 2009 - saigk...@opensuse.org
+
+- cleaned up %%files Section
+
+------------------------------------------------------------------
+Mon Mar 23 01:42:49 CET 2009 - saigk...@opensuse.org
+
+- updated to Version 3.8.3:
+
+   * New architectures, arch-specific kernels, and configure support:  
+     - Changed Core2Duo arch to simply Core2  
+       + New kernels backported from 3.9.x for Core2 substantially   
+         increase Core2 performance  
+       + New arch defs for all Core2 archs  
+     - Added recognition of Corei7 architecture  
+       + Added arch defs which presently use new Core2-tuned kernels  
+     - Added new K10h kernel  
+       - Updated 64-bit arch defs to use it  
+    * Fixed bugs:  
+     - Fixed archinfo_x86 to always use extended family type   
+       (new usage)  
+     - Fixed error causing GEMM to get wrong answer if K=3 on   
+       MIPS arch  
+     - Fixed bug in TRSM tuning  
+     - Pervasive performance bug in GEMM, affecting all architectures  
+     - Occasional access of C when BETA=0  
+
+------------------------------------------------------------------
+Sun Mar 15 12:22:00 CET 2009 - saigk...@opensuse.org
+
+- added rpmlintrc
+
+------------------------------------------------------------------
+Thu Mar 12 22:09:01 CET 2009 - saigk...@opensuse.org
+
+- fixed Compiler Errors
+
+------------------------------------------------------------------
+Fri Feb 06 13:07 UTC 2009 - saigk...@opensuse.org
+
+- updated to Version 3.8.2
+
+------------------------------------------------------------------
+Thu Jan 29 23:58:00 CET 2009 - saigk...@opensuse.org
+
+- added atlas3.8.2-makelib.patch to fix SONAME
+
+------------------------------------------------------------------
+Mon Jan 12 11:43 UTC 2009 - saigk...@opensuse.org
+
+- branched for openSUSE:contrib
+------------------------------------------------------------------
+Thu Sep 25 15:00:36 CEST 2008 - l...@linux-schulserver.de
+
+- moved to Education base repository
+------------------------------------------------------------------
+Mon Mar 24 18:52:57 CET 2008 - l...@linux-schulserver.de
+
+- update to 3.8.1
+  + Fixed bug in slvtst that counted complex flops same as real
+  + Fixed bug causing wrong answer for row-major gemm C=A*A' or A'A in 
+  + Improved L1 BLAS timers so they work like the rest of the package, and
+    thus don't die all the time on tolerance failures
+  + Improved ATLAS/tune/blas/gemm/mmsearch.c:
+    - for x86, tried more registers, since smart compiler can reduce A & B
+      regs to 2 (and possibly even 1)
+    - Made it so search tries both load-C-at-top and load-C-at-bottom of
+      M loop.  Bottom is superior for error, and ATLAS originally defaulted
+      to load-C-at-top.
+- added %check section
+- run -p /sbin/ldconfig to avoid /bin/bash dependency
+- steps in INSTALL.txt is already done -> remove from doc
+------------------------------------------------------------------
+Wed Oct 17 00:00:00 CET 2007 - Filip Brcic <br...@gna.org>
+
+- Initial version of libatlas3 package for openSUSE
+

New:
----
  README.SuSE
  atlas-suse-shared.patch
  atlas3.10.1.tar.bz2
  libatlas3-rpmlintrc
  libatlas3.changes
  libatlas3.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libatlas3.spec ++++++
#
# spec file for package libatlas3
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


%define enable_native_atlas 0

Name:           libatlas3
Version:        3.10.1
Release:        0
Summary:        Automatically Tuned Linear Algebra Software
License:        BSD-3-Clause and GPL-2.0
Group:          Development/Libraries/C and C++
Url:            http://math-atlas.sourceforge.net/
Source0:        atlas%{version}.tar.bz2
Source1:        README.SuSE
Patch0:         atlas-suse-shared.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  update-alternatives
PreReq:         update-alternatives
BuildRequires:  gcc-fortran
BuildRequires:  lapack-devel

%description
The ATLAS (Automatically Tuned Linear Algebra Software) project is an
ongoing research effort focusing on applying empirical techniques in
order to provide portable performance. At present, it provides C and
Fortran77 interfaces to a portably efficient BLAS implementation, as
well as a few routines from LAPACK.

The performance improvements in ATLAS are obtained largely via
compile-time optimizations and tend to be specific to a given hardware
configuration. In order to package ATLAS for openSUSE some compromises
are necessary so that good performance can be obtained on a variety
of hardware. This set of ATLAS binary packages is therefore not
necessarily optimal for any specific hardware configuration.  However,
the source package can be used to compile customized ATLAS packages;
see the documentation for information.

%package devel
Summary:        Development libraries for ATLAS
License:        BSD-3-Clause
Group:          Development/Libraries/C and C++
Requires:       %{name} = %{version}

%description devel
This package contains the static libraries and headers for development
with ATLAS (Automatically Tuned Linear Algebra Software).

%define types base

%if "%{?enable_native_atlas}" == "0"
############## Subpackages for architecture extensions #################
#
# Because a set of ATLAS libraries is a ~5 MB package, separate packages
# are created for SSE, SSE2, and SSE3 extensions to ix86.

%ifarch i586
%define types sse sse2 sse3

%package sse
Summary:        ATLAS libraries for SSE extensions
License:        BSD-3-Clause
Group:          System/Libraries
Obsoletes:      %{name}-3dnow < 3.9
Provides:       %{name} = %{version}-%{release}
Provides:       %{name}-3dnow = %{version}-%{release}
Obsoletes:      %{name} < %{version}-%{release}

%description sse
This package contains the ATLAS (Automatically Tuned Linear Algebra
Software) libraries compiled with optimizations for the SSE(1) extensions
to the ix86 architecture. openSUSE also produces ATLAS build with SSE2 and SSE3
extensions.

%package sse-devel
Summary:        Development libraries for ATLAS with SSE extensions
License:        BSD-3-Clause
Group:          Development/Libraries/C and C++
Requires:       %{name}-sse = %{version}-%{release}
Requires:       %{name}-sse-common-devel = %{version}-%{release}
Obsoletes:      %{name}-3dnow-devel < 3.9
Provides:       %{name}-3dnow-devel = %{version}-%{release}

%description sse-devel
This package contains headers and static versions of the ATLAS
(Automatically Tuned Linear Algebra Software) libraries compiled with
optimizations for the SSE(1) extensions to the ix86 architecture.

%package sse2
Summary:        ATLAS libraries for SSE2 extensions
License:        BSD-3-Clause
Group:          System/Libraries
Obsoletes:      %{name} < 3.9
Provides:       %{name} = %{version}-%{release}
Provides:       %{name} = %{version}-%{release}
Obsoletes:      %{name} < %{version}-%{release}

%description sse2
This package contains the ATLAS (Automatically Tuned Linear Algebra
Software) libraries compiled with optimizations for the SSE2
extensions to the ix86 architecture. openSUSE also produces ATLAS build with
SSE(1) and SSE3 extensions.

%package sse2-devel
Summary:        Development libraries for ATLAS with SSE2 extensions
License:        BSD-3-Clause
Group:          Development/Libraries/C and C++
Requires:       %{name}-sse-common-devel = %{version}-%{release}
Requires:       %{name}-sse2 = %{version}-%{release}
Obsoletes:      %{name}-devel < 3.9
Provides:       %{name}-devel = %{version}-%{release}

%description sse2-devel
This package contains headers and static versions of the ATLAS
(Automatically Tuned Linear Algebra Software) libraries compiled with
optimizations for the SSE2 extensions to the ix86 architecture.

%package sse3
Summary:        ATLAS libraries for SSE3 extensions
License:        BSD-3-Clause
Group:          System/Libraries
Provides:       %{name} = %{version}-%{release}
Obsoletes:      %{name} < %{version}-%{release}

%description sse3
This package contains the ATLAS (Automatically Tuned Linear Algebra
Software) libraries compiled with optimizations for the SSE3.
openSUSE also produces ATLAS build with SSE(1) and SSE2 extensions.

%package sse3-devel
Summary:        Development libraries for ATLAS with SSE3 extensions
License:        BSD-3-Clause
Group:          Development/Libraries/C and C++
Requires:       %{name}-sse-common-devel = %{version}-%{release}
Requires:       %{name}-sse3 = %{version}-%{release}

%description sse3-devel
This package contains headers and static versions of the ATLAS
(Automatically Tuned Linear Algebra Software) libraries compiled with
optimizations for the sse3 extensions to the ix86 architecture.

%package sse-common-devel
Summary:        Headers files for ATLAS
License:        BSD-3-Clause
Group:          Development/Libraries/C and C++
Requires:       %{name} = %{version}

%description sse-common-devel
This package contains the headers for development
with ATLAS (Automatically Tuned Linear Algebra Software).


%endif
%endif

%ifarch x86_64 ppc64
%define mode 64
%else
%define mode 32
%endif

%prep
%setup -q -n ATLAS
%patch0 -p1
cp %{SOURCE1} doc

%build
for type in %{types}; do
        if [ "$type" = "base" ]; then
                libname=atlas
        else
                libname=atlas-${type}
        fi
        mkdir -p %{_arch}_${type}
        pushd %{_arch}_${type}
        export CFLAGS="-g -w %{optflags}"  
        export CXXFLAGS="-g -w %{optflags}"  
        ../configure -b %mode --shared \
        --prefix=%{buildroot}%{_prefix}                 \
        --incdir=%{buildroot}%{_includedir}             \
        --libdir=%{buildroot}%{_libdir}/${libname}

        if [ "$type" = "sse" ]; then
                sed -i 's#ARCH =.*#ARCH = PIII32SSE1#' Make.inc
                sed -i 's#-DATL_SSE3 -DATL_SSE2##' Make.inc 
        elif [ "$type" = "sse2" ]; then
                sed -i 's#ARCH =.*#ARCH = P432SSE2#' Make.inc
                sed -i 's#-DATL_SSE3##' Make.inc 
        elif [ "$type" = "sse3" ]; then
                sed -i 's#ARCH =.*#ARCH = P4E32SSE3#' Make.inc
        fi
        make build %{?_smp_mflags}
        cd lib
        make shared %{?_smp_mflags}
        make ptshared %{?_smp_mflags}
        popd
done

%install
for type in %{types}; do
        pushd %{_arch}_${type}
        %makeinstall
        if [ "$type" = "base" ]; then
                cp -pr lib/*.so* %{buildroot}%{_libdir}/atlas/
        else
                cp -pr lib/*.so* %{buildroot}%{_libdir}/atlas-${type}/
        fi
        popd
done

mkdir -p %{buildroot}/etc/ld.so.conf.d
echo "%{_libdir}/atlas" > %{buildroot}/etc/ld.so.conf.d/atlas-%{_arch}.conf

%ifarch i586 && %if "%{?enable_native_atlas}" == "0"
mkdir -p %{buildroot}%{_libdir}/atlas
%endif

%ifnarch i586 || %if "%{?enable_native_atlas}" == "1"

%post
"%_sbindir/update-alternatives" --install \
   %{_libdir}/libblas.so.3 libblas.so.3     %{_libdir}/atlas/libsatlas.so.3  20
"%_sbindir/update-alternatives" --install \
   %{_libdir}/liblapack.so.3 liblapack.so.3 %{_libdir}/atlas/libsatlas.so.3  20
"%_sbindir/update-alternatives" --install \
   %{_libdir}/libblas.so.3 libblas.so.3     %{_libdir}/atlas/libtatlas.so.3  20
"%_sbindir/update-alternatives" --install \
   %{_libdir}/liblapack.so.3 liblapack.so.3 %{_libdir}/atlas/libtatlas.so.3  20
/sbin/ldconfig

%preun
if [ "$1" = 0 ] ; then
   "%_sbindir/update-alternatives" --remove libblas.so.3   
%{_libdir}/atlas/libsatlas.so.3
   "%_sbindir/update-alternatives" --remove liblapack.so.3 
%{_libdir}/atlas/libsatlas.so.3
   "%_sbindir/update-alternatives" --remove libblas.so.3   
%{_libdir}/atlas/libtatlas.so.3
   "%_sbindir/update-alternatives" --remove liblapack.so.3 
%{_libdir}/atlas/libtatlas.so.3
fi

%postun -p /sbin/ldconfig

%files
%defattr(-,root,root,-)
%doc doc/README.SuSE
%dir %{_libdir}/atlas
%{_libdir}/atlas/*.so.*
%config(noreplace) /etc/ld.so.conf.d/atlas-%{_arch}.conf

%files devel
%defattr(-,root,root,-)
%doc doc
%{_libdir}/atlas/*.so
%{_libdir}/atlas/*.a
%{_includedir}/atlas
%{_includedir}/*.h

%else

%post   -n libatlas3-sse
"%_sbindir/update-alternatives" --install \
   %{_libdir}/atlas/libsatlas.so.3 libsatlas.so.3 
%{_libdir}/atlas-sse/libsatlas.so.3.0  20
"%_sbindir/update-alternatives" --install \
   %{_libdir}/atlas/libtatlas.so.3 libtatlas.so.3 
%{_libdir}/atlas-sse/libtatlas.so.3.0  20
"%_sbindir/update-alternatives" --install \
   %{_libdir}/libblas.so.3 libblas.so.3     %{_libdir}/atlas/libsatlas.so.3  20
"%_sbindir/update-alternatives" --install \
   %{_libdir}/liblapack.so.3 liblapack.so.3 %{_libdir}/atlas/libsatlas.so.3  20
/sbin/ldconfig

%preun   -n libatlas3-sse
if [ "$1" = 0 ] ; then
   "%_sbindir/update-alternatives" --remove libsatlas.so.3 
%{_libdir}/atlas-sse/libsatlas.so.3.0
   "%_sbindir/update-alternatives" --remove libtatlas.so.3 
%{_libdir}/atlas-sse/libtatlas.so.3.0
   "%_sbindir/update-alternatives" --remove libblas.so.3   
%{_libdir}/atlas/libsatlas.so.3
   "%_sbindir/update-alternatives" --remove liblapack.so.3 
%{_libdir}/atlas/libsatlas.so.3
   "%_sbindir/update-alternatives" --remove libblas.so.3   
%{_libdir}/atlas/libtatlas.so.3
   "%_sbindir/update-alternatives" --remove liblapack.so.3 
%{_libdir}/atlas/libtatlas.so.3
fi

%postun -n libatlas3-sse -p /sbin/ldconfig

%post    -n libatlas3-sse2
"%_sbindir/update-alternatives" --install \
   %{_libdir}/atlas/libsatlas.so.3 libsatlas.so.3 
%{_libdir}/atlas-sse2/libsatlas.so.3.0  20
"%_sbindir/update-alternatives" --install \
   %{_libdir}/atlas/libtatlas.so.3 libtatlas.so.3 
%{_libdir}/atlas-sse2/libtatlas.so.3.0  20
"%_sbindir/update-alternatives" --install \
   %{_libdir}/libblas.so.3 libblas.so.3     %{_libdir}/atlas/libsatlas.so.3  20
"%_sbindir/update-alternatives" --install \
   %{_libdir}/liblapack.so.3 liblapack.so.3 %{_libdir}/atlas/libsatlas.so.3  20
/sbin/ldconfig

%preun   -n libatlas3-sse2
if [ "$1" = 0 ] ; then
   "%_sbindir/update-alternatives" --remove libsatlas.so.3 
%{_libdir}/atlas-sse2/libsatlas.so.3.0
   "%_sbindir/update-alternatives" --remove libtatlas.so.3 
%{_libdir}/atlas-sse2/libtatlas.so.3.0
   "%_sbindir/update-alternatives" --remove libblas.so.3   
%{_libdir}/atlas/libsatlas.so.3
   "%_sbindir/update-alternatives" --remove liblapack.so.3 
%{_libdir}/atlas/libsatlas.so.3
   "%_sbindir/update-alternatives" --remove libblas.so.3   
%{_libdir}/atlas/libtatlas.so.3
   "%_sbindir/update-alternatives" --remove liblapack.so.3 
%{_libdir}/atlas/libtatlas.so.3
fi

%postun -n libatlas3-sse2 -p /sbin/ldconfig

%post   -n libatlas3-sse3
"%_sbindir/update-alternatives" --install \
   %{_libdir}/atlas/libsatlas.so.3 libsatlas.so.3 
%{_libdir}/atlas-sse3/libsatlas.so.3.0  20
"%_sbindir/update-alternatives" --install \
   %{_libdir}/atlas/libtatlas.so.3 libtatlas.so.3 
%{_libdir}/atlas-sse3/libtatlas.so.3.0  20
"%_sbindir/update-alternatives" --install \
   %{_libdir}/libblas.so.3 libblas.so.3     %{_libdir}/atlas/libsatlas.so.3  20
"%_sbindir/update-alternatives" --install \
   %{_libdir}/liblapack.so.3 liblapack.so.3 %{_libdir}/atlas/libsatlas.so.3  20
/sbin/ldconfig

%preun   -n libatlas3-sse3
if [ "$1" = 0 ] ; then
   "%_sbindir/update-alternatives" --remove libsatlas.so.3 
%{_libdir}/atlas-sse3/libsatlas.so.3.0
   "%_sbindir/update-alternatives" --remove libtatlas.so.3 
%{_libdir}/atlas-sse3/libtatlas.so.3.0
   "%_sbindir/update-alternatives" --remove libblas.so.3   
%{_libdir}/atlas/libsatlas.so.3
   "%_sbindir/update-alternatives" --remove liblapack.so.3 
%{_libdir}/atlas/libsatlas.so.3
   "%_sbindir/update-alternatives" --remove libblas.so.3   
%{_libdir}/atlas/libtatlas.so.3
   "%_sbindir/update-alternatives" --remove liblapack.so.3 
%{_libdir}/atlas/libtatlas.so.3
fi

%postun -n libatlas3-sse3 -p /sbin/ldconfig

%post   -n libatlas3-sse-devel
"%_sbindir/update-alternatives" \
    --install %{_libdir}/atlas/libatlas.a   libatlas.a     
%{_libdir}/atlas-sse/libatlas.a  20 \
    --slave %{_libdir}/atlas/libptf77blas.a libptf77blas.a 
%{_libdir}/atlas-sse/libptf77blas.a \
    --slave %{_libdir}/atlas/libptcblas.a   libptcblas.a   
%{_libdir}/atlas-sse/libptcblas.a \
    --slave %{_libdir}/atlas/libf77blas.a   libf77blas.a   
%{_libdir}/atlas-sse/libf77blas.a \
    --slave %{_libdir}/atlas/libcblas.a     libcblas.a     
%{_libdir}/atlas-sse/libcblas.a \
    --slave %{_libdir}/atlas/liblapack.a    liblapack.a    
%{_libdir}/atlas-sse/liblapack.a

%preun   -n libatlas3-sse-devel
if [ "$1" = 0 ] ; then
   "%_sbindir/update-alternatives" --remove libatlas.a 
%{_libdir}/atlas-sse/libatlas.a
fi

%post   -n libatlas3-sse2-devel
"%_sbindir/update-alternatives" \
    --install %{_libdir}/atlas/libatlas.a   libatlas.a     
%{_libdir}/atlas-sse2/libatlas.a  20 \
    --slave %{_libdir}/atlas/libptf77blas.a libptf77blas.a 
%{_libdir}/atlas-sse2/libptf77blas.a \
    --slave %{_libdir}/atlas/libptcblas.a   libptcblas.a   
%{_libdir}/atlas-sse2/libptcblas.a \
    --slave %{_libdir}/atlas/libf77blas.a   libf77blas.a   
%{_libdir}/atlas-sse2/libf77blas.a \
    --slave %{_libdir}/atlas/libcblas.a     libcblas.a     
%{_libdir}/atlas-sse2/libcblas.a \
    --slave %{_libdir}/atlas/liblapack.a    liblapack.a    
%{_libdir}/atlas-sse2/liblapack.a

%preun   -n libatlas3-sse2-devel
if [ "$1" = 0 ] ; then
   "%_sbindir/update-alternatives" --remove libatlas.a 
%{_libdir}/atlas-sse2/libatlas.a
fi

%post   -n libatlas3-sse3-devel
"%_sbindir/update-alternatives" \
    --install %{_libdir}/atlas/libatlas.a   libatlas.a     
%{_libdir}/atlas-sse3/libatlas.a  20 \
    --slave %{_libdir}/atlas/libptf77blas.a libptf77blas.a 
%{_libdir}/atlas-sse3/libptf77blas.a \
    --slave %{_libdir}/atlas/libptcblas.a   libptcblas.a   
%{_libdir}/atlas-sse3/libptcblas.a \
    --slave %{_libdir}/atlas/libf77blas.a   libf77blas.a   
%{_libdir}/atlas-sse3/libf77blas.a \
    --slave %{_libdir}/atlas/libcblas.a     libcblas.a     
%{_libdir}/atlas-sse3/libcblas.a \
    --slave %{_libdir}/atlas/liblapack.a    liblapack.a    
%{_libdir}/atlas-sse3/liblapack.a

%preun   -n libatlas3-sse3-devel
if [ "$1" = 0 ] ; then
   "%_sbindir/update-alternatives" --remove libatlas.a 
%{_libdir}/atlas-sse3/libatlas.a
fi

%files sse
%defattr(-,root,root,-)
%doc doc/README.SuSE
%dir %{_libdir}/atlas-sse
%dir %{_libdir}/atlas
%{_libdir}/atlas-sse/lib*.so.*

%files sse-devel
%defattr(-,root,root,-)
%doc doc
%{_libdir}/atlas-sse/lib*.so
%{_libdir}/atlas-sse/lib*.a

%files sse2
%defattr(-,root,root,-)
%doc doc/README.SuSE
%dir %{_libdir}/atlas-sse2
%dir %{_libdir}/atlas
%{_libdir}/atlas-sse2/lib*.so.*

%files sse2-devel
%defattr(-,root,root,-)
%doc doc
%{_libdir}/atlas-sse2/lib*.so
%{_libdir}/atlas-sse2/lib*.a

%files sse3
%defattr(-,root,root,-)
%doc doc/README.SuSE
%dir %{_libdir}/atlas-sse3
%dir %{_libdir}/atlas
%{_libdir}/atlas-sse3/lib*.so.*

%files sse3-devel
%defattr(-,root,root,-)
%doc doc
%{_libdir}/atlas-sse3/lib*.so
%{_libdir}/atlas-sse3/lib*.a

%files sse-common-devel
%defattr(-,root,root,-)
%{_includedir}/atlas
%{_includedir}/*.h
%config(noreplace) /etc/ld.so.conf.d/atlas-%{_arch}.conf

%endif

%changelog
++++++ README.SuSE ++++++
Notes on the OpenSUSE version of ATLAS

by Quentin Spencer
updated: October 4, 2005

updated by Deji Akingunola
October 15, 2008

updated by Sascha Manns
May 02, 2009

Because ATLAS relies on compile-time optimizations to obtain improved
performance over BLAS and LAPACK, the resulting binaries are closely
tied to the hardware on which they are compiled, and can likely result
in very poor performance on other hardware.  For this reason,
including a package like ATLAS in OpenSUSE requires some compromises.
Firstly, a binary ATLAS package must perform reasonably well on the
entire range of hardware on which it could potentially be installed.
Optimizing ATLAS for the most modern hardware can result in
significant performance penalties for users using the same package on
older hardware.  Second, building from the same source package must
result in identical binaries for any computer of a particular
architecture.  This is because the binaries installed on a user's
computer are built on a computer in the OpenSUSE Extras build system,
which will have hardware different from the end user's hardware, and
quite possibly different from other available hardware in the build
system.

As of version 3.8.3 (in OpenSUSE), ATLAS builds uses achitectural defaults,
are partial results of past searches when the compiler and architecture
are known, to discover the appropriate kernels used to build all the required
libraries. They make install time quicker and also ensure that good results are
obtained, since they typically represent several searches and/or user
intervention into the usual search so that maximum performance is found.
The result is a set of libraries that will not
necessarily achieve optimal performance on any given hardware but
should still offer significant performance gains over the reference
BLAS and LAPACK libraries on most hardware.  The binary package
includes the atlas libraries as well as binary-compatible blas and
lapack libraries that should work as a drop-in replacement for the
standard ones (they are installed in /usr/lib{64}/atlas* rather than
/usr/lib{64}).

For i386 systems, 3 ATLAS subpackages are built for SSE1, SSE2, and SSE3 ix86
extensions, using architectural defaults obtained from PIII, Pentium 4 with
SSE2 extension and PENTIUM 4 with SSE3 extensions respectively.

This package is designed to build RPMs that are identical regardless
of where they are compiled and that provide reasonable performance on
a wide range of hardware. For users who want optimal performance on
particular hardware, custom RPMs can be built from the source package
by setting the RPM macro "enable_native_atlas" to a value of 1. This
can be done from the command line as in the following example:

rpmbuild -D "enable_native_atlas 1" --rebuild atlas-3.8.2-1.src.rpm

This will cause the ATLAS build to use the achitectural default most
appropriate for the system on which the package is to be built.
++++++ atlas-suse-shared.patch ++++++
diff -ur ATLAS/makes/Make.lib ATLAS_fix/makes/Make.lib
--- ATLAS/makes/Make.lib        2013-01-08 19:15:41.000000000 +0100
+++ ATLAS_fix/makes/Make.lib    2013-01-13 19:21:29.422259967 +0100
@@ -4,6 +4,8 @@
 #
 # override with libatlas.so only when atlas is built to one lib
 #
+so_ver_major=3
+so_ver = $(so_ver_major).0
 DYNlibs = liblapack.so libf77blas.so libcblas.so libatlas.so 
 PTDYNlibs = liblapack.so libptf77blas.so libptcblas.so libatlas.so 
 CDYNlibs = liblapack.so libcblas.so libatlas.so 
@@ -112,9 +114,15 @@
 # These are a bunch of different ways to attempt to build a .so, try them all
 #
 LDTRY:
-       $(LD) $(LDFLAGS) -shared -soname $(LIBINSTdir)/$(outso) -o $(outso) \
-           -rpath-link $(LIBINSTdir)  \
-           --whole-archive $(libas) --no-whole-archive $(LIBS)
+#      $(LD) $(LDFLAGS) -shared -soname $(LIBINSTdir)/$(outso) -o $(outso) \
+#           -rpath-link $(LIBINSTdir)  \
+#           --whole-archive $(libas) --no-whole-archive $(LIBS)
+       mkdir static_libs ; pushd static_libs && $(foreach file,$(libas),ar x 
../$(file);)  popd ; \
+       $(LD) $(LDFLAGS) -shared -soname=$(outso).$(so_ver_major) \
+        -o $(outso).$(so_ver) static_libs/*.o $(LIBS) ; \
+        ln -s $(outso).$(so_ver) $(outso).$(so_ver_major) ; \
+        ln -s $(outso).$(so_ver) $(outso) ; \
+       rm -rf static_libs
 GCCTRY:
        $(GOODGCC) -shared -o $(outso)  \
            -Wl,"rpath-link $(LIBINSTdir)" \
++++++ libatlas3-rpmlintrc ++++++
# This line is mandatory to access the configuration functions
from Config import *

addFilter("files-duplicate")
addFilter("shared-lib-without-dependency-information")
addFilter("unstripped-binary-or-object")
addFilter("zero-length")
addFilter("shared-lib-calls-exit")--
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to