From aee2a9a047e937c1a07c72b94974b254126ae6df Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arkadiusz=20Mi=C5=9Bkiewicz?= Date: Wed, 29 Jun 2005 17:54:38 +0000 Subject: [PATCH] - very raw/broken/nfy version Changed files: atlas.spec -> 1.1 --- atlas.spec | 211 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 211 insertions(+) create mode 100644 atlas.spec diff --git a/atlas.spec b/atlas.spec new file mode 100644 index 0000000..bcd5312 --- /dev/null +++ b/atlas.spec @@ -0,0 +1,211 @@ +Summary: The atlas libraries for numerical linear algebra +Summary(pl): Biblioteki numeryczne atlas do algebry liniowej +Name: atlas +Version: 3.7.10 +Release: 1 +License: freely distributable +Group: Development/Libraries +Source0: http://dl.sourceforge.net/math-atlas/%{name}%{version}.tar.bz2 +# Source0-md5: c24aa9f676122fe6331fa63dd88c4113 +URL: http://math-atlas.sourceforge.net/ +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: libtool >= 1:1.4.2-9 +BuildRequires: gcc-g77 +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%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. + +%package devel +Summary: atlas header files +Summary(pl): Pliki nag³ówkowe atlas +Group: Development/Libraries +Requires: %{name} = %{version} +Requires: blas-devel = %{version} +Obsoletes: lapack-man + +%description devel +atlas header files. + +%description devel -l pl +Pliki nag³ówkowe atlas. + +%package static +Summary: Static atlas libraries +Summary(pl): Biblioteki statyczne atlas +Group: Development/Libraries +Requires: %{name}-devel = %{version} + +%description static +Static atlas libraries. + +%description static -l pl +Biblioteki statyczne atlas. + +%package -n blas +Summary: The BLAS (Basic Linear Algebra Subprograms) library for Linux +Summary(pl): Biblioteka BLAS (Basic Linear Algebra Subprograms) dla Linuksa +Group: Development/Libraries +Obsoletes: lapack-blas + +%description -n blas +BLAS (Basic Linear Algebra Subprograms) is a standard library for +numerical algebra. BLAS provides a number of basic algorithms for +linear algebra. BLAS is fast and well-tested, was written in FORTRAN +77. + +Warning: this is a reference implementation from Netlib. If possible, +use version optimized for your architecture instead. + +%description -n blas -l pl +BLAS (Basic Linear Algebra Subprograms) jest standardow± bibliotek± +numeryczn± algebry. Dostarcza wiele podstawowych algorytmów dla +algebry liniowej. Jest szybka i dobrze przetestowana, zosta³a napisana +w Fortranie 77. + +Ostrze¿enie: to jest implementacja przyk³adowa z repozytorium Netlib. +Je¿eli to mo¿liwe, nale¿y u¿ywaæ zamiast niej wersji zoptymalizowanej +pod dan± architekturê. + +%package -n blas-devel +Summary: BLAS header files +Summary(pl): Pliki nag³ówkowe BLAS +Group: Development/Libraries +Requires: blas = %{version} +Obsoletes: blas-man + +%description -n blas-devel +BLAS header files. + +%description -n blas-devel -l pl +Pliki nag³ówkowe BLAS. + +%package -n blas-static +Summary: Static BLAS libraries +Summary(pl): Biblioteki statyczne BLAS +Group: Development/Libraries +Requires: blas-devel = %{version} + +%description -n blas-static +Static BLAS libraries. + +%description -n blas-static -l pl +Biblioteki statyczne BLAS. + +%prep +%setup -q -n ATLAS + +%build +# make config CC=xlc_r +cat > config.expect < blasmans.list +find blas/man/manl -name "*.l" -printf "%{_mandir}/man3/%%f\n" | sed 's/\.l/.3*/' >> blasmans.list +echo "%defattr(644, root, root, 755)" > mans.list +find man/manl -name "*.l" -printf "%{_mandir}/man3/%%f\n" | sed 's/\.l/.3*/' >> mans.list + +%clean +rm -fr $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%post -n blas -p /sbin/ldconfig +%postun -n blas -p /sbin/ldconfig + +%files +%defattr(644,root,root,755) +%doc README +%attr(755,root,root) %{_libdir}/liblapack.so.*.*.* + +%files devel -f mans.list +%defattr(644,root,root,755) +%attr(755,root,root) %{_libdir}/liblapack.so +%{_libdir}/liblapack.la + +%files static +%defattr(644,root,root,755) +%{_libdir}/liblapack.a + +%files -n blas +%defattr(644,root,root,755) +%attr(755,root,root) %{_libdir}/libblas.so.*.*.* + +%files -n blas-devel -f blasmans.list +%defattr(644,root,root,755) +%attr(755,root,root) %{_libdir}/libblas.so +%{_libdir}/libblas.la + +%files -n blas-static +%defattr(644,root,root,755) +%{_libdir}/libblas.a -- 2.44.0