[NLopt/el5] fixed description-file for octave-NLopt (#1048510)
by Björn 'besser82' Esser
commit 16f9a3b171ab713314a64c1fcaee539db96ecf8d
Author: Björn Esser <bjoern.esser(a)gmail.com>
Date: Tue Jan 14 13:50:34 2014 +0100
fixed description-file for octave-NLopt (#1048510)
NLopt.spec | 20 +++++++++++++++-----
1 files changed, 15 insertions(+), 5 deletions(-)
---
diff --git a/NLopt.spec b/NLopt.spec
index 4e885ac..359a4ee 100644
--- a/NLopt.spec
+++ b/NLopt.spec
@@ -17,7 +17,7 @@
Name: NLopt
Version: 2.4.1
-Release: 4%{?gitrel}%{?dist}
+Release: 5%{?gitrel}%{?dist}
Summary: Open-Source library for nonlinear optimization
%{?el5:Group: System Environment/Libraries}
@@ -304,10 +304,17 @@ chmod 0755 %{buildroot}%{octpkglibdir}/*.oct
install -pm 0644 COPYING %{buildroot}%{octpkgdir}/packinfo
cat > %{buildroot}%{octpkgdir}/packinfo/DESCRIPTION << EOF
-NLopt is a library for nonlinear local and global optimization, for
-functions with and without gradient information. It is designed as
-as simple, unified interface and packaging of several free/open-source
-nonlinear optimization libraries.
+Name: %{name}
+Version: %{version}
+Date: %(date +%Y-%m-%d)
+Author: Steven G. Johnson <stevenj(a)alum.mit.edu>
+Maintainer: Björn Esser <besser82(a)fedoraproject.org>
+Title: Open-Source library for nonlinear optimization
+Description: NLopt is a library for nonlinear local and global
+ optimization, for functions with and without gradient information.
+ It is designed as as simple, unified interface and packaging of
+ several free/open-source nonlinear optimization libraries.
+Url: %{url}
EOF
cat > %{buildroot}%{octpkgdir}/packinfo/on_uninstall.m << EOF
@@ -405,6 +412,9 @@ octave -H -q --no-window-system --no-site-file --eval "pkg rebuild"
%endif
%changelog
+* Tue Jan 14 2014 Björn Esser <bjoern.esser(a)gmail.com> - 2.4.1-5
+- fixed description-file for octave-NLopt (#1048510)
+
* Tue Jan 14 2014 Björn Esser <bjoern.esser(a)gmail.com> - 2.4.1-4
- fixed nlopt.pc to reflect the correct lib to link against