Deji Akingunola 9680a0
%define enable_native_atlas 0
Deji Akingunola 9680a0
Quentin Spencer cdd562
Name:           atlas
Deji Akingunola 8a1f9d
Version:        3.8.4
Deji Akingunola 8a1f9d
%if "%{?enable_native_atlas}" != "0"
Deji Akingunola 8a1f9d
%define dist .native
Deji Akingunola 8a1f9d
%endif
Dan Horák b46b99
Release:        2%{?dist}
Quentin Spencer cdd562
Summary:        Automatically Tuned Linear Algebra Software
Quentin Spencer cdd562
Quentin Spencer cdd562
Group:          System Environment/Libraries
Quentin Spencer cdd562
License:        BSD
Quentin Spencer cdd562
URL:            http://math-atlas.sourceforge.net/
Deji Akingunola e96058
Source0:        http://downloads.sourceforge.net/math-atlas/%{name}%{version}.tar.bz2
Deji Akingunola 7d1f5e
Source1:        PPRO32.tgz
Deji Akingunola 7d1f5e
Source2:        K7323DNow.tgz
Deji Akingunola 7d1f5e
Source3:        README.Fedora
Dennis Gilmore 6c07c0
Source4:        USII64.tgz                                              
Dennis Gilmore 6c07c0
Source5:        USII32.tgz                                              
Deji Akingunola 8a1f9d
Source6:        IBMz1032.tgz
Deji Akingunola 8a1f9d
Source7:        IBMz1064.tgz
Deji Akingunola 8a1f9d
Source8:        IBMz19632.tgz
Deji Akingunola 8a1f9d
Source9:        IBMz19664.tgz
Deji Akingunola 9680a0
Patch0:		atlas-fedora_shared.patch
Deji Akingunola 8a1f9d
Patch1:         atlas-s390port.patch
Quentin Spencer cdd562
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Quentin Spencer cdd562
Deji Akingunola 532d6c
BuildRequires:  gcc-gfortran lapack-static
Quentin Spencer cdd562
Quentin Spencer cdd562
%description
Quentin Spencer cdd562
The ATLAS (Automatically Tuned Linear Algebra Software) project is an
Quentin Spencer cdd562
ongoing research effort focusing on applying empirical techniques in
Quentin Spencer cdd562
order to provide portable performance. At present, it provides C and
Quentin Spencer cdd562
Fortran77 interfaces to a portably efficient BLAS implementation, as
Quentin Spencer cdd562
well as a few routines from LAPACK.
Quentin Spencer cdd562
Quentin Spencer 2c4ed2
The performance improvements in ATLAS are obtained largely via
Quentin Spencer cdd562
compile-time optimizations and tend to be specific to a given hardware
Quentin Spencer cdd562
configuration. In order to package ATLAS for Fedora some compromises
Quentin Spencer 2c4ed2
are necessary so that good performance can be obtained on a variety
Quentin Spencer cdd562
of hardware. This set of ATLAS binary packages is therefore not
Quentin Spencer 2c4ed2
necessarily optimal for any specific hardware configuration.  However,
Quentin Spencer 2c4ed2
the source package can be used to compile customized ATLAS packages;
Quentin Spencer 2c4ed2
see the documentation for information.
Quentin Spencer cdd562
Quentin Spencer cdd562
%package devel
Quentin Spencer cdd562
Summary:        Development libraries for ATLAS
Quentin Spencer cdd562
Group:          Development/Libraries
Quentin Spencer cdd562
Requires:       %{name} = %{version}-%{release}
Deji Akingunola 3cd5fa
Obsoletes:	%name-header <= %version-%release
Dan Horák 811a0e
Requires(posttrans):	chkconfig
Deji Akingunola 3cd5fa
Requires(preun):	chkconfig
Quentin Spencer cdd562
Quentin Spencer cdd562
%description devel
Deji Akingunola 532d6c
This package contains the libraries and headers for development
Quentin Spencer cdd562
with ATLAS (Automatically Tuned Linear Algebra Software).
Quentin Spencer cdd562
Deji Akingunola 9680a0
%define types base
Quentin Spencer cdd562
Deji Akingunola 9680a0
%if "%{?enable_native_atlas}" == "0"
Quentin Spencer cdd562
############## Subpackages for architecture extensions #################
Quentin Spencer cdd562
#
Deji Akingunola ef2314
%ifarch x86_64
Deji Akingunola 8a1f9d
%define types base sse3
Deji Akingunola ef2314
Deji Akingunola 8a1f9d
%package sse3
Deji Akingunola 8a1f9d
Summary:        ATLAS libraries for SSE3 extensions
Deji Akingunola ef2314
Group:          System Environment/Libraries
Deji Akingunola ef2314
Deji Akingunola 8a1f9d
%description sse3
Deji Akingunola ef2314
This package contains the ATLAS (Automatically Tuned Linear Algebra
Deji Akingunola 8a1f9d
Software) libraries compiled with optimizations for the SSE3
Deji Akingunola ef2314
extensions to the x86_64 architecture. The base ATLAS builds in Fedora for the
Deji Akingunola 8a1f9d
x86_64 architecture are made for the SSE2 extensions.
Deji Akingunola ef2314
Deji Akingunola 8a1f9d
%package sse3-devel
Deji Akingunola 8a1f9d
Summary:        Development libraries for ATLAS with SSE3 extensions
Deji Akingunola ef2314
Group:          Development/Libraries
Deji Akingunola 8a1f9d
Requires:       %{name}-sse3 = %{version}-%{release}
Deji Akingunola ef2314
Obsoletes:	%name-header <= %version-%release
Jussi Lehtola 5d4703
Requires(posttrans):	chkconfig
Deji Akingunola ef2314
Requires(preun):	chkconfig
Deji Akingunola ef2314
Deji Akingunola 8a1f9d
%description sse3-devel
Deji Akingunola ef2314
This package contains shared and static versions of the ATLAS
Deji Akingunola ef2314
(Automatically Tuned Linear Algebra Software) libraries compiled with
Deji Akingunola 8a1f9d
optimizations for the SSE3 extensions to the x86_64 architecture.
Deji Akingunola ef2314
Deji Akingunola ef2314
%endif
Deji Akingunola ef2314
Deji Akingunola 2119a1
%ifarch %{ix86}
Deji Akingunola 7d1f5e
%define types base 3dnow sse sse2 sse3
Deji Akingunola 7d1f5e
Deji Akingunola 7d1f5e
%package 3dnow
Deji Akingunola 7d1f5e
Summary:        ATLAS libraries for 3DNow extensions
Deji Akingunola 7d1f5e
Group:          System Environment/Libraries
Deji Akingunola 7d1f5e
Deji Akingunola 7d1f5e
%description 3dnow
Deji Akingunola 7d1f5e
This package contains the ATLAS (Automatically Tuned Linear Algebra
Deji Akingunola 7d1f5e
Software) libraries compiled with optimizations for the 3DNow extension
Deji Akingunola 7d1f5e
to the ix86 architecture. Fedora also produces ATLAS build with SSE, SSE2
Deji Akingunola 7d1f5e
and SSE3 extensions.
Deji Akingunola 7d1f5e
Deji Akingunola 7d1f5e
%package 3dnow-devel
Deji Akingunola 7d1f5e
Summary:        Development libraries for ATLAS with 3DNow extensions
Deji Akingunola 7d1f5e
Group:          Development/Libraries
Deji Akingunola 7d1f5e
Requires:       %{name}-3dnow = %{version}-%{release}
Deji Akingunola 3cd5fa
Obsoletes:	%name-header <= %version-%release
Dan Horák 811a0e
Requires(posttrans):	chkconfig
Deji Akingunola 3cd5fa
Requires(preun):	chkconfig
Deji Akingunola 7d1f5e
Deji Akingunola 7d1f5e
%description 3dnow-devel
Deji Akingunola 532d6c
This package contains headers and shared versions of the ATLAS
Deji Akingunola 7d1f5e
(Automatically Tuned Linear Algebra Software) libraries compiled with
Deji Akingunola 7d1f5e
optimizations for the 3DNow extensions to the ix86 architecture.
Quentin Spencer cdd562
Quentin Spencer cdd562
%package sse
Quentin Spencer cdd562
Summary:        ATLAS libraries for SSE extensions
Quentin Spencer cdd562
Group:          System Environment/Libraries
Deji Akingunola 9680a0
Quentin Spencer cdd562
%description sse
Quentin Spencer cdd562
This package contains the ATLAS (Automatically Tuned Linear Algebra
Deji Akingunola 9680a0
Software) libraries compiled with optimizations for the SSE(1) extensions
Deji Akingunola 9680a0
to the ix86 architecture. Fedora also produces ATLAS build with SSE2 and SSE3
Deji Akingunola 9680a0
extensions.
Deji Akingunola 9680a0
Quentin Spencer cdd562
%package sse-devel
Quentin Spencer cdd562
Summary:        Development libraries for ATLAS with SSE extensions
Quentin Spencer cdd562
Group:          Development/Libraries
Quentin Spencer ee675c
Requires:       %{name}-sse = %{version}-%{release}
Deji Akingunola 3cd5fa
Obsoletes:	%name-header <= %version-%release
Dan Horák 811a0e
Requires(posttrans):	chkconfig
Deji Akingunola 3cd5fa
Requires(preun):	chkconfig
Deji Akingunola 9680a0
Quentin Spencer cdd562
%description sse-devel
Deji Akingunola 532d6c
This package contains headers and shared versions of the ATLAS
Quentin Spencer cdd562
(Automatically Tuned Linear Algebra Software) libraries compiled with
Deji Akingunola 9680a0
optimizations for the SSE(1) extensions to the ix86 architecture.
Quentin Spencer cdd562
Quentin Spencer cdd562
%package sse2
Quentin Spencer cdd562
Summary:        ATLAS libraries for SSE2 extensions
Quentin Spencer cdd562
Group:          System Environment/Libraries
Deji Akingunola 9680a0
Quentin Spencer cdd562
%description sse2
Deji Akingunola 532d6c
This package contains ATLAS (Automatically Tuned Linear Algebra Software)
Deji Akingunola 532d6c
shared libraries compiled with optimizations for the SSE2
Deji Akingunola 9680a0
extensions to the ix86 architecture. Fedora also produces ATLAS build with
Deji Akingunola 9680a0
SSE(1) and SSE3 extensions.
Deji Akingunola 9680a0
Quentin Spencer cdd562
%package sse2-devel
Quentin Spencer cdd562
Summary:        Development libraries for ATLAS with SSE2 extensions
Quentin Spencer cdd562
Group:          Development/Libraries
Quentin Spencer ee675c
Requires:       %{name}-sse2 = %{version}-%{release}
Deji Akingunola 3cd5fa
Obsoletes:	%name-header <= %version-%release
Dan Horák 811a0e
Requires(posttrans):	chkconfig
Deji Akingunola 3cd5fa
Requires(preun):	chkconfig
Deji Akingunola 9680a0
Quentin Spencer cdd562
%description sse2-devel
Deji Akingunola 532d6c
This package contains ATLAS (Automatically Tuned Linear Algebra Software)
Deji Akingunola 532d6c
shared libraries compiled with optimizations for the SSE2 extensions to the 
Deji Akingunola 532d6c
ix86 architecture.
Quentin Spencer cdd562
Deji Akingunola 9680a0
%package sse3
Deji Akingunola 97c4c3
Summary:        ATLAS libraries for SSE3 extensions
Quentin Spencer cdd562
Group:          System Environment/Libraries
Deji Akingunola 9680a0
Deji Akingunola 9680a0
%description sse3
Quentin Spencer cdd562
This package contains the ATLAS (Automatically Tuned Linear Algebra
Deji Akingunola 9680a0
Software) libraries compiled with optimizations for the SSE3.
Deji Akingunola 9680a0
Fedora also produces ATLAS build with SSE(1) and SSE2 extensions.
Deji Akingunola 9680a0
Deji Akingunola 9680a0
%package sse3-devel
Deji Akingunola 97c4c3
Summary:        Development libraries for ATLAS with SSE3 extensions
Quentin Spencer cdd562
Group:          Development/Libraries
Deji Akingunola 9680a0
Requires:       %{name}-sse3 = %{version}-%{release}
Deji Akingunola 3cd5fa
Obsoletes:	%name-header <= %version-%release
Dan Horák 811a0e
Requires(posttrans):	chkconfig
Deji Akingunola 3cd5fa
Requires(preun):	chkconfig
Deji Akingunola 9680a0
Deji Akingunola 9680a0
%description sse3-devel
Deji Akingunola 532d6c
This package contains ATLAS (Automatically Tuned Linear Algebra Software)
Deji Akingunola 532d6c
shared libraries compiled with optimizations for the SSE3 extensions to the ix86 architecture.
Quentin Spencer cdd562
Quentin Spencer cdd562
%endif
Deji Akingunola 8a1f9d
Deji Akingunola 8a1f9d
%ifarch s390 s390x
Deji Akingunola 8a1f9d
%define types base z10 z196
Deji Akingunola 8a1f9d
Deji Akingunola 8a1f9d
%package z196
Deji Akingunola 8a1f9d
Summary:        ATLAS libraries for z196
Deji Akingunola 8a1f9d
Group:          System Environment/Libraries
Deji Akingunola 8a1f9d
Deji Akingunola 8a1f9d
%description z196
Deji Akingunola 8a1f9d
This package contains the ATLAS (Automatically Tuned Linear Algebra
Deji Akingunola 8a1f9d
Software) libraries compiled with optimizations for the z196.
Deji Akingunola 8a1f9d
Deji Akingunola 8a1f9d
%package z196-devel
Deji Akingunola 8a1f9d
Summary:        Development libraries for ATLAS for z196
Deji Akingunola 8a1f9d
Group:          Development/Libraries
Deji Akingunola 8a1f9d
Requires:       %{name}-z196 = %{version}-%{release}
Deji Akingunola 8a1f9d
Obsoletes:	%name-header <= %version-%release
Deji Akingunola 8a1f9d
Requires(posttrans):	chkconfig
Deji Akingunola 8a1f9d
Requires(preun):	chkconfig
Deji Akingunola 8a1f9d
Deji Akingunola 8a1f9d
%description z196-devel
Deji Akingunola 8a1f9d
This package contains headers and shared versions of the ATLAS
Deji Akingunola 8a1f9d
(Automatically Tuned Linear Algebra Software) libraries compiled with
Deji Akingunola 8a1f9d
optimizations for the z196 architecture.
Deji Akingunola 8a1f9d
Deji Akingunola 8a1f9d
%package z10
Deji Akingunola 8a1f9d
Summary:        ATLAS libraries for z10
Deji Akingunola 8a1f9d
Group:          System Environment/Libraries
Deji Akingunola 8a1f9d
Deji Akingunola 8a1f9d
%description z10
Deji Akingunola 8a1f9d
This package contains the ATLAS (Automatically Tuned Linear Algebra
Deji Akingunola 8a1f9d
Software) libraries compiled with optimizations for the z10.
Deji Akingunola 8a1f9d
Deji Akingunola 8a1f9d
%package z10-devel
Deji Akingunola 8a1f9d
Summary:        Development libraries for ATLAS for z10
Deji Akingunola 8a1f9d
Group:          Development/Libraries
Deji Akingunola 8a1f9d
Requires:       %{name}-z10 = %{version}-%{release}
Deji Akingunola 8a1f9d
Obsoletes:	%name-header <= %version-%release
Deji Akingunola 8a1f9d
Requires(posttrans):	chkconfig
Deji Akingunola 8a1f9d
Requires(preun):	chkconfig
Deji Akingunola 8a1f9d
Deji Akingunola 8a1f9d
%description z10-devel
Deji Akingunola 8a1f9d
This package contains headers and shared versions of the ATLAS
Deji Akingunola 8a1f9d
(Automatically Tuned Linear Algebra Software) libraries compiled with
Deji Akingunola 8a1f9d
optimizations for the z10 architecture.
Deji Akingunola 8a1f9d
Deji Akingunola 8a1f9d
%endif
Quentin Spencer cdd562
%endif
Quentin Spencer cdd562
Quentin Spencer cdd562
%prep
Quentin Spencer cdd562
%setup -q -n ATLAS
Deji Akingunola 9680a0
%patch0 -p0 -b .shared
Deji Akingunola 8a1f9d
%patch1 -p1 -b .s390
Deji Akingunola 7d1f5e
cp %{SOURCE1} CONFIG/ARCHS/
Deji Akingunola 7d1f5e
cp %{SOURCE2} CONFIG/ARCHS/
Deji Akingunola 7d1f5e
cp %{SOURCE3} doc
Dennis Gilmore 6c07c0
cp %{SOURCE4} CONFIG/ARCHS/
Dennis Gilmore 6c07c0
cp %{SOURCE5} CONFIG/ARCHS/
Deji Akingunola 8a1f9d
cp %{SOURCE6} CONFIG/ARCHS/
Deji Akingunola 8a1f9d
cp %{SOURCE7} CONFIG/ARCHS/
Deji Akingunola 8a1f9d
cp %{SOURCE8} CONFIG/ARCHS/
Deji Akingunola 8a1f9d
cp %{SOURCE9} CONFIG/ARCHS/
Quentin Spencer cdd562
Quentin Spencer cdd562
%build
Deji Akingunola 9680a0
for type in %{types}; do
Deji Akingunola 9680a0
	if [ "$type" = "base" ]; then
