d04863d
Name:           lmfit
dd50d2d
Version:        5.1
02a6369
Release:        3%{?dist}
d04863d
Summary:        Levenberg-Marquardt least-squares minimization and curve fitting
d04863d
# software is BSD, documentation is CC-BY
d04863d
License:        BSD and CC-BY
dd50d2d
URL:            http://apps.jcns.fz-juelich.de/doku/sc/%{name}
dd50d2d
Source0:        http://apps.jcns.fz-juelich.de/src/lmfit/%{name}-%{version}.tgz
d04863d
d04863d
%description
d04863d
C/C++ library for Levenberg-Marquardt least-squares minimization and curve
d04863d
fitting
d04863d
d04863d
%package devel
d04863d
Summary: Development files for %{name}
d04863d
Requires: %{name}%{?_isa} = %{version}-%{release}
d04863d
d04863d
%description devel
d04863d
Development files for %{name}.
d04863d
d04863d
%prep
d04863d
%setup -q
d04863d
cp -ra demo _demo
d04863d
d04863d
%build
d04863d
%{configure} --disable-static
d04863d
make %{?_smp_mflags}
d04863d
d04863d
%install
d04863d
make install DESTDIR=%{buildroot}
d04863d
rm -rf %{buildroot}%{_mandir}/html %{buildroot}%{_bindir}/* %{buildroot}%{_libdir}/*.la
d04863d
rm -rf demo
d04863d
mv -f _demo demo
d04863d
d04863d
%post -p /sbin/ldconfig
d04863d
d04863d
%postun -p /sbin/ldconfig
d04863d
d04863d
%files
6823393
%doc COPYING CHANGELOG
d04863d
%{_libdir}/*so.*
d04863d
d04863d
%files devel
6823393
%doc man/*.html demo
d04863d
%{_includedir}/*
d04863d
%{_libdir}/*so
ea26189
%{_libdir}/pkgconfig/*
6823393
%{_mandir}/man3/*
d04863d
d04863d
%changelog
02a6369
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.1-3
02a6369
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
02a6369
d9eee6c
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.1-2
d9eee6c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
d9eee6c
dd50d2d
* Tue Nov 26 2013 Miro Hrončok <mhroncok@redhat.com> - 5.1-1
dd50d2d
- New version 5.1
dd50d2d
- Download location has changed
dd50d2d
ea26189
* Tue Aug 27 2013 Miro Hrončok <mhroncok@redhat.com> - 5.0-1
ea26189
- New upstream version
ea26189
- Website has moved
ea26189
- Add all HTML docs to %%doc
6823393
- Moved manpages and their HTML variants and demo to devel
ea26189
17bddef
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.5-3
17bddef
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
17bddef
d04863d
* Mon Feb 04 2013 Miro Hrončok <mhroncok@redhat.com> - 3.5-2
d04863d
- Do not package demo binaries to %%doc
d04863d
- Added --disable-static to configure
d04863d
d04863d
* Sun Feb 03 2013 Miro Hrončok <mhroncok@redhat.com> - 3.5-1
d04863d
- Initial package