[5915] | 1 | %define enable_native_atlas 0 |
---|
[6232] | 2 | %define disable_CPU_throttling_probe 1 |
---|
[5915] | 3 | |
---|
| 4 | Name: atlas |
---|
| 5 | Version: 3.8.4 |
---|
| 6 | %if "%{?enable_native_atlas}" != "0" |
---|
| 7 | %define dist .native |
---|
| 8 | %endif |
---|
[6232] | 9 | Release: 5%{?_dist_release} |
---|
[5915] | 10 | Summary: Automatically Tuned Linear Algebra Software |
---|
[6232] | 11 | Summary(ja): 自動的にCPUに最適化する線形代数ソフトウェア |
---|
[5915] | 12 | |
---|
| 13 | Group: System Environment/Libraries |
---|
| 14 | License: BSD |
---|
| 15 | URL: http://math-atlas.sourceforge.net/ |
---|
| 16 | Source0: http://downloads.sourceforge.net/math-atlas/%{name}%{version}.tar.bz2 |
---|
| 17 | Source1: PPRO32.tgz |
---|
| 18 | Source2: K7323DNow.tgz |
---|
| 19 | Source3: README.Fedora |
---|
| 20 | Source4: USII64.tgz |
---|
| 21 | Source5: USII32.tgz |
---|
| 22 | Patch0: atlas-fedora_shared.patch |
---|
[6232] | 23 | Patch1: atlas-fedora-arm.patch |
---|
[5915] | 24 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
---|
| 25 | |
---|
| 26 | BuildRequires: gcc-gfortran lapack-static |
---|
| 27 | |
---|
| 28 | %description |
---|
| 29 | The ATLAS (Automatically Tuned Linear Algebra Software) project is an |
---|
| 30 | ongoing research effort focusing on applying empirical techniques in |
---|
| 31 | order to provide portable performance. At present, it provides C and |
---|
| 32 | Fortran77 interfaces to a portably efficient BLAS implementation, as |
---|
| 33 | well as a few routines from LAPACK. |
---|
| 34 | |
---|
| 35 | The performance improvements in ATLAS are obtained largely via |
---|
| 36 | compile-time optimizations and tend to be specific to a given hardware |
---|
| 37 | configuration. In order to package ATLAS for Fedora some compromises |
---|
| 38 | are necessary so that good performance can be obtained on a variety |
---|
| 39 | of hardware. This set of ATLAS binary packages is therefore not |
---|
| 40 | necessarily optimal for any specific hardware configuration. However, |
---|
| 41 | the source package can be used to compile customized ATLAS packages; |
---|
| 42 | see the documentation for information. |
---|
| 43 | |
---|
| 44 | %package devel |
---|
| 45 | Summary: Development libraries for ATLAS |
---|
[6232] | 46 | Summary(ja): ATLAS を使ったプログラム開発に必要なヘッダファイル/ライブラリ |
---|
[5915] | 47 | Group: Development/Libraries |
---|
| 48 | Requires: %{name} = %{version}-%{release} |
---|
| 49 | Obsoletes: %name-header <= %version-%release |
---|
| 50 | Requires(posttrans): chkconfig |
---|
| 51 | Requires(preun): chkconfig |
---|
[6232] | 52 | Requires(post): /sbin/alternatives |
---|
| 53 | Requires(postun): /sbin/alternatives |
---|
[5915] | 54 | |
---|
| 55 | %description devel |
---|
| 56 | This package contains the libraries and headers for development |
---|
| 57 | with ATLAS (Automatically Tuned Linear Algebra Software). |
---|
| 58 | |
---|
| 59 | %define types base |
---|
| 60 | |
---|
| 61 | %if "%{?enable_native_atlas}" == "0" |
---|
| 62 | ############## Subpackages for architecture extensions ################# |
---|
| 63 | # |
---|
| 64 | %ifarch x86_64 |
---|
| 65 | %define types base sse3 |
---|
| 66 | |
---|
| 67 | %package sse3 |
---|
| 68 | Summary: ATLAS libraries for SSE3 extensions |
---|
[6232] | 69 | Summary(ja): SSE3命令セット拡張に最適化した ATLASライブラリ |
---|
[5915] | 70 | Group: System Environment/Libraries |
---|
| 71 | |
---|
| 72 | %description sse3 |
---|
| 73 | This package contains the ATLAS (Automatically Tuned Linear Algebra |
---|
| 74 | Software) libraries compiled with optimizations for the SSE3 |
---|
| 75 | extensions to the x86_64 architecture. The base ATLAS builds in Fedora for the |
---|
| 76 | x86_64 architecture are made for the SSE2 extensions. |
---|
| 77 | |
---|
| 78 | %package sse3-devel |
---|
| 79 | Summary: Development libraries for ATLAS with SSE3 extensions |
---|
[6232] | 80 | Summary(ja): ATLAS を使ったプログラム開発に必要な SSE3命令セット拡張に最適化したヘッダファイル/ライブラリ |
---|
[5915] | 81 | Group: Development/Libraries |
---|
| 82 | Requires: %{name}-sse3 = %{version}-%{release} |
---|
| 83 | Obsoletes: %name-header <= %version-%release |
---|
| 84 | Requires(posttrans): chkconfig |
---|
| 85 | Requires(preun): chkconfig |
---|
[6232] | 86 | Requires(post): /sbin/alternatives |
---|
| 87 | Requires(postun): /sbin/alternatives |
---|
[5915] | 88 | |
---|
| 89 | %description sse3-devel |
---|
| 90 | This package contains shared and static versions of the ATLAS |
---|
| 91 | (Automatically Tuned Linear Algebra Software) libraries compiled with |
---|
| 92 | optimizations for the SSE3 extensions to the x86_64 architecture. |
---|
| 93 | |
---|
| 94 | %endif |
---|
| 95 | |
---|
| 96 | %ifarch %{ix86} |
---|
| 97 | %define types base 3dnow sse sse2 sse3 |
---|
| 98 | |
---|
| 99 | %package 3dnow |
---|
| 100 | Summary: ATLAS libraries for 3DNow extensions |
---|
[6232] | 101 | Summary(ja): 3DNow命令セット拡張に最適化した ATLASライブラリ |
---|
[5915] | 102 | Group: System Environment/Libraries |
---|
| 103 | |
---|
| 104 | %description 3dnow |
---|
| 105 | This package contains the ATLAS (Automatically Tuned Linear Algebra |
---|
| 106 | Software) libraries compiled with optimizations for the 3DNow extension |
---|
| 107 | to the ix86 architecture. Fedora also produces ATLAS build with SSE, SSE2 |
---|
| 108 | and SSE3 extensions. |
---|
| 109 | |
---|
| 110 | %package 3dnow-devel |
---|
| 111 | Summary: Development libraries for ATLAS with 3DNow extensions |
---|
[6232] | 112 | Summary(ja): ATLAS を使ったプログラム開発に必要な 3DNow命令セット拡張に最適化したヘッダファイル/ライブラリ |
---|
[5915] | 113 | Group: Development/Libraries |
---|
| 114 | Requires: %{name}-3dnow = %{version}-%{release} |
---|
| 115 | Obsoletes: %name-header <= %version-%release |
---|
| 116 | Requires(posttrans): chkconfig |
---|
| 117 | Requires(preun): chkconfig |
---|
| 118 | |
---|
| 119 | %description 3dnow-devel |
---|
| 120 | This package contains headers and shared versions of the ATLAS |
---|
| 121 | (Automatically Tuned Linear Algebra Software) libraries compiled with |
---|
| 122 | optimizations for the 3DNow extensions to the ix86 architecture. |
---|
| 123 | |
---|
| 124 | %package sse |
---|
| 125 | Summary: ATLAS libraries for SSE extensions |
---|
[6232] | 126 | Summary(ja): SSE命令セット拡張に最適化した ATLASライブラリ |
---|
[5915] | 127 | Group: System Environment/Libraries |
---|
| 128 | |
---|
| 129 | %description sse |
---|
| 130 | This package contains the ATLAS (Automatically Tuned Linear Algebra |
---|
| 131 | Software) libraries compiled with optimizations for the SSE(1) extensions |
---|
| 132 | to the ix86 architecture. Fedora also produces ATLAS build with SSE2 and SSE3 |
---|
| 133 | extensions. |
---|
| 134 | |
---|
| 135 | %package sse-devel |
---|
| 136 | Summary: Development libraries for ATLAS with SSE extensions |
---|
[6232] | 137 | Summary(ja): ATLAS を使ったプログラム開発に必要な SSE命令セット拡張に最適化したヘッダファイル/ライブラリ |
---|
[5915] | 138 | Group: Development/Libraries |
---|
| 139 | Requires: %{name}-sse = %{version}-%{release} |
---|
| 140 | Obsoletes: %name-header <= %version-%release |
---|
| 141 | Requires(posttrans): chkconfig |
---|
| 142 | Requires(preun): chkconfig |
---|
| 143 | |
---|
| 144 | %description sse-devel |
---|
| 145 | This package contains headers and shared versions of the ATLAS |
---|
| 146 | (Automatically Tuned Linear Algebra Software) libraries compiled with |
---|
| 147 | optimizations for the SSE(1) extensions to the ix86 architecture. |
---|
| 148 | |
---|
| 149 | %package sse2 |
---|
| 150 | Summary: ATLAS libraries for SSE2 extensions |
---|
[6232] | 151 | Summary(ja): SSE2命令セット拡張に最適化した ATLASライブラリ |
---|
[5915] | 152 | Group: System Environment/Libraries |
---|
| 153 | |
---|
| 154 | %description sse2 |
---|
| 155 | This package contains ATLAS (Automatically Tuned Linear Algebra Software) |
---|
| 156 | shared libraries compiled with optimizations for the SSE2 |
---|
| 157 | extensions to the ix86 architecture. Fedora also produces ATLAS build with |
---|
| 158 | SSE(1) and SSE3 extensions. |
---|
| 159 | |
---|
| 160 | %package sse2-devel |
---|
| 161 | Summary: Development libraries for ATLAS with SSE2 extensions |
---|
[6232] | 162 | Summary(ja): ATLAS を使ったプログラム開発に必要な SSE2命令セット拡張に最適化したヘッダファイル/ライブラリ |
---|
[5915] | 163 | Group: Development/Libraries |
---|
| 164 | Requires: %{name}-sse2 = %{version}-%{release} |
---|
| 165 | Obsoletes: %name-header <= %version-%release |
---|
| 166 | Requires(posttrans): chkconfig |
---|
| 167 | Requires(preun): chkconfig |
---|
| 168 | |
---|
| 169 | %description sse2-devel |
---|
| 170 | This package contains ATLAS (Automatically Tuned Linear Algebra Software) |
---|
| 171 | shared libraries compiled with optimizations for the SSE2 extensions to the |
---|
| 172 | ix86 architecture. |
---|
| 173 | |
---|
| 174 | %package sse3 |
---|
| 175 | Summary: ATLAS libraries for SSE3 extensions |
---|
[6232] | 176 | Summary(ja): SSE3命令セット拡張に最適化した ATLASライブラリ |
---|
[5915] | 177 | Group: System Environment/Libraries |
---|
| 178 | |
---|
| 179 | %description sse3 |
---|
| 180 | This package contains the ATLAS (Automatically Tuned Linear Algebra |
---|
| 181 | Software) libraries compiled with optimizations for the SSE3. |
---|
| 182 | Fedora also produces ATLAS build with SSE(1) and SSE2 extensions. |
---|
| 183 | |
---|
| 184 | %package sse3-devel |
---|
| 185 | Summary: Development libraries for ATLAS with SSE3 extensions |
---|
[6232] | 186 | Summary(ja): ATLAS を使ったプログラム開発に必要な SSE3命令セット拡張に最適化したヘッダファイル/ライブラリ |
---|
[5915] | 187 | Group: Development/Libraries |
---|
| 188 | Requires: %{name}-sse3 = %{version}-%{release} |
---|
| 189 | Obsoletes: %name-header <= %version-%release |
---|
| 190 | Requires(posttrans): chkconfig |
---|
| 191 | Requires(preun): chkconfig |
---|
| 192 | |
---|
| 193 | %description sse3-devel |
---|
| 194 | This package contains ATLAS (Automatically Tuned Linear Algebra Software) |
---|
| 195 | shared libraries compiled with optimizations for the SSE3 extensions to the ix86 architecture. |
---|
| 196 | |
---|
| 197 | %endif |
---|
| 198 | |
---|
| 199 | %endif |
---|
| 200 | |
---|
| 201 | %global mode %{__isa_bits} |
---|
| 202 | %ifarch %{arm} |
---|
| 203 | %define arch_option -A 38 |
---|
| 204 | %define threads_option -t 2 |
---|
| 205 | %global mode ' ' |
---|
| 206 | %endif |
---|
| 207 | |
---|
| 208 | %prep |
---|
| 209 | %setup -q -n ATLAS |
---|
| 210 | %patch0 -p0 -b .shared |
---|
| 211 | %ifarch %{arm} |
---|
[6232] | 212 | %patch1 -p0 -b .arm |
---|
[5915] | 213 | %endif |
---|
| 214 | cp %{SOURCE1} CONFIG/ARCHS/ |
---|
| 215 | cp %{SOURCE2} CONFIG/ARCHS/ |
---|
| 216 | cp %{SOURCE3} doc |
---|
| 217 | cp %{SOURCE4} CONFIG/ARCHS/ |
---|
| 218 | cp %{SOURCE5} CONFIG/ARCHS/ |
---|
| 219 | |
---|
| 220 | %build |
---|
| 221 | for type in %{types}; do |
---|
| 222 | if [ "$type" = "base" ]; then |
---|
| 223 | libname=atlas |
---|
| 224 | %define pr_base %(echo $((%{__isa_bits}+0))) |
---|
| 225 | else |
---|
| 226 | libname=atlas-${type} |
---|
| 227 | fi |
---|
| 228 | mkdir -p %{_arch}_${type} |
---|
| 229 | pushd %{_arch}_${type} |
---|
| 230 | ../configure -b %{mode} %{?threads_option} %{?arch_option} -D c -DWALL -Fa alg '-g -Wa,--noexecstack -fPIC'\ |
---|
| 231 | --prefix=%{buildroot}%{_prefix} \ |
---|
| 232 | --incdir=%{buildroot}%{_includedir} \ |
---|
| 233 | --libdir=%{buildroot}%{_libdir}/${libname} \ |
---|
[6232] | 234 | --with-netlib-lapack=%{_libdir}/liblapack_pic.a \ |
---|
| 235 | %if %{disable_CPU_throttling_probe} |
---|
| 236 | -Si cputhrchk 0 |
---|
| 237 | %endif |
---|
[5915] | 238 | |
---|
| 239 | %if "%{?enable_native_atlas}" == "0" |
---|
| 240 | %ifarch x86_64 |
---|
| 241 | if [ "$type" = "base" ]; then |
---|
| 242 | sed -i 's#ARCH =.*#ARCH = HAMMER64SSE2#' Make.inc |
---|
| 243 | sed -i 's#-DATL_SSE3##' Make.inc |
---|
| 244 | sed -i 's#-msse3#-msse2#' Make.inc |
---|
| 245 | elif [ "$type" = "sse3" ]; then |
---|
| 246 | sed -i 's#ARCH =.*#ARCH = HAMMER64SSE3#' Make.inc |
---|
| 247 | %define pr_sse3 %(echo $((%{__isa_bits}+4))) |
---|
| 248 | fi |
---|
| 249 | %endif |
---|
| 250 | |
---|
| 251 | %ifarch %{ix86} |
---|
| 252 | if [ "$type" = "base" ]; then |
---|
| 253 | sed -i 's#ARCH =.*#ARCH = PPRO32#' Make.inc |
---|
| 254 | sed -i 's#-DATL_SSE3 -DATL_SSE2 -DATL_SSE1##' Make.inc |
---|
| 255 | sed -i 's#-mfpmath=sse -msse3#-mfpmath=387#' Make.inc |
---|
| 256 | elif [ "$type" = "3dnow" ]; then |
---|
| 257 | sed -i 's#ARCH =.*#ARCH = K7323DNow#' Make.inc |
---|
| 258 | sed -i 's#-DATL_SSE3 -DATL_SSE2 -DATL_SSE1##' Make.inc |
---|
| 259 | sed -i 's#-mfpmath=sse -msse3#-mfpmath=387#' Make.inc |
---|
| 260 | %define pr_3dnow %(echo $((%{__isa_bits}+1))) |
---|
| 261 | elif [ "$type" = "sse" ]; then |
---|
| 262 | sed -i 's#ARCH =.*#ARCH = PIII32SSE1#' Make.inc |
---|
| 263 | sed -i 's#-DATL_SSE3 -DATL_SSE2##' Make.inc |
---|
| 264 | sed -i 's#-msse3#-msse#' Make.inc |
---|
| 265 | %define pr_sse %(echo $((%{__isa_bits}+2))) |
---|
| 266 | elif [ "$type" = "sse2" ]; then |
---|
| 267 | sed -i 's#ARCH =.*#ARCH = P432SSE2#' Make.inc |
---|
| 268 | sed -i 's#-DATL_SSE3##' Make.inc |
---|
| 269 | sed -i 's#-msse3#-msse2#' Make.inc |
---|
| 270 | %define pr_sse2 %(echo $((%{__isa_bits}+3))) |
---|
| 271 | elif [ "$type" = "sse3" ]; then |
---|
| 272 | sed -i 's#ARCH =.*#ARCH = P4E32SSE3#' Make.inc |
---|
| 273 | %define pr_sse3 %(echo $((%{__isa_bits}+4))) |
---|
| 274 | fi |
---|
| 275 | %endif |
---|
| 276 | |
---|
| 277 | %endif |
---|
| 278 | make build |
---|
| 279 | cd lib |
---|
| 280 | make shared |
---|
| 281 | make ptshared |
---|
| 282 | popd |
---|
| 283 | done |
---|
| 284 | |
---|
| 285 | %install |
---|
| 286 | rm -rf %{buildroot} |
---|
| 287 | for type in %{types}; do |
---|
| 288 | pushd %{_arch}_${type} |
---|
| 289 | make DESTDIR=%{buildroot} install |
---|
| 290 | mv %{buildroot}%{_includedir}/atlas %{buildroot}%{_includedir}/atlas-%{_arch}-${type} |
---|
| 291 | if [ "$type" = "base" ]; then |
---|
| 292 | cp -pr lib/*.so* %{buildroot}%{_libdir}/atlas/ |
---|
| 293 | rm -f %{buildroot}%{_libdir}/atlas/*.a |
---|
| 294 | else |
---|
| 295 | cp -pr lib/*.so* %{buildroot}%{_libdir}/atlas-${type}/ |
---|
| 296 | rm -f %{buildroot}%{_libdir}/atlas-${type}/*.a |
---|
| 297 | fi |
---|
| 298 | popd |
---|
| 299 | |
---|
| 300 | mkdir -p %{buildroot}/etc/ld.so.conf.d |
---|
| 301 | if [ "$type" = "base" ]; then |
---|
| 302 | echo "%{_libdir}/atlas" \ |
---|
| 303 | > %{buildroot}/etc/ld.so.conf.d/atlas-%{_arch}.conf |
---|
| 304 | else |
---|
| 305 | echo "%{_libdir}/atlas-${type}" \ |
---|
| 306 | > %{buildroot}/etc/ld.so.conf.d/atlas-%{_arch}-${type}.conf |
---|
| 307 | fi |
---|
| 308 | done |
---|
| 309 | mkdir -p %{buildroot}%{_includedir}/atlas |
---|
| 310 | |
---|
| 311 | |
---|
| 312 | %clean |
---|
| 313 | rm -rf %{buildroot} |
---|
| 314 | |
---|
| 315 | %post -p /sbin/ldconfig |
---|
| 316 | |
---|
| 317 | %postun -p /sbin/ldconfig |
---|
| 318 | |
---|
| 319 | %posttrans devel |
---|
| 320 | if [ $1 -eq 0 ] ; then |
---|
[6232] | 321 | /sbin/alternatives --install %{_includedir}/atlas atlas-inc \ |
---|
[5915] | 322 | %{_includedir}/atlas-%{_arch}-base %{pr_base} |
---|
| 323 | fi |
---|
| 324 | |
---|
| 325 | %preun devel |
---|
| 326 | if [ $1 -ge 0 ] ; then |
---|
[6232] | 327 | /sbin/alternatives --remove atlas-inc %{_includedir}/atlas-%{_arch}-base |
---|
[5915] | 328 | fi |
---|
| 329 | |
---|
| 330 | %if "%{?enable_native_atlas}" == "0" |
---|
| 331 | %ifarch x86_64 |
---|
| 332 | |
---|
| 333 | %post -n atlas-sse3 -p /sbin/ldconfig |
---|
| 334 | |
---|
| 335 | %postun -n atlas-sse3 -p /sbin/ldconfig |
---|
| 336 | |
---|
| 337 | %posttrans sse3-devel |
---|
| 338 | if [ $1 -eq 0 ] ; then |
---|
[6232] | 339 | /sbin/alternatives --install %{_includedir}/atlas atlas-inc \ |
---|
[5915] | 340 | %{_includedir}/atlas-%{_arch}-sse3 %{pr_sse3} |
---|
| 341 | fi |
---|
| 342 | |
---|
| 343 | %preun sse3-devel |
---|
| 344 | if [ $1 -ge 0 ] ; then |
---|
[6232] | 345 | /sbin/alternatives --remove atlas-inc %{_includedir}/atlas-%{_arch}-sse3 |
---|
[5915] | 346 | fi |
---|
| 347 | |
---|
| 348 | %endif |
---|
| 349 | |
---|
| 350 | %ifarch %{ix86} |
---|
| 351 | %post -n atlas-3dnow -p /sbin/ldconfig |
---|
| 352 | |
---|
| 353 | %postun -n atlas-3dnow -p /sbin/ldconfig |
---|
| 354 | |
---|
| 355 | %posttrans 3dnow-devel |
---|
| 356 | if [ $1 -eq 0 ] ; then |
---|
[6232] | 357 | /sbin/alternatives --install %{_includedir}/atlas atlas-inc \ |
---|
[5915] | 358 | %{_includedir}/atlas-%{_arch}-3dnow %{pr_3dnow} |
---|
| 359 | fi |
---|
| 360 | |
---|
| 361 | %preun 3dnow-devel |
---|
| 362 | if [ $1 -ge 0 ] ; then |
---|
[6232] | 363 | /sbin/alternatives --remove atlas-inc %{_includedir}/atlas-%{_arch}-3dnow |
---|
[5915] | 364 | fi |
---|
| 365 | |
---|
| 366 | %post -n atlas-sse -p /sbin/ldconfig |
---|
| 367 | |
---|
| 368 | %postun -n atlas-sse -p /sbin/ldconfig |
---|
| 369 | |
---|
| 370 | %posttrans sse-devel |
---|
| 371 | if [ $1 -eq 0 ] ; then |
---|
[6232] | 372 | /sbin/alternatives --install %{_includedir}/atlas atlas-inc \ |
---|
[5915] | 373 | %{_includedir}/atlas-%{_arch}-sse %{pr_sse} |
---|
| 374 | fi |
---|
| 375 | |
---|
| 376 | %preun sse-devel |
---|
| 377 | if [ $1 -ge 0 ] ; then |
---|
[6232] | 378 | /sbin/alternatives --remove atlas-inc %{_includedir}/atlas-%{_arch}-sse |
---|
[5915] | 379 | fi |
---|
| 380 | |
---|
| 381 | %post -n atlas-sse2 -p /sbin/ldconfig |
---|
| 382 | |
---|
| 383 | %postun -n atlas-sse2 -p /sbin/ldconfig |
---|
| 384 | |
---|
| 385 | %posttrans sse2-devel |
---|
| 386 | if [ $1 -eq 0 ] ; then |
---|
[6232] | 387 | /sbin/alternatives --install %{_includedir}/atlas atlas-inc \ |
---|
[5915] | 388 | %{_includedir}/atlas-%{_arch}-sse2 %{pr_sse2} |
---|
| 389 | fi |
---|
| 390 | |
---|
| 391 | %preun sse2-devel |
---|
| 392 | if [ $1 -ge 0 ] ; then |
---|
[6232] | 393 | /sbin/alternatives --remove atlas-inc %{_includedir}/atlas-%{_arch}-sse2 |
---|
[5915] | 394 | fi |
---|
| 395 | |
---|
| 396 | %post -n atlas-sse3 -p /sbin/ldconfig |
---|
| 397 | |
---|
| 398 | %postun -n atlas-sse3 -p /sbin/ldconfig |
---|
| 399 | |
---|
| 400 | %posttrans sse3-devel |
---|
| 401 | if [ $1 -eq 0 ] ; then |
---|
[6232] | 402 | /sbin/alternatives --install %{_includedir}/atlas atlas-inc \ |
---|
[5915] | 403 | %{_includedir}/atlas-%{_arch}-sse3 %{pr_sse3} |
---|
| 404 | fi |
---|
| 405 | |
---|
| 406 | %preun sse3-devel |
---|
| 407 | if [ $1 -ge 0 ] ; then |
---|
[6232] | 408 | /sbin/alternatives --remove atlas-inc %{_includedir}/atlas-%{_arch}-sse3 |
---|
[5915] | 409 | fi |
---|
| 410 | |
---|
| 411 | %endif |
---|
| 412 | |
---|
| 413 | %endif |
---|
| 414 | |
---|
| 415 | %files |
---|
| 416 | %defattr(-,root,root,-) |
---|
| 417 | %doc doc/README.Fedora |
---|
| 418 | %dir %{_libdir}/atlas |
---|
| 419 | %{_libdir}/atlas/*.so.* |
---|
| 420 | %config(noreplace) /etc/ld.so.conf.d/atlas-%{_arch}.conf |
---|
| 421 | |
---|
| 422 | %files devel |
---|
| 423 | %defattr(-,root,root,-) |
---|
| 424 | %doc doc |
---|
| 425 | %{_libdir}/atlas/*.so |
---|
| 426 | %{_includedir}/atlas-%{_arch}-base/ |
---|
| 427 | %{_includedir}/*.h |
---|
| 428 | %ghost %{_includedir}/atlas |
---|
| 429 | |
---|
| 430 | %if "%{?enable_native_atlas}" == "0" |
---|
| 431 | |
---|
| 432 | %ifarch x86_64 |
---|
| 433 | |
---|
| 434 | %files sse3 |
---|
| 435 | %defattr(-,root,root,-) |
---|
| 436 | %doc doc/README.Fedora |
---|
| 437 | %dir %{_libdir}/atlas-sse3 |
---|
| 438 | %{_libdir}/atlas-sse3/*.so.* |
---|
| 439 | %config(noreplace) /etc/ld.so.conf.d/atlas-%{_arch}-sse3.conf |
---|
| 440 | |
---|
| 441 | %files sse3-devel |
---|
| 442 | %defattr(-,root,root,-) |
---|
| 443 | %doc doc |
---|
| 444 | %{_libdir}/atlas-sse3/*.so |
---|
| 445 | %{_includedir}/atlas-%{_arch}-sse3/ |
---|
| 446 | %{_includedir}/*.h |
---|
| 447 | %ghost %{_includedir}/atlas |
---|
| 448 | |
---|
| 449 | %endif |
---|
| 450 | |
---|
| 451 | %ifarch %{ix86} |
---|
| 452 | |
---|
| 453 | %files 3dnow |
---|
| 454 | %defattr(-,root,root,-) |
---|
| 455 | %doc doc/README.Fedora |
---|
| 456 | %dir %{_libdir}/atlas-3dnow |
---|
| 457 | %{_libdir}/atlas-3dnow/*.so.* |
---|
| 458 | %config(noreplace) /etc/ld.so.conf.d/atlas-%{_arch}-3dnow.conf |
---|
| 459 | |
---|
| 460 | %files 3dnow-devel |
---|
| 461 | %defattr(-,root,root,-) |
---|
| 462 | %doc doc |
---|
| 463 | %{_libdir}/atlas-3dnow/*.so |
---|
| 464 | %{_includedir}/atlas-%{_arch}-3dnow/ |
---|
| 465 | %{_includedir}/*.h |
---|
| 466 | %ghost %{_includedir}/atlas |
---|
| 467 | |
---|
| 468 | %files sse |
---|
| 469 | %defattr(-,root,root,-) |
---|
| 470 | %doc doc/README.Fedora |
---|
| 471 | %dir %{_libdir}/atlas-sse |
---|
| 472 | %{_libdir}/atlas-sse/*.so.* |
---|
| 473 | %config(noreplace) /etc/ld.so.conf.d/atlas-%{_arch}-sse.conf |
---|
| 474 | |
---|
| 475 | %files sse-devel |
---|
| 476 | %defattr(-,root,root,-) |
---|
| 477 | %doc doc |
---|
| 478 | %{_libdir}/atlas-sse/*.so |
---|
| 479 | %{_includedir}/atlas-%{_arch}-sse/ |
---|
| 480 | %{_includedir}/*.h |
---|
| 481 | %ghost %{_includedir}/atlas |
---|
| 482 | |
---|
| 483 | %files sse2 |
---|
| 484 | %defattr(-,root,root,-) |
---|
| 485 | %doc doc/README.Fedora |
---|
| 486 | %dir %{_libdir}/atlas-sse2 |
---|
| 487 | %{_libdir}/atlas-sse2/*.so.* |
---|
| 488 | %config(noreplace) /etc/ld.so.conf.d/atlas-%{_arch}-sse2.conf |
---|
| 489 | |
---|
| 490 | %files sse2-devel |
---|
| 491 | %defattr(-,root,root,-) |
---|
| 492 | %doc doc |
---|
| 493 | %{_libdir}/atlas-sse2/*.so |
---|
| 494 | %{_includedir}/atlas-%{_arch}-sse2/ |
---|
| 495 | %{_includedir}/*.h |
---|
| 496 | %ghost %{_includedir}/atlas |
---|
| 497 | |
---|
| 498 | %files sse3 |
---|
| 499 | %defattr(-,root,root,-) |
---|
| 500 | %doc doc/README.Fedora |
---|
| 501 | %dir %{_libdir}/atlas-sse3 |
---|
| 502 | %{_libdir}/atlas-sse3/*.so.* |
---|
| 503 | %config(noreplace) /etc/ld.so.conf.d/atlas-%{_arch}-sse3.conf |
---|
| 504 | |
---|
| 505 | %files sse3-devel |
---|
| 506 | %defattr(-,root,root,-) |
---|
| 507 | %doc doc |
---|
| 508 | %{_libdir}/atlas-sse3/*.so |
---|
| 509 | %{_includedir}/atlas-%{_arch}-sse3/ |
---|
| 510 | %{_includedir}/*.h |
---|
| 511 | %ghost %{_includedir}/atlas |
---|
| 512 | |
---|
| 513 | %endif |
---|
| 514 | |
---|
| 515 | %endif |
---|
| 516 | |
---|
| 517 | %changelog |
---|
[6232] | 518 | * Fri May 25 2012 NAKAMURA Kenta <kenta@vinelinux.org> - 3.8.4-5 |
---|
| 519 | - added Japanese Summary |
---|
| 520 | - turned off throttle checking |
---|
| 521 | |
---|
[5915] | 522 | * Thu Mar 15 2012 NAKAMURA Kenta <kenta@vinelinux.org> - 3.8.4-4 |
---|
| 523 | - initial build for Vine Linux |
---|
| 524 | |
---|
| 525 | * Thu Sep 01 2011 Deji Akingunola <dakingun@gmail.com> - 3.8.4-3 |
---|
| 526 | - Apply patch to enable arm build (Patch provided by Jitesh Shah <jiteshs@marvell.com>) |
---|
| 527 | - Stop turning off throttle checking, upstream frown at it (seems O.K. for Koji) |
---|
| 528 | |
---|
| 529 | * Mon Jun 20 2011 Dan Horák <dan[at]danny.cz> - 3.8.4-2 |
---|
| 530 | - Use -march=z10 for z196 optimised build because the builder is a z10 |
---|
| 531 | (Christian Bornträger) |
---|
| 532 | |
---|
| 533 | * Tue Jun 14 2011 Deji Akingunola <dakingun@gmail.com> - 3.8.4-1 |
---|
| 534 | - Update to 3.8.4 |
---|
| 535 | - Build the default package for SSE2 and add a SSE3 subpackage on x86_64 |
---|
| 536 | - Apply patch (and arch defs.) to build on s390 and s390x (Dan Horák) |
---|
| 537 | - Fix-up build on s390 and s390x (Christian Bornträger) |
---|
| 538 | |
---|
| 539 | * Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> |
---|
| 540 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
| 541 | |
---|
| 542 | * Mon Jul 26 2010 Deji Akingunola <dakingun@gmail.com> - 3.8.3-18 |
---|
| 543 | - Create a subpackage for SSE2 on x86_64 |
---|
| 544 | |
---|
| 545 | * Sat Jul 17 2010 Dan Horák <dan[at]danny.cz> - 3.8.3-17 |
---|
| 546 | - rebuild against fixed lapack libraries |
---|
| 547 | |
---|
| 548 | * Thu Jul 15 2010 Dan Horák <dan[at]danny.cz> - 3.8.3-16 |
---|
| 549 | - fix build on s390 (patch by Karsten Hopp) |
---|
| 550 | |
---|
| 551 | * Wed Feb 10 2010 Deji Akingunola <dakingun@gmail.com> - 3.8.3-15 |
---|
| 552 | - Disable the problematic sparc patch |
---|
| 553 | - Change lapack-devel BR to lapack-static, where liblapack_pic.a now resides. |
---|
| 554 | |
---|
| 555 | * Wed Feb 03 2010 Dennis Gilmore <dennis@ausil.us> - 3.8.3-14 |
---|
| 556 | - fix sparc build |
---|
| 557 | |
---|
| 558 | * Fri Jan 29 2010 Deji Akingunola <dakingun@gmail.com> - 3.8.3-13 |
---|
| 559 | - Remove static libraries. |
---|
| 560 | - Fix typo in SSE3 subpackage's summary. |
---|
| 561 | |
---|
| 562 | * Sat Oct 24 2009 Deji Akingunola <dakingun@gmail.com> - 3.8.3-12 |
---|
| 563 | - Use alternatives to workaround multilib conflicts (BZ#508565). |
---|
| 564 | |
---|
| 565 | * Tue Sep 29 2009 Deji Akingunola <dakingun@gmail.com> - 3.8.3-11 |
---|
| 566 | - Obsolete the -header subpackage properly. |
---|
| 567 | |
---|
| 568 | * Sat Sep 26 2009 Deji Akingunola <dakingun@gmail.com> - 3.8.3-10 |
---|
| 569 | - Use the new arch. default for Pentium PRO (Fedora bug #510498) |
---|
| 570 | - (Re-)Introduce 3dNow subpackage |
---|
| 571 | |
---|
| 572 | * Sun Sep 6 2009 Alex Lancaster <alexlan[AT]fedoraproject org> - 3.8.3-9 |
---|
| 573 | - Rebuild against fixed lapack (see #520518) |
---|
| 574 | |
---|
| 575 | * Wed Aug 13 2009 Deji Akingunola <dakingun@gmail.com> - 3.8.3-8 |
---|
| 576 | - Revert the last change, it doesn't solve the problem. |
---|
| 577 | |
---|
| 578 | * Tue Aug 04 2009 Deji Akingunola <dakingun@gmail.com> - 3.8.3-7 |
---|
| 579 | - Create a -header subpackage to avoid multilib conflicts (BZ#508565). |
---|
| 580 | |
---|
| 581 | * Tue Aug 04 2009 Deji Akingunola <dakingun@gmail.com> - 3.8.3-6 |
---|
| 582 | - Add '-g' to build flag to allow proper genration of debuginfo subpackages (Fedora bug #509813) |
---|
| 583 | - Build for F12 |
---|
| 584 | |
---|
| 585 | * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.8.3-5 |
---|
| 586 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 587 | |
---|
| 588 | * Sat May 02 2009 Deji Akingunola <dakingun@gmail.com> - 3.8.3-4 |
---|
| 589 | - Use the right -msse* option for the -sse* subpackages (Fedora bug #498715) |
---|
| 590 | |
---|
| 591 | * Tue Apr 21 2009 Karsten Hopp <karsten@redhat.com> 3.8.3-3.1 |
---|
| 592 | - add s390x to 64 bit archs |
---|
| 593 | |
---|
| 594 | * Fri Feb 27 2009 Deji Akingunola <dakingun@gmail.com> - 3.8.3-3 |
---|
| 595 | - Rebuild |
---|
| 596 | |
---|
| 597 | * Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.8.3-2 |
---|
| 598 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 599 | |
---|
| 600 | * Sun Feb 22 2009 Deji Akingunola <dakingun@gmail.com> - 3.8.3-1 |
---|
| 601 | - Update to version 3.8.3 |
---|
| 602 | |
---|
| 603 | * Sun Dec 21 2008 Deji Akingunola <dakingun@gmail.com> - 3.8.2-5 |
---|
| 604 | - Link in appropriate libs when creating shared libs, reported by Orcan 'oget' Ogetbil (BZ#475411) |
---|
| 605 | |
---|
| 606 | * Tue Dec 16 2008 Deji Akingunola <dakingun@gmail.com> - 3.8.2-4 |
---|
| 607 | - Don't symlink the atlas libdir on i386, cause upgrade issue (BZ#476787) |
---|
| 608 | - Fix options passed to gcc when making shared libs |
---|
| 609 | |
---|
| 610 | * Tue Dec 16 2008 Deji Akingunola <dakingun@gmail.com> - 3.8.2-3 |
---|
| 611 | - Use 'gcc -shared' to build shared libs instead of stock 'ld' |
---|
| 612 | |
---|
| 613 | * Sat Dec 13 2008 Deji Akingunola <dakingun@gmail.com> - 3.8.2-2 |
---|
| 614 | - Properly obsolete/provide older subpackages that are no longer packaged. |
---|
| 615 | |
---|
| 616 | * Mon Sep 01 2008 Deji Akingunola <dakingun@gmail.com> - 3.8.2-1 |
---|
| 617 | - Upgrade to ver 3.8.2 with refined build procedures. |
---|
| 618 | |
---|
| 619 | * Thu Feb 28 2008 Quentin Spencer <qspencer@users.sourceforge.net> 3.6.0-15 |
---|
| 620 | - Disable altivec package--it is causing illegal instructions during build. |
---|
| 621 | |
---|
| 622 | * Thu Feb 28 2008 Quentin Spencer <qspencer@users.sourceforge.net> 3.6.0-14 |
---|
| 623 | - Enable compilation on alpha (bug 426086). |
---|
| 624 | - Patch for compilation on ia64 (bug 432744). |
---|
| 625 | |
---|
| 626 | * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 3.6.0-13 |
---|
| 627 | - Autorebuild for GCC 4.3 |
---|
| 628 | |
---|
| 629 | * Mon Jun 4 2007 Orion Poplawski <orion@cora.nwra.com> 3.6.0-12 |
---|
| 630 | - Rebuild for ppc64 |
---|
| 631 | |
---|
| 632 | * Fri Sep 8 2006 Quentin Spencer <qspencer@users.sourceforge.net> 3.6.0-11 |
---|
| 633 | - Rebuild for FC6. |
---|
| 634 | - Remove outdated comments from spec file. |
---|
| 635 | |
---|
| 636 | * Mon Feb 13 2006 Quentin Spencer <qspencer@users.sourceforge.net> 3.6.0-10 |
---|
| 637 | - Rebuild for Fedora Extras 5. |
---|
| 638 | - Add --noexecstack to compilation of assembly kernels. These were |
---|
| 639 | previously marked executable, which caused problems with selinux. |
---|
| 640 | |
---|
| 641 | * Mon Dec 19 2005 Quentin Spencer <qspencer@users.sourceforge.net> 3.6.0-9 |
---|
| 642 | - Rebuild for gcc 4.1. |
---|
| 643 | |
---|
| 644 | * Mon Oct 10 2005 Quentin Spencer <qspencer@users.sourceforge.net> 3.6.0-8 |
---|
| 645 | - Make all devel subpackages depend on their non-devel counterparts. |
---|
| 646 | - Add /etc/ld.so.conf.d files for -sse and -3dnow, because they don't |
---|
| 647 | seem to get picked up automatically. |
---|
| 648 | |
---|
| 649 | * Wed Oct 05 2005 Quentin Spencer <qspencer@users.sourceforge.net> 3.6.0-7 |
---|
| 650 | - Forgot to add the new patch to sources. |
---|
| 651 | |
---|
| 652 | * Tue Oct 04 2005 Quentin Spencer <qspencer@users.sourceforge.net> 3.6.0-6 |
---|
| 653 | - Use new Debian patch, and enable shared libs (they previously failed |
---|
| 654 | to build on gcc 4). |
---|
| 655 | - Minor updates to description and README.Fedora file. |
---|
| 656 | - Fix buildroot name to match FE preferred form. |
---|
| 657 | - Fixes for custom optimized builds. |
---|
| 658 | - Add dist tag. |
---|
| 659 | |
---|
| 660 | * Wed Sep 28 2005 Quentin Spencer <qspencer@users.sourceforge.net> 3.6.0-5 |
---|
| 661 | - fix files lists. |
---|
| 662 | |
---|
| 663 | * Mon Sep 26 2005 Quentin Spencer <qspencer@users.sourceforge.net> 3.6.0-4 |
---|
| 664 | - generate library symlinks earlier for the benefit of later linking steps. |
---|
| 665 | |
---|
| 666 | * Wed Sep 14 2005 Quentin Spencer <qspencer@users.sourceforge.net> 3.6.0-3 |
---|
| 667 | - Change lapack dependency to lapack-devel, and use lapack_pic.a for |
---|
| 668 | building liblapack.so. |
---|
| 669 | |
---|
| 670 | * Wed Sep 14 2005 Quentin Spencer <qspencer@users.sourceforge.net> 3.6.0-2 |
---|
| 671 | - Add "bit" macro to correctly build on x86_64. |
---|
| 672 | |
---|
| 673 | * Tue Aug 16 2005 Quentin Spencer <qspencer@users.sourceforge.net> 3.6.0-1 |
---|
| 674 | - Initial version. |
---|