[octave-octcdf] Initial import

Orion Poplawski orion at fedoraproject.org
Tue Apr 12 19:41:59 UTC 2011


commit 1f53724e8308c3d9560ae3bd4779cca644206dcd
Author: Orion Poplawski <orion at cora.nwra.com>
Date:   Tue Apr 12 13:42:04 2011 -0600

    Initial import

 .gitignore         |    1 +
 octave-octcdf.spec |   56 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources            |    1 +
 3 files changed, 58 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..d2f3492 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/octcdf-1.1.2.tar.gz
diff --git a/octave-octcdf.spec b/octave-octcdf.spec
new file mode 100644
index 0000000..d42b084
--- /dev/null
+++ b/octave-octcdf.spec
@@ -0,0 +1,56 @@
+%global octpkg octcdf
+
+Name:           octave-%{octpkg}
+Version:        1.1.2
+Release:        1%{?dist}
+Summary:        A NetCDF interface for octave
+Group:          Applications/Engineering
+License:        GPLv2+
+URL:            http://octave.sourceforge.net/octcdf/
+Source0:        http://downloads.sourceforge.net/octave/%{octpkg}-%{version}.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires:  octave-devel  
+BuildRequires:  netcdf-devel
+
+Requires:       octave(api) = %{octave_api}
+Requires(post): octave
+Requires(postun): octave
+Obsoletes:      octave-forge <= 20090607
+
+
+%description
+A NetCDF interface for octave.
+
+%prep
+%setup -q -n %{octpkg}
+
+%build
+%octave_pkg_build
+
+%install
+rm -rf %{buildroot}
+%octave_pkg_install
+
+%post
+%octave_cmd pkg rebuild
+
+%preun
+%octave_pkg_preun
+
+%postun
+%octave_cmd pkg rebuild
+
+%files
+%defattr(-,root,root,-)
+%{octpkglibdir}
+
+%dir %{octpkgdir}
+%doc %{octpkgdir}/doc-cache
+%{octpkgdir}/*.m
+%{octpkgdir}/packinfo
+
+
+%changelog
+* Tue Apr 05 2011 Orion Poplawski <orion at cora.nwra.com> 1.1.2-1
+- initial package for Fedora
diff --git a/sources b/sources
index e69de29..a1dabc1 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+f202571bdd3688d0da1215fb8dd02fa0  octcdf-1.1.2.tar.gz


More information about the scm-commits mailing list