SPECS: atlas.spec (NEW) - very raw/broken/nfy version

arekm arekm at pld-linux.org
Wed Jun 29 19:54:44 CEST 2005


Author: arekm                        Date: Wed Jun 29 17:54:44 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- very raw/broken/nfy version

---- Files affected:
SPECS:
   atlas.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/atlas.spec
diff -u /dev/null SPECS/atlas.spec:1.1
--- /dev/null	Wed Jun 29 19:54:44 2005
+++ SPECS/atlas.spec	Wed Jun 29 19:54:38 2005
@@ -0,0 +1,317 @@
+# $Revision$, $Date$
+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 <<EOF
+log_file "config.expect.log"
+set finished 0
+set arch foo
+spawn ./xconfig
+while {\$finished == 0} {
+  set timeout 120
+  expect {
+    -nocase {Enter number at top left of screen}  {send "99\n"}
+    -nocase {Have you scoped the errata file\?}   {send "y\n"}
+    -nocase {Are you ready to continue\?}         {send "y\n"}
+    -nocase {Enter machine number \[2\]: }        {send "1\n"}
+    -nocase {Are you using a cross-compiler\?}    {send "n\n"}
+    -nocase {enable Posix threads support\?}      {send "y\n"}
+    -nocase {use express setup\?}                 {send "y\n"}
+    -nocase -indices -re {Enter Architecture name \(ARCH\) \[(.*)\]}
+     {global arch; set arch Linux_PPCGP; send "Linux_PPCGP\n"}
+    -nocase {overwrite it\?}                      {send "y\n"}
+    -nocase {Enter File creation delay in seconds}
+                                                  {send "0\n"}
+    -nocase {Enter Top level ATLAS directory}     {send "\n"}
+    -nocase {Enter Directory to build libraries in}     {send "\n"}
+    -nocase {Enter f77 compiler}                  {send "\n"}
+    -nocase {Enter F77 Flags}                     {send "\n"}
+    -nocase {Enter F77 linker}                    {send "\n"}
+    -nocase {Enter F77 Link Flags}                {send "\n"}
+    -nocase {Enter ANSI C compiler}               {send "\n"}
+    -nocase {Enter C Flags \(CCFLAGS\)}           {send "\n"}
+    -nocase {Enter C compiler for generated code} {send "\n"}
+    -nocase {Enter C FLAGS \(MMFLAGS\)}           {send "\n"}
+    -nocase {Enter C Linker}                      {send "\n"}
+    -nocase {Enter C Link Flags}                  {send "\n"}
+    -nocase {Enter Archiver \[}                   {send "\n"}
+    -nocase {Enter Archiver flags}                {send "\n"}
+    -nocase {Enter Ranlib}                        {send "\n"}
+    -nocase {Enter BLAS library}                  {send "\n"}
+    -nocase {Enter General and system libs}       {send "\n"}
+    -nocase {kill old subdirectories\?}           {send "y\n"}
+    -nocase {Tune the Level 1 BLAS\?}             {send "\n"}
+    -nocase {use supplied default values for install\?}
+                                                  {send "y\n"}
+    -nocase {Configuration completed successfully} {set finished 1}
+    timeout                                       {puts timeout; exit 1}
+  }
+}
+close
+#file copy -force CONFIG/ATLrun.\$arch CONFIG/ATLrun.Linux
+#file copy -force Make.\$arch Make.Linux
+exit
+EOF
+  make xconfig
+  expect -f config.expect
+  rm -f config.expect
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
+
+# present both in blas and lapack
+rm -f man/manl/{lsame,xerbla}.l
+
+install -d $RPM_BUILD_ROOT%{_mandir}/man3
+for d in man/manl/*.l blas/man/manl/*.l ; do
+	install $d $RPM_BUILD_ROOT%{_mandir}/man3/`basename $d .l`.3
+done
+
+echo "%defattr(644, root, root, 755)" > 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
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2005/06/29 17:54:38  arekm
+- very raw/broken/nfy version
+
+Revision 1.26  2004/11/29 11:42:41  ankry
+- formatting, pl
+
+Revision 1.25  2004/11/29 11:10:14  roman
+- changed Description for blas (added a warning that this is an unoptimized version)
+
+Revision 1.24  2003/11/25 10:28:54  averne
+- r18
+
+Revision 1.23  2003/05/28 12:59:25  malekith
+- massive attack: source-md5
+
+Revision 1.22  2003/05/25 05:49:39  misi3k
+- massive attack s/pld.org.pl/pld-linux.org/
+
+Revision 1.21  2002/12/25 21:41:54  qboosh
+- added *.la to *-devel
+- use fixed libtool instead of hacking *.la
+
+Revision 1.20  2002/10/09 13:14:36  kloczek
+- use more macros, some cosmetics, added missing "rm -f missing" and use new %doc
+
+Revision 1.19  2002/06/11 06:19:30  kloczek
+- bump release to 17.
+
+Revision 1.18  2002/06/09 16:17:03  qboosh
+- changed automake_support patch to work with both libtool 1.4.2 and 1.4d
+- lapack-devel Requires: blas-devel
+- removed conflicting man pages from lapack-devel (already in blas-devel)
+- simplified %%prep, new %%doc
+- release 14
+
+Revision 1.17  2002/05/21 23:13:42  kloczek
+perl -pi -e "s/^automake -a -c -f --foreing/\%\{__automake\}/; \
+             s/^automake -a -c -f/\%\{__automake\}/; \
+	     s/^autoconf/\%\{__autoconf\}/"
+
+Revision 1.16  2002/04/05 15:26:38  roman
+s/Freely/freely in License
+
+Revision 1.15  2002/02/23 03:26:00  kloczek
+- adapterized.
+
+Revision 1.14  2002/02/22 23:29:09  kloczek
+- removed all Group fields translations (oure rpm now can handle translating
+  Group field using gettext).
+
+Revision 1.13  2002/01/18 02:13:36  kloczek
+perl -pi -e "s/pld-list\@pld.org.pl/feedback\@pld.org.pl/"
+
+Revision 1.12  2001/12/15 21:29:01  kloczek
+- release 13: added 20010525 patch with lapack updates.
+
+Revision 1.11  2001/10/10 18:38:00  qboosh
+- libtool 1.4.x ready
+- renamed man pages: manl/*.l to man3/*.3
+
+Revision 1.10  2001/09/26 11:51:05  qboosh
+- BuildRequires: autoconf, automake, libtool, ed
+- pl translations, some fixes in English summaries/descriptions
+- release 3
+
+Revision 1.9  2001/07/18 19:51:11  kloczek
+- merge man into devel subpackages.
+
+Revision 1.8  2001/07/18 11:22:46  wiget
+libtool 1.4b workarounds
+
+Revision 1.7  2000/11/13 08:30:58  qboosh
+- BuildRequires: gcc-g77
+
+Revision 1.6  2000/07/26 21:36:47  kloczek
+- fixed Source urls.
+
+Revision 1.5  2000/07/25 21:11:04  klakier
+- removed config.h.in manual creation (it is autoheader's job)
+- Requires: blas
+
+Revision 1.4  2000/07/25 20:56:54  klakier
+- fixed libblas perms
+
+Revision 1.3  2000/07/25 16:40:23  klakier
+- split to devel and static subpackages
+
+Revision 1.2  2000/07/25 16:32:04  klakier
+- added building libraries using automake/autoconf
+- PLD adapted
+
+Revision 1.1  2000/07/24 22:40:52  klakier
+- adapterized from rh powertools spec
+
+* Wed Jan 19 2000 Tim Powers <timp at redhat.com>
+- bzipped sources to conserve space
+
+Based on spec file from RedHat.
================================================================



More information about the pld-cvs-commit mailing list