Deji Akingunola 9680a0
		libname=atlas
Deji Akingunola 3cd5fa
		%define pr_base %(echo $((%{__isa_bits}+0)))
Deji Akingunola 9680a0
	else
Deji Akingunola 9680a0
		libname=atlas-${type}
Deji Akingunola 9680a0
	fi
Deji Akingunola 9680a0
	mkdir -p %{_arch}_${type}
Deji Akingunola 9680a0
	pushd %{_arch}_${type}
Deji Akingunola 3cd5fa
	../configure -b %{__isa_bits} -D c -DWALL -Fa alg '-g -Wa,--noexecstack -fPIC'\
Deji Akingunola 9680a0
	--prefix=%{buildroot}%{_prefix}			\
Deji Akingunola 9680a0
	--incdir=%{buildroot}%{_includedir}		\
Deji Akingunola 9680a0
	--libdir=%{buildroot}%{_libdir}/${libname}	\
Deji Akingunola ef2314
	--with-netlib-lapack=%{_libdir}/liblapack_pic.a	\
Deji Akingunola ef2314
	-Si cputhrchk 0
Deji Akingunola ef2314
Deji Akingunola 8a1f9d
%if "%{?enable_native_atlas}" == "0"
Deji Akingunola ef2314
%ifarch x86_64
Deji Akingunola 8a1f9d
	if [ "$type" = "base" ]; then
