[lmfit] Initial import (#907213)

Miro Hrončok churchyard at fedoraproject.org
Mon Apr 22 17:40:01 UTC 2013


commit d04863daab67c3a53572339df42c390306021498
Author: Miro Hrončok <miro at hroncok.cz>
Date:   Mon Apr 22 19:39:57 2013 +0200

    Initial import (#907213)

 .gitignore |    1 +
 lmfit.spec |   54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources    |    1 +
 3 files changed, 56 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..65b4be8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/lmfit-3.5.tgz
diff --git a/lmfit.spec b/lmfit.spec
new file mode 100644
index 0000000..6e2a49d
--- /dev/null
+++ b/lmfit.spec
@@ -0,0 +1,54 @@
+Name:           lmfit
+Version:        3.5
+Release:        2%{?dist}
+Summary:        Levenberg-Marquardt least-squares minimization and curve fitting
+# software is BSD, documentation is CC-BY
+License:        BSD and CC-BY
+URL:            http://joachimwuttke.de/%{name}/
+Source0:        http://joachimwuttke.de/src/%{name}-%{version}.tgz
+
+%description
+C/C++ library for Levenberg-Marquardt least-squares minimization and curve
+fitting
+
+%package devel
+Summary: Development files for %{name}
+Requires: %{name}%{?_isa} = %{version}-%{release}
+
+%description devel
+Development files for %{name}.
+
+%prep
+%setup -q
+cp -ra demo _demo
+
+%build
+%{configure} --disable-static
+make %{?_smp_mflags}
+
+%install
+make install DESTDIR=%{buildroot}
+rm -rf %{buildroot}%{_mandir}/html %{buildroot}%{_bindir}/* %{buildroot}%{_libdir}/*.la
+rm -rf demo
+mv -f _demo demo
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%doc COPYING CHANGELOG man/lmfit.html demo
+%{_libdir}/*so.*
+%{_mandir}/man3/*
+
+%files devel
+%{_includedir}/*
+%{_libdir}/*so
+
+%changelog
+* Mon Feb 04 2013 Miro Hrončok <mhroncok at redhat.com> - 3.5-2
+- Do not package demo binaries to %%doc
+- Added --disable-static to configure
+
+* Sun Feb 03 2013 Miro Hrončok <mhroncok at redhat.com> - 3.5-1
+- Initial package
diff --git a/sources b/sources
index e69de29..648081d 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+2f6b5dd86ad78f56f5c9f523568fcea2  lmfit-3.5.tgz


More information about the scm-commits mailing list