upstream release 2.5.0
- enable parallel build - drop obsolete patch
This commit is contained in:
parent
dfb9737731
commit
c17da060cd
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
||||
sundials-2.3.0.tar.gz
|
||||
/sundials-2.5.0.tar.gz
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
c236f2a7e0e6a03b8fab3d189471b933 sundials-2.3.0.tar.gz
|
||||
aba8b56eec600de3109cfb967aa3ba0f sundials-2.5.0.tar.gz
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -1,24 +1,15 @@
|
||||
Summary: Suite of nonlinear solvers
|
||||
Name: sundials
|
||||
Version: 2.3.0
|
||||
Release: 12%{?dist}
|
||||
|
||||
Version: 2.5.0
|
||||
Release: 1%{?dist}
|
||||
# SUNDIALS is licensed under BSD with some additional (but unrestrictive) clauses.
|
||||
# Check the file 'LICENSE' for details.
|
||||
License: BSD
|
||||
|
||||
Group: Development/Libraries
|
||||
URL: http://www.llnl.gov/casc/sundials/
|
||||
|
||||
Source0: http://www.llnl.gov/casc/sundials/download/code/%{name}-%{version}.tar.gz
|
||||
|
||||
# patch replaces config/ltmain.sh with a newer one.
|
||||
Patch0: %{name}-ltmain.patch
|
||||
|
||||
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
||||
|
||||
#Parallel build seems to require some fixes from upstream
|
||||
# BuildRequires: openmpi-devel
|
||||
BuildRequires: openmpi-devel
|
||||
BuildRequires: gcc-gfortran
|
||||
|
||||
%description
|
||||
@ -64,40 +55,31 @@ This package contains the documentation files
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%configure \
|
||||
F77=gfortran \
|
||||
--enable-static=no \
|
||||
--enable-shared=yes \
|
||||
--disable-mpi
|
||||
# --with-mpi-root=%{_datadir}/openmpi
|
||||
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
rm -rf ${RPM_BUILD_ROOT}
|
||||
# SUNDIALS does not support the 'DESTDIR' method, hence:
|
||||
%makeinstall
|
||||
|
||||
# spot says better no .la files in RPMs
|
||||
rm ${RPM_BUILD_ROOT}%{_libdir}/*.la
|
||||
|
||||
%clean
|
||||
rm -rf ${RPM_BUILD_ROOT}
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc LICENSE README
|
||||
%{_libdir}/*.so.[0-9].*
|
||||
%{_libdir}/*.so.[0-9]
|
||||
|
||||
%files doc
|
||||
%defattr(-,root,root,-)
|
||||
%doc doc/cvode/cv_examples.pdf
|
||||
%doc doc/cvode/cv_guide.pdf
|
||||
%doc doc/kinsol/kin_examples.pdf
|
||||
@ -108,16 +90,19 @@ rm -rf ${RPM_BUILD_ROOT}
|
||||
%doc doc/ida/ida_guide.pdf
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/*.so
|
||||
%{_includedir}/*
|
||||
%{_bindir}/sundials-config
|
||||
|
||||
%files static
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/*.a
|
||||
|
||||
%changelog
|
||||
* Sun Jan 26 2013 Rahul Sundaram <sundaram@fedoraproject.org> - 2.5.0-1
|
||||
- upstream release 2.5.0
|
||||
- enable parallel build
|
||||
- drop obsolete patch
|
||||
|
||||
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.0-12
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user