[octave-netcdf] Initial import
Orion Poplawski
orion at fedoraproject.org
Tue Feb 25 18:00:20 UTC 2014
commit 8e301ca435864d14bbc3aae1bdab588e498604f0
Author: Orion Poplawski <orion at nwra.com>
Date: Tue Feb 25 11:01:11 2014 -0700
Initial import
.gitignore | 1 +
octave-netcdf.spec | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 59 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..74ff4f3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/netcdf-1.0.2.tar.gz
diff --git a/octave-netcdf.spec b/octave-netcdf.spec
new file mode 100644
index 0000000..d183509
--- /dev/null
+++ b/octave-netcdf.spec
@@ -0,0 +1,57 @@
+%global octpkg netcdf
+
+Name: octave-%{octpkg}
+Version: 1.0.2
+Release: 1%{?dist}
+Summary: A MATLAB compatible NetCDF interface for Octave
+Group: Applications/Engineering
+License: GPLv2+
+URL: http://octave.sourceforge.net/%{octpkg}/
+Source0: http://downloads.sourceforge.net/octave/%{octpkg}-%{version}.tar.gz
+
+BuildRequires: octave-devel
+BuildRequires: netcdf-devel
+
+Requires: octave(api) = %{octave_api}
+Requires(post): octave
+Requires(postun): octave
+
+%description
+A MATLAB compatible NetCDF interface for Octave.
+
+
+%prep
+%setup -q -n %{octpkg}
+
+
+%build
+# Need to rebuild netcdf_constants.h first
+make -C src constants
+%octave_pkg_build
+
+
+%install
+%octave_pkg_install
+
+
+%post
+%octave_cmd pkg rebuild
+
+%preun
+%octave_pkg_preun
+
+%postun
+%octave_cmd pkg rebuild
+
+%files
+%{octpkglibdir}
+%dir %{octpkgdir}
+%{octpkgdir}/*.m
+%doc %{octpkgdir}/doc-cache
+%{octpkgdir}/packinfo
+%{octpkgdir}/private/
+
+
+%changelog
+* Tue Feb 18 2014 Orion Poplawski <orion at cora.nwra.com> 1.0.2-1
+- Initial Fedora package
diff --git a/sources b/sources
index e69de29..4a497ec 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+1468fae155923101d96d5fb0c8009acf netcdf-1.0.2.tar.gz
More information about the scm-commits
mailing list