[octave-gsl] Initial import.

Jussi Lehtola jussilehtola at fedoraproject.org
Mon Aug 29 12:14:36 UTC 2011


commit 855c31b67fab16a09ad392a5e28c684df69ae665
Author: Jussi Lehtola <jussilehtola at fedoraproject.org>
Date:   Mon Aug 29 15:14:22 2011 +0300

    Initial import.

 .gitignore      |    1 +
 octave-gsl.spec |   67 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources         |    1 +
 3 files changed, 69 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..c85677d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/gsl-1.0.8.tar.gz
diff --git a/octave-gsl.spec b/octave-gsl.spec
new file mode 100644
index 0000000..7149bd3
--- /dev/null
+++ b/octave-gsl.spec
@@ -0,0 +1,67 @@
+%global octpkg gsl
+
+Name:		octave-%{octpkg}
+Version:	1.0.8
+Release:	1%{?dist}
+Summary:	Octave bindings to the GNU Scientific Library
+Group:		Applications/Engineering
+# Some test files are GPLv3+ but they're not shipped.
+License:	GPLv2+
+URL:		http://octave.sourceforge.net/gsl/
+Source0:	http://downloads.sourceforge.net/octave/%{octpkg}-%{version}.tar.gz
+
+BuildRequires:	octave-devel
+BuildRequires:	gsl-devel
+
+Requires:	octave(api) = %{octave_api}
+Requires(post):	octave
+Requires(postun): octave
+Obsoletes:	octave-forge <= 20090607
+
+%description
+The octave-gsl package provides an Octave binding to functions
+in the Gnu Scientific Library, such as
+* Airy functions
+* Bessel functions
+* Conical functions
+* Debye functions
+* Riemann Beta and Gamma functions
+* Sine and cosine integrals
+* Wigner coefficients 3-j, 6-j and 9-j coefficients
+
+%prep
+%setup -q -n %{octpkg}-%{version}
+
+%build
+%octave_pkg_build
+
+%install
+rm -rf %{buildroot}
+%octave_pkg_install
+
+# Get rid of spurious documentation
+rm -rf %{buildroot}%{octpkgdir}/doc
+# and of test files
+rm %{buildroot}%{octpkgdir}/test_*.c
+
+%post
+%octave_cmd pkg rebuild
+
+%preun
+%octave_pkg_preun
+
+%postun
+%octave_cmd pkg rebuild
+
+%files
+%doc ChangeLog COPYING INDEX
+
+%{octpkglibdir}
+%dir %{octpkgdir}
+%{octpkgdir}/*.m
+%doc %{octpkgdir}/doc-cache
+%{octpkgdir}/packinfo
+
+%changelog
+* Sat Aug 27 2011 Jussi Lehtola <jussilehtola at fedoraproject.org> - 1.0.8-1
+- Initial release.
diff --git a/sources b/sources
index e69de29..7e9626c 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+9f45ab71dc77b57646d6bfab5984cccd  gsl-1.0.8.tar.gz


More information about the scm-commits mailing list