[cminpack/f14] Initial import

rmattes rmattes at fedoraproject.org
Thu Oct 13 22:34:40 UTC 2011


commit dd8991edcdc803598b6deea485777b6e4c08362e
Author: Rich Mattes <richmattes at gmail.com>
Date:   Thu Oct 13 17:51:11 2011 -0400

    Initial import

 .gitignore    |    1 +
 cminpack.spec |   70 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources       |    1 +
 3 files changed, 72 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..1569b9b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/cminpack-1.1.3.tar.gz
diff --git a/cminpack.spec b/cminpack.spec
new file mode 100644
index 0000000..557cf18
--- /dev/null
+++ b/cminpack.spec
@@ -0,0 +1,70 @@
+Name:           cminpack
+Version:        1.1.3
+Release:        1%{?dist}
+Summary:        Solver for nonlinear equations and nonlinear least squares problems
+
+Group:          Development/Libraries
+License:        BSD
+URL:            http://devernay.free.fr/hacks/cminpack/cminpack.html
+Source0:        http://devernay.free.fr/hacks/cminpack/%{name}-%{version}.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires:  cmake
+BuildRequires:  gcc-gfortran
+
+
+%description
+cminpack is an ISO C99 implementation of the FORTRAN Minpack solver package.
+It is fully re-entrant and thread-safe.
+
+%package devel
+Summary: Header files and libraries for cminpack
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Contains the development headers and libraries needed to build a program with
+cminpack.
+
+%prep
+%setup -q
+
+%build
+mkdir build
+pushd build
+%cmake -DUSE_FPIC=ON -DSHARED_LIBS=ON -DBUILD_EXAMPLES=ON -DBUILD_EXAMPLES_FORTRAN=ON ..
+popd
+make -C build  %{?_smp_mflags}
+
+
+%install
+rm -rf %{buildroot}
+make -C build install DESTDIR=%{buildroot}
+
+
+%clean
+rm -rf %{buildroot}
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%doc CopyrightMINPACK.txt readme.txt readmeC.txt
+%{_libdir}/libcminpack.so.*
+
+%files devel
+%defattr(-,root,root,-)
+%doc doc/*.html doc/*.txt
+%{_libdir}/pkgconfig/*
+%{_libdir}/libcminpack.so
+%{_includedir}/cminpack-1
+
+
+%changelog
+* Wed Mar 23 2011 - Rich Mattes <richmattes at gmail.com> - 1.1.3-1
+- Upgrade to vesion 1.1.3
+
+* Sun Dec 05 2010 - Rich Mattes <richmattes at gmail.com> - 1.1.2-1
+- Initial build
diff --git a/sources b/sources
index e69de29..8201a39 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+3573b33d498cc1bf3787a86efbd12c3a  cminpack-1.1.3.tar.gz


More information about the scm-commits mailing list