[lis/el5] Initial import.

Jussi Lehtola jussilehtola at fedoraproject.org
Mon Sep 19 16:16:02 UTC 2011


commit 9147428fb05094cacdcbe90c03d4783e54ec5dd0
Author: Jussi Lehtola <jussilehtola at fedoraproject.org>
Date:   Mon Sep 19 19:15:46 2011 +0300

    Initial import.

 lis.spec |  104 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources  |    1 +
 2 files changed, 105 insertions(+), 0 deletions(-)
---
diff --git a/lis.spec b/lis.spec
new file mode 100644
index 0000000..4a26bdc
--- /dev/null
+++ b/lis.spec
@@ -0,0 +1,104 @@
+Name:		lis
+Version:	1.2.53
+Release:	3%{?dist}
+Summary:	A library for solving linear equations and eigenvalue problems
+Group:		Applications/Engineering
+License:	BSD
+URL:		http://www.ssisc.org/lis/index.en.html
+Source0:	http://infinity.cc.kyushu-u.ac.jp/lis/dl/lis-%{version}.tar.gz
+BuildRoot:	%(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
+
+BuildRequires:	gcc-gfortran
+
+%description
+Lis, a Library of Iterative Solvers for linear systems, is a scalable parallel
+library for solving systems of linear equations and standard eigenvalue
+problems with real sparse matrices using iterative methods. 
+
+%package devel
+Summary:	Development headers and library for lis
+Group:		Applications/Engineering
+Requires:	%{name}%{?_isa} = %{version}-%{release}
+
+%description devel
+Lis, a Library of Iterative Solvers for linear systems, is a scalable parallel
+library for solving systems of linear equations and standard eigenvalue
+problems with real sparse matrices using iterative methods. 
+
+This package contains the development headers and library.
+
+%package doc
+Summary:	Developer documentation for lis
+Group:		Documentation
+%if 0%{?fedora} > 12 || 0%{?rhel} > 5
+BuildArch:	noarch
+%endif
+
+%description doc
+Lis, a Library of Iterative Solvers for linear systems, is a scalable parallel
+library for solving systems of linear equations and standard eigenvalue
+problems with real sparse matrices using iterative methods.
+
+This package contains the developer documentation for lis.
+
+%prep
+%setup -q
+
+%build
+export CC=gcc
+export F77=gfortran
+export FC=gfortran
+
+mkdir omp
+cd omp
+ln -s ../configure .
+# SAAMG doesn't compile with GFortran, issue reported upstream.
+#configure --disable-static --enable-shared --enable-omp --enable-quad --enable-saamg
+%configure --disable-static --enable-shared --enable-omp --enable-quad
+make %{?_smp_mflags}
+cd ..
+
+%install
+rm -rf %{buildroot}
+make -C omp install DESTDIR=%{buildroot}
+
+# Get rid of spurious config.h
+rm %{buildroot}%{_includedir}/config.h
+# Get rid of .la file
+rm %{buildroot}%{_libdir}/liblis.la
+
+%clean
+rm -rf %{buildroot}
+
+%check
+cp test/{testmat.mtx,defs,test.sh} omp/test/
+cd omp/test
+sh test.sh
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING
+%{_libdir}/liblis.so.*
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/lis.h
+%{_includedir}/lisf.h
+%{_libdir}/liblis.so
+
+%files doc
+%defattr(-,root,root,-)
+%doc COPYING doc/*.pdf
+
+%changelog
+* Sun Sep 18 2011 Jussi Lehtola <jussilehtola at fedoraproject.org> - 1.2.53-3
+- Include COPYING in -doc.
+
+* Thu Sep 15 2011 Jussi Lehtola <jussilehtola at fedoraproject.org> - 1.2.53-2
+- Enabled quadruple precision support.
+
+* Mon Sep 12 2011 Jussi Lehtola <jussilehtola at fedoraproject.org> - 1.2.53-1
+- First release.
diff --git a/sources b/sources
index e69de29..488661f 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+275597239e7c47ab5aadeee7b7e2c6ce  lis-1.2.53.tar.gz


More information about the scm-commits mailing list