Deji Akingunola ef2314
		sed -i 's#ARCH =.*#ARCH = HAMMER64SSE2#' Make.inc
Deji Akingunola ef2314
		sed -i 's#-DATL_SSE3##' Make.inc 
Deji Akingunola ef2314
		sed -i 's#-msse3#-msse2#' Make.inc 
Deji Akingunola 8a1f9d
	elif [ "$type" = "sse3" ]; then
Deji Akingunola 8a1f9d
		sed -i 's#ARCH =.*#ARCH = HAMMER64SSE3#' Make.inc
Deji Akingunola 8a1f9d
		%define pr_sse3 %(echo $((%{__isa_bits}+4)))
Deji Akingunola ef2314
	fi
Deji Akingunola ef2314
%endif
Deji Akingunola 9680a0
Deji Akingunola 7d1f5e
%ifarch %{ix86}
Deji Akingunola 7d1f5e
	if [ "$type" = "base" ]; then
Deji Akingunola 7d1f5e
		sed -i 's#ARCH =.*#ARCH = PPRO32#' Make.inc
Deji Akingunola 7d1f5e
		sed -i 's#-DATL_SSE3 -DATL_SSE2 -DATL_SSE1##' Make.inc 
Deji Akingunola 7d1f5e
		sed -i 's#-mfpmath=sse -msse3#-mfpmath=387#' Make.inc 
Deji Akingunola 7d1f5e
	elif [ "$type" = "3dnow" ]; then
Deji Akingunola 7d1f5e
		sed -i 's#ARCH =.*#ARCH = K7323DNow#' Make.inc
Deji Akingunola 7d1f5e
		sed -i 's#-DATL_SSE3 -DATL_SSE2 -DATL_SSE1##' Make.inc 
Deji Akingunola 7d1f5e
		sed -i 's#-mfpmath=sse -msse3#-mfpmath=387#' Make.inc 
Deji Akingunola 3cd5fa
		%define pr_3dnow %(echo $((%{__isa_bits}+1)))
Deji Akingunola 7d1f5e
	elif [ "$type" = "sse" ]; then
Deji Akingunola 9680a0
		sed -i 's#ARCH =.*#ARCH = PIII32SSE1#' Make.inc
Deji Akingunola 9680a0
		sed -i 's#-DATL_SSE3 -DATL_SSE2##' Make.inc 
Deji Akingunola dbe4a7
		sed -i 's#-msse3#-msse#' Make.inc 
Deji Akingunola 3cd5fa
		%define pr_sse %(echo $((%{__isa_bits}+2)))
Deji Akingunola 9680a0
	elif [ "$type" = "sse2" ]; then
Deji Akingunola 9680a0
		sed -i 's#ARCH =.*#ARCH = P432SSE2#' Make.inc
Deji Akingunola 9680a0
		sed -i 's#-DATL_SSE3##' Make.inc 
Deji Akingunola dbe4a7
		sed -i 's#-msse3#-msse2#' Make.inc 
Deji Akingunola 3cd5fa
		%define pr_sse2 %(echo $((%{__isa_bits}+3)))
Deji Akingunola 9680a0
	elif [ "$type" = "sse3" ]; then
Deji Akingunola 9680a0
		sed -i 's#ARCH =.*#ARCH = P4E32SSE3#' Make.inc
Deji Akingunola 3cd5fa
		%define pr_sse3 %(echo $((%{__isa_bits}+4)))
Deji Akingunola 9680a0
	fi
Deji Akingunola 7d1f5e
%endif
Deji Akingunola 8a1f9d
Deji Akingunola 8a1f9d
%ifarch s390 s390x
Deji Akingunola 8a1f9d
# we require a z9/z10/z196 but base,z10 and z196
Deji Akingunola 8a1f9d
# we also need a compiler with -march=z196 support
Deji Akingunola 8a1f9d
# the base support will use z196 tuning
Deji Akingunola 8a1f9d
	if [ "$type" = "base" ]; then
