[octave-image] Initial import

Orion Poplawski orion at fedoraproject.org
Mon Apr 11 17:42:06 UTC 2011


commit 655c313dc4354d8e6873348f4730f0620e6864af
Author: Orion Poplawski <orion at cora.nwra.com>
Date:   Mon Apr 11 11:42:11 2011 -0600

    Initial import

 .gitignore        |    1 +
 octave-image.spec |   64 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources           |    1 +
 3 files changed, 66 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..5964a3d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/image-1.0.13.tar.gz
diff --git a/octave-image.spec b/octave-image.spec
new file mode 100644
index 0000000..91e3ed7
--- /dev/null
+++ b/octave-image.spec
@@ -0,0 +1,64 @@
+%global octpkg image
+
+Name:           octave-%{octpkg}
+Version:        1.0.13
+Release:        2%{?dist}
+Summary:        Image processing for Octave
+Group:          Applications/Engineering
+License:        GPLv2+
+URL:            http://octave.sourceforge.net/image/
+Source0:        http://downloads.sourceforge.net/octave/%{octpkg}-%{version}.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires:  octave-devel  
+
+Requires:       octave(api) = %{octave_api}
+Requires(post): octave
+Requires(postun): octave
+
+
+Obsoletes:      octave-forge <= 20090607
+
+
+%description
+The Octave-forge Image package provides functions for processing images.
+The package also provides functions for feature extraction, image
+statistics, spatial and geometric transformations, morphological
+operations, linear filtering, and much more.
+
+%prep
+%setup -q -n %{octpkg}-%{version}
+chmod -x src/*.c
+
+%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
+* Fri Apr 8 2011 Orion Poplawski <orion at cora.nwra.com> 1.0.13-2
+- Fix permissions on source file
+
+* Tue Apr 05 2011 Orion Poplawski <orion at cora.nwra.com> 1.0.13-1
+- initial package for Fedora
diff --git a/sources b/sources
index e69de29..6629e77 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+b2948a6d90cbd55f7b0a12fdf5da3b23  image-1.0.13.tar.gz


More information about the scm-commits mailing list