[octave-odepkg/f17] Initial import #869469

Ankur Sinha ankursinha at fedoraproject.org
Mon Dec 3 13:04:34 UTC 2012


commit 963e695dd7e85079c28eeed4b1a0338218e0ca6e
Author: Ankur Sinha (Ankur Sinha Gmail) <sanjay.ankur at gmail.com>
Date:   Tue Dec 4 00:03:47 2012 +1100

    Initial import #869469

 .gitignore         |    1 +
 octave-odepkg.spec |   67 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources            |    1 +
 3 files changed, 69 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..b54c29f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/odepkg-0.8.2.tar.gz
diff --git a/octave-odepkg.spec b/octave-odepkg.spec
new file mode 100644
index 0000000..6aef814
--- /dev/null
+++ b/octave-odepkg.spec
@@ -0,0 +1,67 @@
+%global octpkg odepkg
+
+Name:           octave-%{octpkg}
+Version:        0.8.2
+Release:        2%{?dist}
+Summary:        A package for solving ordinary differential equations and more
+
+# Most source files are GPLv2+
+# A few source files are BSD in src/daskr
+License:        GPLv2+ and BSD
+URL:            http://octave.sourceforge.net/odepkg/
+Source0:        http://downloads.sourceforge.net/octave/%{octpkg}-%{version}.tar.gz
+
+BuildRequires:  octave-devel
+
+Requires:       octave(api) = %{octave_api}
+Requires(post): octave
+Requires(postun): octave
+Obsoletes:      octave-forge <= 20090607
+
+%description
+A package for solving ordinary differential equations and more
+
+%prep
+%setup -q -n %{octpkg}-%{version}
+
+# correct wrong end of line encoding errors
+iconv -f iso8859-1 -t utf-8 doc/odepkg.texi > doc/odepkg.texi.conv && mv -f doc/odepkg.texi.conv doc/odepkg.texi
+
+
+%build
+%octave_pkg_build
+chmod 0644 src/daskr/*
+
+%install
+rm -rf %{buildroot}
+%octave_pkg_install
+iconv -f iso8859-1 -t utf-8 %{buildroot}/%{octpkgdir}/doc.info > %{buildroot}/%{octpkgdir}/doc.info.conv && mv -f %{buildroot}/%{octpkgdir}/doc.info.conv %{buildroot}/%{octpkgdir}/doc.info
+
+%post
+%octave_cmd pkg rebuild
+
+%preun
+%octave_pkg_preun
+
+%postun
+%octave_cmd pkg rebuild
+
+%files
+%{octpkglibdir}
+%dir %{octpkgdir}
+%{octpkgdir}/*.m
+%{octpkgdir}/packinfo
+
+%doc %{octpkgdir}/doc-cache
+%doc %{octpkgdir}/doc.info
+%doc %{octpkgdir}/doc
+%doc COPYING
+
+%changelog
+* Wed Oct 24 2012 Ankur Sinha <ankursinha AT fedoraproject DOT org> 0.8.2-2
+- Added comment for the two licenses
+- Correct permissions
+
+* Thu Oct 18 2012 Ankur Sinha <ankursinha AT fedoraproject DOT org> 0.8.2-1
+- inital rpm build
+
diff --git a/sources b/sources
index e69de29..5f2e6f6 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+fb31d7376fae74eeec846b7b3d2bf635  odepkg-0.8.2.tar.gz


More information about the scm-commits mailing list