Deji Akingunola 8a1f9d
		%ifarch s390x 
Deji Akingunola 8a1f9d
			sed -i 's#ARCH =.*#ARCH = IBMz19664#' Make.inc
Deji Akingunola 8a1f9d
                %endif
Deji Akingunola 8a1f9d
		%ifarch s390 
Deji Akingunola 8a1f9d
			sed -i 's#ARCH =.*#ARCH = IBMz19632#' Make.inc
Deji Akingunola 8a1f9d
                %endif
Deji Akingunola 8a1f9d
		sed -i 's#-march=z196#-march=z9-109 -mtune=z196#' Make.inc
Deji Akingunola 8a1f9d
		sed -i 's#-march=z10 -mtune=z196#-march=z9-109 -mtune=z196#' Make.inc
Deji Akingunola 8a1f9d
		sed -i 's#-march=z10#-march=z9-109 -mtune=z10#' Make.inc
Deji Akingunola 8a1f9d
		sed -i 's#-DATL_ARCH_IBMz196#-DATL_ARCH_IBMz9#' Make.inc
Deji Akingunola 8a1f9d
		sed -i 's#-DATL_ARCH_IBMz10#-DATL_ARCH_IBMz9#' Make.inc
Deji Akingunola 8a1f9d
		sed -i 's#-DATL_ARCH_IBMz9#-DATL_ARCH_IBMz9#' Make.inc
Deji Akingunola 8a1f9d
	elif [ "$type" = "z10" ]; then
Deji Akingunola 8a1f9d
		%ifarch s390x 
Deji Akingunola 8a1f9d
			sed -i 's#ARCH =.*#ARCH = IBMz1064#' Make.inc
Deji Akingunola 8a1f9d
                %endif
Deji Akingunola 8a1f9d
		%ifarch s390 
Deji Akingunola 8a1f9d
			sed -i 's#ARCH =.*#ARCH = IBMz1032#' Make.inc
Deji Akingunola 8a1f9d
                %endif
Deji Akingunola 8a1f9d
		sed -i 's#-march=z196#-march=z10#' Make.inc
Deji Akingunola 8a1f9d
		sed -i 's#-march=z10 -mtune=z196#-march=z10#' Make.inc
Deji Akingunola 8a1f9d
		sed -i 's#-march=z9-109#-march=z10#' Make.inc
Deji Akingunola 8a1f9d
		sed -i 's#-DATL_ARCH_IBMz196#-DATL_ARCH_IBMz10#' Make.inc
Deji Akingunola 8a1f9d
		sed -i 's#-DATL_ARCH_IBMz9#-DATL_ARCH_IBMz10#' Make.inc
Deji Akingunola 8a1f9d
		%define pr_z10 %(echo $((%{__isa_bits}+1)))
Deji Akingunola 8a1f9d
	elif [ "$type" = "z196" ]; then
Deji Akingunola 8a1f9d
		%ifarch s390x 
Deji Akingunola 8a1f9d
			sed -i 's#ARCH =.*#ARCH = IBMz19664#' Make.inc
Deji Akingunola 8a1f9d
                %endif
Deji Akingunola 8a1f9d
		%ifarch s390 
Deji Akingunola 8a1f9d
			sed -i 's#ARCH =.*#ARCH = IBMz19632#' Make.inc
Deji Akingunola 8a1f9d
                %endif
Dan Horák b46b99
		sed -i 's#-march=z196#-march=z10 -mtune=z196#' Make.inc
Dan Horák b46b99
		sed -i 's#-march=z10#-march=z10 -mtune=z196#' Make.inc
Dan Horák b46b99
		sed -i 's#-march=z9-109#-march=z10 -mtune=z196#' Make.inc
Deji Akingunola 8a1f9d
		sed -i 's#-DATL_ARCH_IBMz10#-DATL_ARCH_IBMz196#' Make.inc
Deji Akingunola 8a1f9d
		sed -i 's#-DATL_ARCH_IBMz9#-DATL_ARCH_IBMz196#' Make.inc
Deji Akingunola 8a1f9d
		%define pr_z196 %(echo $((%{__isa_bits}+2)))
Deji Akingunola 8a1f9d
	fi
Deji Akingunola 8a1f9d
%endif
Deji Akingunola 8a1f9d
Deji Akingunola 8a1f9d
%endif
Deji Akingunola 9680a0
	make build
Deji Akingunola 9680a0
	cd lib
Deji Akingunola 9680a0
	make shared
Deji Akingunola 9680a0
	make ptshared
Deji Akingunola 9680a0
	popd
Quentin Spencer cdd562
done
Quentin Spencer cdd562
Quentin Spencer cdd562
%install
Deji Akingunola 9680a0
rm -rf %{buildroot}
Deji Akingunola 9680a0
for type in %{types}; do
Deji Akingunola 9680a0
	pushd %{_arch}_${type}
Deji Akingunola 9680a0
	make DESTDIR=%{buildroot} install
Deji Akingunola 3cd5fa
        mv %{buildroot}%{_includedir}/atlas %{buildroot}%{_includedir}/atlas-%{_arch}-${type}
Deji Akingunola 9680a0
	if [ "$type" = "base" ]; then
