62d3521
Name:           cminpack
e3a1593
Version:        1.3.4
9d663dd
Release:        6%{?dist}
62d3521
Summary:        Solver for nonlinear equations and nonlinear least squares problems
62d3521
62d3521
Group:          Development/Libraries
62d3521
License:        BSD
62d3521
URL:            http://devernay.free.fr/hacks/cminpack/cminpack.html
62d3521
Source0:        http://devernay.free.fr/hacks/cminpack/%{name}-%{version}.tar.gz
62d3521
Igor Gnatenko 9838a09
BuildRequires:  gcc-c++
62d3521
BuildRequires:  cmake
62d3521
BuildRequires:  gcc-gfortran
62d3521
62d3521
62d3521
%description
62d3521
cminpack is an ISO C99 implementation of the FORTRAN Minpack solver package.
62d3521
It is fully re-entrant and thread-safe.
62d3521
62d3521
%package devel
62d3521
Summary: Header files and libraries for cminpack
62d3521
Group: Development/Libraries
62d3521
Requires: %{name} = %{version}-%{release}
62d3521
62d3521
%description devel
62d3521
Contains the development headers and libraries needed to build a program with
62d3521
cminpack.
62d3521
62d3521
%prep
62d3521
%setup -q
62d3521
62d3521
%build
62d3521
mkdir build
62d3521
pushd build
a3b8ac8
%cmake -DUSE_FPIC=ON -DSHARED_LIBS=ON -DBUILD_EXAMPLES=ON -DBUILD_EXAMPLES_FORTRAN=ON -DCMINPACK_LIB_INSTALL_DIR=%{_lib} ..
62d3521
popd
62d3521
make -C build  %{?_smp_mflags}
62d3521
62d3521
62d3521
%install
62d3521
rm -rf %{buildroot}
62d3521
make -C build install DESTDIR=%{buildroot}
62d3521
62d3521
62d3521
%post -p /sbin/ldconfig
62d3521
62d3521
%postun -p /sbin/ldconfig
62d3521
62d3521
%files
e3a1593
%license CopyrightMINPACK.txt
e3a1593
%doc README.md
62d3521
%{_libdir}/libcminpack.so.*
62d3521
62d3521
%files devel
62d3521
%doc doc/*.html doc/*.txt
e3a1593
%{_datadir}/cmake/Modules/*.cmake
62d3521
%{_libdir}/pkgconfig/*
62d3521
%{_libdir}/libcminpack.so
62d3521
%{_includedir}/cminpack-1
62d3521
62d3521
62d3521
%changelog
9d663dd
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.4-6
9d663dd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
9d663dd
d299c9d
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.4-5
d299c9d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
d299c9d
8499d74
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.4-4
8499d74
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
8499d74
a437928
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.4-3
a437928
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
a437928
48a9c2f
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.4-2
48a9c2f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
48a9c2f
e3a1593
* Tue Jan 26 2016 Rich Mattes <richmattes@gmail.com> - 1.3.4-1
e3a1593
- Update to release 1.3.4
e3a1593
b962b42
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-4
b962b42
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
b962b42
f9a8531
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-3
f9a8531
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
f9a8531
a04548d
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-2
a04548d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
a04548d
f944468
* Sat Oct 19 2013 Rich Mattes <richmattes@gmail.com> - 1.3.1-1
f944468
- Update to release 1.3.1 to remove non-free nvidia headers from srpm (rhbz#1019037) 
f944468
ba3f22b
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.0-4
ba3f22b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
ba3f22b
7cc0d87
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.0-3
7cc0d87
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
7cc0d87
62a3d6a
* Sun Oct 28 2012 Rich Mattes <richmattes@gmail.com> - 1.3.0-2
62a3d6a
- Bump to maintain upgradepath
62a3d6a
3e7b17d
* Sat Oct 27 2012 Rich Mattes <richmattes@gmail.com> - 1.3.0-1
3e7b17d
- Update to release 1.3.0
3e7b17d
25b633b
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.2-3
25b633b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
25b633b
a3b8ac8
* Wed Jun 13 2012 Dan Horák <dan[at]danny.cz> - 1.2.2-2
a3b8ac8
- fix build on 64-bit secondary arches
a3b8ac8
0d3afc9
* Fri May 25 2012 Rich Mattes <richmattes@gmail.com> - 1.2.2-1
0d3afc9
- Upgrade to version 1.2.2
0d3afc9
85ae07b
* Sat Feb 18 2012 Rich Mattes <richmattes@gmail.com> - 1.1.4-1
85ae07b
- Upgrade to version 1.1.4
85ae07b
1ee92d9
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.3-3
1ee92d9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
1ee92d9
78cb68b
* Tue Oct 25 2011 Dan Horák <dan[at]danny.cz> - 1.1.3-2
78cb68b
- fix build on non-x86 64-bit arches
78cb68b
62d3521
* Wed Mar 23 2011 - Rich Mattes <richmattes@gmail.com> - 1.1.3-1
62d3521
- Upgrade to vesion 1.1.3
62d3521
62d3521
* Sun Dec 05 2010 - Rich Mattes <richmattes@gmail.com> - 1.1.2-1
62d3521
- Initial build