Deji Akingunola 9680a0
		cp -pr lib/*.so* %{buildroot}%{_libdir}/atlas/
Deji Akingunola d9b7c3
		rm -f %{buildroot}%{_libdir}/atlas/*.a
Deji Akingunola 9680a0
	else
Deji Akingunola 9680a0
		cp -pr lib/*.so* %{buildroot}%{_libdir}/atlas-${type}/
Deji Akingunola d9b7c3
		rm -f %{buildroot}%{_libdir}/atlas-${type}/*.a
Deji Akingunola 9680a0
	fi
Deji Akingunola 9680a0
	popd
Deji Akingunola 9680a0
Deji Akingunola 9680a0
	mkdir -p %{buildroot}/etc/ld.so.conf.d
Deji Akingunola 9680a0
	if [ "$type" = "base" ]; then
Deji Akingunola 9680a0
		echo "%{_libdir}/atlas"		\
Deji Akingunola 9680a0
		> %{buildroot}/etc/ld.so.conf.d/atlas-%{_arch}.conf
Deji Akingunola 9680a0
	else
Deji Akingunola 9680a0
		echo "%{_libdir}/atlas-${type}"	\
Deji Akingunola ef2314
		> %{buildroot}/etc/ld.so.conf.d/atlas-%{_arch}-${type}.conf
Deji Akingunola 9680a0
	fi
Quentin Spencer cdd562
done
Deji Akingunola 3cd5fa
mkdir -p %{buildroot}%{_includedir}/atlas
Deji Akingunola 3cd5fa
Quentin Spencer cdd562
Quentin Spencer cdd562
%clean
Deji Akingunola 9680a0
rm -rf %{buildroot}
Deji Akingunola 9680a0
Quentin Spencer cdd562
%post -p /sbin/ldconfig
Quentin Spencer cdd562
Quentin Spencer cdd562
%postun -p /sbin/ldconfig
Quentin Spencer cdd562
Deji Akingunola 3cd5fa
%posttrans devel
Deji Akingunola 3cd5fa
if [ $1 -eq 0 ] ; then
Deji Akingunola 3cd5fa
/usr/sbin/alternatives	--install %{_includedir}/atlas atlas-inc 	\
Deji Akingunola 3cd5fa
		%{_includedir}/atlas-%{_arch}-base %{pr_base}
Deji Akingunola 3cd5fa
fi
Deji Akingunola 3cd5fa
Deji Akingunola 3cd5fa
%preun devel
Deji Akingunola 3cd5fa
if [ $1 -ge 0 ] ; then
Deji Akingunola 3cd5fa
/usr/sbin/alternatives --remove atlas-inc %{_includedir}/atlas-%{_arch}-base
Deji Akingunola 3cd5fa
fi
Deji Akingunola 3cd5fa
Deji Akingunola ef2314
%if "%{?enable_native_atlas}" == "0"
Deji Akingunola ef2314
%ifarch x86_64
Deji Akingunola 7d1f5e
Deji Akingunola 8a1f9d
%post -n atlas-sse3 -p /sbin/ldconfig
Deji Akingunola ef2314
Deji Akingunola 8a1f9d
%postun -n atlas-sse3 -p /sbin/ldconfig
Deji Akingunola ef2314
Deji Akingunola 8a1f9d
%posttrans sse3-devel
Deji Akingunola ef2314
if [ $1 -eq 0 ] ; then
Deji Akingunola ef2314
/usr/sbin/alternatives	--install %{_includedir}/atlas atlas-inc 	\
Deji Akingunola 8a1f9d
		%{_includedir}/atlas-%{_arch}-sse3  %{pr_sse3}
Deji Akingunola ef2314
fi
Deji Akingunola ef2314
Deji Akingunola 8a1f9d
%preun sse3-devel
Deji Akingunola ef2314
if [ $1 -ge 0 ] ; then
Deji Akingunola 8a1f9d
/usr/sbin/alternatives --remove atlas-inc %{_includedir}/atlas-%{_arch}-sse3
Deji Akingunola ef2314
fi
Deji Akingunola ef2314
Deji Akingunola ef2314
%endif
Deji Akingunola ef2314
Deji Akingunola ef2314
%ifarch %{ix86}
Deji Akingunola 7d1f5e
%post -n atlas-3dnow -p /sbin/ldconfig
Deji Akingunola 7d1f5e
Deji Akingunola 7d1f5e
%postun -n atlas-3dnow -p /sbin/ldconfig
Deji Akingunola 7d1f5e
Deji Akingunola 3cd5fa
%posttrans 3dnow-devel
Deji Akingunola 3cd5fa
if [ $1 -eq 0 ] ; then
Deji Akingunola 3cd5fa
/usr/sbin/alternatives	--install %{_includedir}/atlas atlas-inc 	\
Deji Akingunola 3cd5fa
		%{_includedir}/atlas-%{_arch}-3dnow  %{pr_3dnow}
Deji Akingunola 3cd5fa
fi
Deji Akingunola 3cd5fa
Deji Akingunola 3cd5fa
%preun 3dnow-devel
Deji Akingunola 3cd5fa
if [ $1 -ge 0 ] ; then
Deji Akingunola 3cd5fa
/usr/sbin/alternatives --remove atlas-inc %{_includedir}/atlas-%{_arch}-3dnow
Deji Akingunola 3cd5fa
fi
Deji Akingunola 3cd5fa
Deji Akingunola 7d1f5e
%post -n atlas-sse -p /sbin/ldconfig
Deji Akingunola 7d1f5e
Deji Akingunola 7d1f5e
%postun -n atlas-sse -p /sbin/ldconfig
Deji Akingunola 7d1f5e
Deji Akingunola 3cd5fa
%posttrans sse-devel
Deji Akingunola 3cd5fa
if [ $1 -eq 0 ] ; then
Deji Akingunola 3cd5fa
/usr/sbin/alternatives	--install %{_includedir}/atlas atlas-inc 	\
Deji Akingunola 3cd5fa
		%{_includedir}/atlas-%{_arch}-sse  %{pr_sse}
Deji Akingunola 3cd5fa
fi
Deji Akingunola 3cd5fa
Deji Akingunola 3cd5fa
%preun sse-devel
Deji Akingunola 3cd5fa
if [ $1 -ge 0 ] ; then
Deji Akingunola 3cd5fa
/usr/sbin/alternatives --remove atlas-inc %{_includedir}/atlas-%{_arch}-sse
Deji Akingunola 3cd5fa
fi
Deji Akingunola 3cd5fa
Deji Akingunola 7d1f5e
%post -n atlas-sse2 -p /sbin/ldconfig
Deji Akingunola 7d1f5e
Deji Akingunola 7d1f5e
%postun -n atlas-sse2 -p /sbin/ldconfig
Deji Akingunola 7d1f5e
Deji Akingunola 3cd5fa
%posttrans sse2-devel
Deji Akingunola 3cd5fa
if [ $1 -eq 0 ] ; then
Deji Akingunola 3cd5fa
/usr/sbin/alternatives	--install %{_includedir}/atlas atlas-inc 	\
Deji Akingunola 3cd5fa
		%{_includedir}/atlas-%{_arch}-sse2  %{pr_sse2}
Deji Akingunola 3cd5fa
fi
Deji Akingunola 3cd5fa
Deji Akingunola 3cd5fa
%preun sse2-devel
Deji Akingunola 3cd5fa
if [ $1 -ge 0 ] ; then
Deji Akingunola 3cd5fa
/usr/sbin/alternatives --remove atlas-inc %{_includedir}/atlas-%{_arch}-sse2
Deji Akingunola 3cd5fa
fi
Deji Akingunola 3cd5fa
Deji Akingunola 7d1f5e
%post -n atlas-sse3 -p /sbin/ldconfig
Deji Akingunola 7d1f5e
Deji Akingunola 7d1f5e
%postun -n atlas-sse3 -p /sbin/ldconfig
Deji Akingunola 7d1f5e
Deji Akingunola 3cd5fa
%posttrans sse3-devel
Deji Akingunola 3cd5fa
if [ $1 -eq 0 ] ; then
Deji Akingunola 3cd5fa
/usr/sbin/alternatives	--install %{_includedir}/atlas atlas-inc 	\
Deji Akingunola 3cd5fa
		%{_includedir}/atlas-%{_arch}-sse3  %{pr_sse3}
Deji Akingunola 3cd5fa
fi
Deji Akingunola 3cd5fa
Deji Akingunola 3cd5fa
%preun sse3-devel
Deji Akingunola 3cd5fa
if [ $1 -ge 0 ] ; then
Deji Akingunola 3cd5fa
/usr/sbin/alternatives --remove atlas-inc %{_includedir}/atlas-%{_arch}-sse3
Deji Akingunola 3cd5fa
fi
Deji Akingunola 3cd5fa
Deji Akingunola 7d1f5e
%endif
Deji Akingunola 8a1f9d
Deji Akingunola 8a1f9d
%ifarch s390 s390x
Deji Akingunola 8a1f9d
%post -n atlas-z10 -p /sbin/ldconfig
Deji Akingunola 8a1f9d
Deji Akingunola 8a1f9d
%postun -n atlas-z10 -p /sbin/ldconfig
Deji Akingunola 8a1f9d
Deji Akingunola 8a1f9d
%posttrans z10-devel
Deji Akingunola 8a1f9d
if [ $1 -eq 0 ] ; then
Deji Akingunola 8a1f9d
/usr/sbin/alternatives	--install %{_includedir}/atlas atlas-inc 	\
Deji Akingunola 8a1f9d
		%{_includedir}/atlas-%{_arch}-z10  %{pr_z10}
Deji Akingunola 8a1f9d
fi
Deji Akingunola 8a1f9d
Deji Akingunola 8a1f9d
%preun z10-devel
Deji Akingunola 8a1f9d
if [ $1 -ge 0 ] ; then
Deji Akingunola 8a1f9d
/usr/sbin/alternatives --remove atlas-inc %{_includedir}/atlas-%{_arch}-z10
Deji Akingunola 8a1f9d
fi
Deji Akingunola 8a1f9d
Deji Akingunola 8a1f9d
%post -n atlas-z196 -p /sbin/ldconfig
Deji Akingunola 8a1f9d
Deji Akingunola 8a1f9d
%postun -n atlas-z196 -p /sbin/ldconfig
Deji Akingunola 8a1f9d
Deji Akingunola 8a1f9d
%posttrans z196-devel
Deji Akingunola 8a1f9d
if [ $1 -eq 0 ] ; then
Deji Akingunola 8a1f9d
/usr/sbin/alternatives	--install %{_includedir}/atlas atlas-inc 	\
Deji Akingunola 8a1f9d
		%{_includedir}/atlas-%{_arch}-z196  %{pr_z196}
Deji Akingunola 8a1f9d
fi
Deji Akingunola 8a1f9d
Deji Akingunola 8a1f9d
%preun z196-devel
Deji Akingunola 8a1f9d
if [ $1 -ge 0 ] ; then
Deji Akingunola 8a1f9d
/usr/sbin/alternatives --remove atlas-inc %{_includedir}/atlas-%{_arch}-z196
Deji Akingunola 8a1f9d
fi
Deji Akingunola 8a1f9d
Deji Akingunola 8a1f9d
%endif
Deji Akingunola 8a1f9d
Deji Akingunola ef2314
%endif
Deji Akingunola 7d1f5e
Quentin Spencer cdd562
%files
Quentin Spencer cdd562
%defattr(-,root,root,-)
Deji Akingunola 9680a0
%doc doc/README.Fedora
Quentin Spencer cdd562
%dir %{_libdir}/atlas
Quentin Spencer 2c4ed2
%{_libdir}/atlas/*.so.*
Quentin Spencer cdd562
%config(noreplace) /etc/ld.so.conf.d/atlas-%{_arch}.conf
Quentin Spencer cdd562
Quentin Spencer cdd562
%files devel
Quentin Spencer cdd562
%defattr(-,root,root,-)
Deji Akingunola 9680a0
%doc doc
Quentin Spencer cdd562
%{_libdir}/atlas/*.so
Deji Akingunola 3cd5fa
%{_includedir}/atlas-%{_arch}-base/
Deji Akingunola 7dd552
%{_includedir}/*.h
Deji Akingunola 3cd5fa
%ghost %{_includedir}/atlas
Quentin Spencer cdd562
Deji Akingunola ef2314
%if "%{?enable_native_atlas}" == "0"
Deji Akingunola ef2314
Deji Akingunola ef2314
%ifarch x86_64
Deji Akingunola ef2314
Deji Akingunola 8a1f9d
%files sse3
Deji Akingunola ef2314
%defattr(-,root,root,-)
Deji Akingunola ef2314
%doc doc/README.Fedora
Deji Akingunola 8a1f9d
%dir %{_libdir}/atlas-sse3
Deji Akingunola 8a1f9d
%{_libdir}/atlas-sse3/*.so.*
Deji Akingunola 8a1f9d
%config(noreplace) /etc/ld.so.conf.d/atlas-%{_arch}-sse3.conf
Deji Akingunola ef2314
Deji Akingunola 8a1f9d
%files sse3-devel
Deji Akingunola ef2314
%defattr(-,root,root,-)
Deji Akingunola ef2314
%doc doc
Deji Akingunola 8a1f9d
%{_libdir}/atlas-sse3/*.so
Deji Akingunola 8a1f9d
%{_includedir}/atlas-%{_arch}-sse3/
Deji Akingunola ef2314
%{_includedir}/*.h
Deji Akingunola ef2314
%ghost %{_includedir}/atlas
Deji Akingunola ef2314
Deji Akingunola ef2314
%endif
Deji Akingunola ef2314
Deji Akingunola ef2314
%ifarch %{ix86}
Deji Akingunola 9680a0
Deji Akingunola 7d1f5e
%files 3dnow
Deji Akingunola 7d1f5e
%defattr(-,root,root,-)
Deji Akingunola 7d1f5e
%doc doc/README.Fedora
Deji Akingunola 7d1f5e
%dir %{_libdir}/atlas-3dnow
Deji Akingunola 7d1f5e
%{_libdir}/atlas-3dnow/*.so.*
Deji Akingunola ef2314
%config(noreplace) /etc/ld.so.conf.d/atlas-%{_arch}-3dnow.conf
Deji Akingunola 9680a0
Deji Akingunola 7d1f5e
%files 3dnow-devel
Deji Akingunola 7d1f5e
%defattr(-,root,root,-)
Deji Akingunola 7d1f5e
%doc doc
Deji Akingunola 7d1f5e
%{_libdir}/atlas-3dnow/*.so
Deji Akingunola 3cd5fa
%{_includedir}/atlas-%{_arch}-3dnow/
Deji Akingunola 7d1f5e
%{_includedir}/*.h
Deji Akingunola 3cd5fa
%ghost %{_includedir}/atlas
Quentin Spencer cdd562
Quentin Spencer 2c4ed2
%files sse
Quentin Spencer 2c4ed2
%defattr(-,root,root,-)
Deji Akingunola 9680a0
%doc doc/README.Fedora
Deji Akingunola 9680a0
%dir %{_libdir}/atlas-sse
Deji Akingunola 9680a0
%{_libdir}/atlas-sse/*.so.*
Deji Akingunola ef2314
%config(noreplace) /etc/ld.so.conf.d/atlas-%{_arch}-sse.conf
Quentin Spencer cdd562
Quentin Spencer cdd562
%files sse-devel
Quentin Spencer cdd562
%defattr(-,root,root,-)
Deji Akingunola 9680a0
%doc doc
Deji Akingunola 9680a0
%{_libdir}/atlas-sse/*.so
Deji Akingunola 3cd5fa
%{_includedir}/atlas-%{_arch}-sse/
Deji Akingunola 7dd552
%{_includedir}/*.h
Deji Akingunola 3cd5fa
%ghost %{_includedir}/atlas
Quentin Spencer cdd562
Quentin Spencer 2c4ed2
%files sse2
Quentin Spencer 2c4ed2
%defattr(-,root,root,-)
Deji Akingunola 9680a0
%doc doc/README.Fedora
Deji Akingunola 9680a0
%dir %{_libdir}/atlas-sse2
Deji Akingunola 9680a0
%{_libdir}/atlas-sse2/*.so.*
Deji Akingunola ef2314
%config(noreplace) /etc/ld.so.conf.d/atlas-%{_arch}-sse2.conf
Quentin Spencer cdd562
Quentin Spencer cdd562
%files sse2-devel
Quentin Spencer cdd562
%defattr(-,root,root,-)
Deji Akingunola 9680a0
%doc doc
Deji Akingunola 9680a0
%{_libdir}/atlas-sse2/*.so
Deji Akingunola 3cd5fa
%{_includedir}/atlas-%{_arch}-sse2/
Deji Akingunola 7dd552
%{_includedir}/*.h
Deji Akingunola 3cd5fa
%ghost %{_includedir}/atlas
Quentin Spencer cdd562
Deji Akingunola 9680a0
%files sse3
Quentin Spencer 2c4ed2
%defattr(-,root,root,-)
Deji Akingunola 9680a0
%doc doc/README.Fedora
Deji Akingunola 9680a0
%dir %{_libdir}/atlas-sse3
Deji Akingunola 9680a0
%{_libdir}/atlas-sse3/*.so.*
Deji Akingunola ef2314
%config(noreplace) /etc/ld.so.conf.d/atlas-%{_arch}-sse3.conf
Quentin Spencer cdd562
Deji Akingunola 9680a0
%files sse3-devel
Quentin Spencer cdd562
%defattr(-,root,root,-)
Deji Akingunola 9680a0
%doc doc
Deji Akingunola 9680a0
%{_libdir}/atlas-sse3/*.so
Deji Akingunola 3cd5fa
%{_includedir}/atlas-%{_arch}-sse3/
Deji Akingunola 9b1309
%{_includedir}/*.h
Deji Akingunola 3cd5fa
%ghost %{_includedir}/atlas
Deji Akingunola 9b1309
Deji Akingunola 7dd552
%endif
Deji Akingunola 8a1f9d
Deji Akingunola 8a1f9d
%ifarch s390 s390x
Deji Akingunola 8a1f9d
%files z10
Deji Akingunola 8a1f9d
%defattr(-,root,root,-)
Deji Akingunola 8a1f9d
%doc doc/README.Fedora
Deji Akingunola 8a1f9d
%dir %{_libdir}/atlas-z10
Deji Akingunola 8a1f9d
%{_libdir}/atlas-z10/*.so.*
Deji Akingunola 8a1f9d
%config(noreplace) /etc/ld.so.conf.d/atlas-%{_arch}-z10.conf
Deji Akingunola 8a1f9d
Deji Akingunola 8a1f9d
%files z10-devel
Deji Akingunola 8a1f9d
%defattr(-,root,root,-)
Deji Akingunola 8a1f9d
%doc doc
Deji Akingunola 8a1f9d
%{_libdir}/atlas-z10/*.so
Deji Akingunola 8a1f9d
%{_includedir}/atlas-%{_arch}-z10/
Deji Akingunola 8a1f9d
%{_includedir}/*.h
Deji Akingunola 8a1f9d
%ghost %{_includedir}/atlas
Deji Akingunola 8a1f9d
Deji Akingunola 8a1f9d
%files z196
Deji Akingunola 8a1f9d
%defattr(-,root,root,-)
Deji Akingunola 8a1f9d
%doc doc/README.Fedora
Deji Akingunola 8a1f9d
%dir %{_libdir}/atlas-z196
Deji Akingunola 8a1f9d
%{_libdir}/atlas-z196/*.so.*
Deji Akingunola 8a1f9d
%config(noreplace) /etc/ld.so.conf.d/atlas-%{_arch}-z196.conf
Deji Akingunola 8a1f9d
Deji Akingunola 8a1f9d
%files z196-devel
Deji Akingunola 8a1f9d
%defattr(-,root,root,-)
Deji Akingunola 8a1f9d
%doc doc
Deji Akingunola 8a1f9d
%{_libdir}/atlas-z196/*.so
Deji Akingunola 8a1f9d
%{_includedir}/atlas-%{_arch}-z196/
Deji Akingunola 8a1f9d
%{_includedir}/*.h
Deji Akingunola 8a1f9d
%ghost %{_includedir}/atlas
Deji Akingunola 8a1f9d
%endif
Deji Akingunola ef2314
%endif
Deji Akingunola 7dd552
Deji Akingunola 9680a0
%changelog
Dan Horák b46b99
* Mon Jun 20 2011 Dan Horák <dan[at]danny.cz> - 3.8.4-2
Dan Horák b46b99
- Use -march=z10 for z196 optimised build because the builder is a z10
Dan Horák b46b99
  (Christian Bornträger)
Dan Horák b46b99
Deji Akingunola 8a1f9d
* Tue Jun 14 2011 Deji Akingunola <dakingun@gmail.com> - 3.8.4-1
Deji Akingunola 8a1f9d
- Update to 3.8.4
Deji Akingunola 8a1f9d
- Build the default package for SSE2 and add a SSE3 subpackage on x86_64
Deji Akingunola 8a1f9d
- Apply patch (and arch defs.) to build on s390 and s390x (Dan Horák)
Dan Horák b46b99
- Fix-up build on s390 and s390x (Christian Bornträger)
Deji Akingunola 8a1f9d
Dennis Gilmore 4b5555
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
Dennis Gilmore 4b5555
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
Dennis Gilmore 4b5555
Deji Akingunola ef2314
* Mon Jul 26 2010 Deji Akingunola <dakingun@gmail.com> - 3.8.3-18
Deji Akingunola ef2314
- Create a subpackage for SSE2 on x86_64
Deji Akingunola ef2314
Dan Horák 811a0e
* Sat Jul 17 2010 Dan Horák <dan[at]danny.cz> - 3.8.3-17
Dan Horák 811a0e
- rebuild against fixed lapack libraries
Dan Horák 811a0e
Dan Horák 6cb516
* Thu Jul 15 2010 Dan Horák <dan[at]danny.cz> - 3.8.3-16
Dan Horák 6cb516
- fix build on s390 (patch by Karsten Hopp)
Dan Horák 6cb516
Deji Akingunola 532d6c
* Wed Feb 10 2010 Deji Akingunola <dakingun@gmail.com> - 3.8.3-15
Deji Akingunola 532d6c
- Disable the problematic sparc patch
Deji Akingunola 532d6c
- Change lapack-devel BR to lapack-static, where liblapack_pic.a now resides.
Deji Akingunola 532d6c
Dennis Gilmore 6c07c0
* Wed Feb 03 2010 Dennis Gilmore <dennis@ausil.us> - 3.8.3-14
Dennis Gilmore 6c07c0
- fix sparc build
Dennis Gilmore 6c07c0
Deji Akingunola 97c4c3
* Fri Jan 29 2010 Deji Akingunola <dakingun@gmail.com> - 3.8.3-13
Deji Akingunola 97c4c3
- Remove static libraries.
Deji Akingunola 97c4c3
- Fix typo in SSE3 subpackage's summary.
Deji Akingunola 97c4c3
Deji Akingunola 3cd5fa
* Sat Oct 24 2009 Deji Akingunola <dakingun@gmail.com> - 3.8.3-12
Deji Akingunola 3cd5fa
- Use alternatives to workaround multilib conflicts (BZ#508565). 
Deji Akingunola 3cd5fa
Deji Akingunola 3cd5fa
* Tue Sep 29 2009 Deji Akingunola <dakingun@gmail.com> - 3.8.3-11
Deji Akingunola 3cd5fa
- Obsolete the -header subpackage properly. 
Deji Akingunola 3cd5fa
Deji Akingunola 7d1f5e
* Sat Sep 26 2009 Deji Akingunola <dakingun@gmail.com> - 3.8.3-10
Deji Akingunola 7d1f5e
- Use the new arch. default for Pentium PRO (Fedora bug #510498)
Deji Akingunola 7d1f5e
- (Re-)Introduce 3dNow subpackage
Deji Akingunola 7d1f5e
alexlan 23bb62
* Sun Sep  6 2009 Alex Lancaster <alexlan[AT]fedoraproject org> - 3.8.3-9
alexlan 23bb62
- Rebuild against fixed lapack (see #520518)
alexlan 23bb62
Deji Akingunola 7dd552
* Wed Aug 13 2009 Deji Akingunola <dakingun@gmail.com> - 3.8.3-8
Deji Akingunola 7dd552
- Revert the last change, it doesn't solve the problem. 
Deji Akingunola 7dd552
Deji Akingunola 9b1309
* Tue Aug 04 2009 Deji Akingunola <dakingun@gmail.com> - 3.8.3-7
Deji Akingunola 9b1309
- Create a -header subpackage to avoid multilib conflicts (BZ#508565). 
Deji Akingunola 9b1309
Deji Akingunola 2119a1
* Tue Aug 04 2009 Deji Akingunola <dakingun@gmail.com> - 3.8.3-6
Deji Akingunola 2119a1
- Add '-g' to build flag to allow proper genration of debuginfo subpackages (Fedora bug #509813)
Deji Akingunola 2119a1
- Build for F12
Deji Akingunola 2119a1
Jesse Keating 753418
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.8.3-5
Jesse Keating 753418
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
Jesse Keating 753418
Deji Akingunola dbe4a7
* Sat May 02 2009 Deji Akingunola <dakingun@gmail.com> - 3.8.3-4
Deji Akingunola dbe4a7
- Use the right -msse* option for the -sse* subpackages (Fedora bug #498715)
Deji Akingunola dbe4a7
Karsten Hopp 4ad567
* Tue Apr 21 2009 Karsten Hopp <karsten@redhat.com> 3.8.3-3.1
Karsten Hopp 4ad567
- add s390x to 64 bit archs
Karsten Hopp 4ad567
Deji Akingunola 11dc7d
* Fri Feb 27 2009 Deji Akingunola <dakingun@gmail.com> - 3.8.3-3
Deji Akingunola 11dc7d
- Rebuild
Deji Akingunola 11dc7d
Jesse Keating 1a6e0d
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.8.3-2
Jesse Keating 1a6e0d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
Jesse Keating 1a6e0d
Deji Akingunola e96058
* Sun Feb 22 2009 Deji Akingunola <dakingun@gmail.com> - 3.8.3-1
Deji Akingunola e96058
- Update to version 3.8.3
Deji Akingunola e96058
Deji Akingunola 20c7de
* Sun Dec 21 2008 Deji Akingunola <dakingun@gmail.com> - 3.8.2-5
Deji Akingunola 20c7de
- Link in appropriate libs when creating shared libs, reported by Orcan 'oget' Ogetbil (BZ#475411)
Deji Akingunola 20c7de
Deji Akingunola ed8898
* Tue Dec 16 2008 Deji Akingunola <dakingun@gmail.com> - 3.8.2-4
Deji Akingunola ed8898
- Don't symlink the atlas libdir on i386, cause upgrade issue (BZ#476787)
Deji Akingunola ed8898
- Fix options passed to gcc when making shared libs
Deji Akingunola ed8898
Deji Akingunola 10bab2
* Tue Dec 16 2008 Deji Akingunola <dakingun@gmail.com> - 3.8.2-3
Deji Akingunola 10bab2
- Use 'gcc -shared' to build shared libs instead of stock 'ld'
Deji Akingunola 10bab2
Deji Akingunola 9680a0
* Sat Dec 13 2008 Deji Akingunola <dakingun@gmail.com> - 3.8.2-2
Deji Akingunola 9680a0
- Properly obsolete/provide older subpackages that are no longer packaged.
Quentin Spencer cdd562
Deji Akingunola 9680a0
* Mon Sep 01 2008 Deji Akingunola <dakingun@gmail.com> - 3.8.2-1
Deji Akingunola 9680a0
- Upgrade to ver 3.8.2 with refined build procedures.
Quentin Spencer cdd562
Quentin Spencer f21156
* Thu Feb 28 2008 Quentin Spencer <qspencer@users.sourceforge.net> 3.6.0-15
Quentin Spencer f21156
- Disable altivec package--it is causing illegal instructions during build.
Quentin Spencer f21156
Quentin Spencer 7f70f0
* Thu Feb 28 2008 Quentin Spencer <qspencer@users.sourceforge.net> 3.6.0-14
Quentin Spencer 7f70f0
- Enable compilation on alpha (bug 426086).
Quentin Spencer 7f70f0
- Patch for compilation on ia64 (bug 432744).
Quentin Spencer 7f70f0
Jesse Keating 9424b6
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 3.6.0-13
Jesse Keating 9424b6
- Autorebuild for GCC 4.3
Jesse Keating 9424b6
Orion Poplawski b2ee5b
* Mon Jun  4 2007 Orion Poplawski <orion@cora.nwra.com> 3.6.0-12
Orion Poplawski b2ee5b
- Rebuild for ppc64
Orion Poplawski b2ee5b
Quentin Spencer 2cec08
* Fri Sep  8 2006 Quentin Spencer <qspencer@users.sourceforge.net> 3.6.0-11
Quentin Spencer 2cec08
- Rebuild for FC6.
Quentin Spencer 2cec08
- Remove outdated comments from spec file.
Quentin Spencer 2cec08
Quentin Spencer 9e15ab
* Mon Feb 13 2006 Quentin Spencer <qspencer@users.sourceforge.net> 3.6.0-10
Quentin Spencer 9e15ab
- Rebuild for Fedora Extras 5.
Quentin Spencer 9e15ab
- Add --noexecstack to compilation of assembly kernels. These were
Quentin Spencer 9e15ab
  previously marked executable, which caused problems with selinux.
Quentin Spencer 9e15ab
Quentin Spencer dc9c22
* Mon Dec 19 2005 Quentin Spencer <qspencer@users.sourceforge.net> 3.6.0-9
Quentin Spencer dc9c22
- Rebuild for gcc 4.1.
Quentin Spencer dc9c22
Quentin Spencer ee675c
* Mon Oct 10 2005 Quentin Spencer <qspencer@users.sourceforge.net> 3.6.0-8
Quentin Spencer ee675c
- Make all devel subpackages depend on their non-devel counterparts.
Quentin Spencer ee675c
- Add /etc/ld.so.conf.d files for -sse and -3dnow, because they don't
Quentin Spencer ee675c
  seem to get picked up automatically.
Quentin Spencer ee675c
Quentin Spencer e97db9
* Wed Oct 05 2005 Quentin Spencer <qspencer@users.sourceforge.net> 3.6.0-7
Quentin Spencer e97db9
- Forgot to add the new patch to sources.
Quentin Spencer e97db9
Quentin Spencer cdd562
* Tue Oct 04 2005 Quentin Spencer <qspencer@users.sourceforge.net> 3.6.0-6
Quentin Spencer 2c4ed2
- Use new Debian patch, and enable shared libs (they previously failed
Quentin Spencer 2c4ed2
  to build on gcc 4).
Quentin Spencer 2c4ed2
- Minor updates to description and README.Fedora file.
Quentin Spencer 2c4ed2
- Fix buildroot name to match FE preferred form.
Quentin Spencer 2c4ed2
- Fixes for custom optimized builds.
Quentin Spencer 2c4ed2
- Add dist tag.
Quentin Spencer cdd562
Quentin Spencer cdd562
* Wed Sep 28 2005 Quentin Spencer <qspencer@users.sourceforge.net> 3.6.0-5
Quentin Spencer cdd562
- fix files lists.
Quentin Spencer cdd562
Quentin Spencer cdd562
* Mon Sep 26 2005 Quentin Spencer <qspencer@users.sourceforge.net> 3.6.0-4
Quentin Spencer cdd562
- generate library symlinks earlier for the benefit of later linking steps.
Quentin Spencer cdd562
Quentin Spencer cdd562
* Wed Sep 14 2005 Quentin Spencer <qspencer@users.sourceforge.net> 3.6.0-3
Quentin Spencer cdd562
- Change lapack dependency to lapack-devel, and use lapack_pic.a for
Quentin Spencer cdd562
  building liblapack.so.
Quentin Spencer cdd562
Quentin Spencer cdd562
* Wed Sep 14 2005 Quentin Spencer <qspencer@users.sourceforge.net> 3.6.0-2
Quentin Spencer cdd562
- Add "bit" macro to correctly build on x86_64.
Quentin Spencer cdd562
Quentin Spencer cdd562
* Tue Aug 16 2005 Quentin Spencer <qspencer@users.sourceforge.net> 3.6.0-1
Quentin Spencer cdd562
- Initial version.