[octave-specfun] import from review

sailer sailer at fedoraproject.org
Wed Jun 15 14:04:07 UTC 2011


commit ca387aeb2e67d4e135d887a79750a0a2b0da5f2b
Author: Thomas Sailer <t.sailer at alumni.ethz.ch>
Date:   Wed Jun 15 16:03:44 2011 +0200

    import from review

 .gitignore                   |    1 +
 octave-specfun-nostrip.patch |   10 ++++++
 octave-specfun.spec          |   66 ++++++++++++++++++++++++++++++++++++++++++
 sources                      |    1 +
 4 files changed, 78 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..dd720ca 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/specfun-1.0.9.tar.gz
diff --git a/octave-specfun-nostrip.patch b/octave-specfun-nostrip.patch
new file mode 100644
index 0000000..8783b6d
--- /dev/null
+++ b/octave-specfun-nostrip.patch
@@ -0,0 +1,10 @@
+--- src/Makefile.nostrip	2007-01-25 22:09:12.000000000 +0100
++++ src/Makefile	2011-06-05 18:57:11.000000000 +0200
+@@ -1,6 +1,6 @@
+ all: ellipj.oct
+ 
+ %.oct: %.cc
+-	mkoctfile -s $<
++	mkoctfile $<
+ 
+ clean: ; -rm *.o core octave-core *.oct *~
diff --git a/octave-specfun.spec b/octave-specfun.spec
new file mode 100644
index 0000000..2573677
--- /dev/null
+++ b/octave-specfun.spec
@@ -0,0 +1,66 @@
+%global octpkg specfun
+
+Name:           octave-%{octpkg}
+Version:        1.0.9
+Release:        2%{?dist}
+Summary:        Specfun for Octave
+Group:          Applications/Engineering
+License:        GPLv2+
+URL:            http://octave.sourceforge.net/specfun/
+Source0:        http://downloads.sourceforge.net/octave/%{octpkg}-%{version}.tar.gz
+# avoid stripping binaries to get useful debuginfo packages
+# fedora specific - not upstreamed
+Patch0:         %{name}-nostrip.patch
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires:  octave-devel
+
+Requires:       octave
+Requires(post): octave
+Requires(postun): octave
+
+
+Obsoletes:      octave-forge <= 20090607
+
+
+%description
+Special functions including elliptic functions, sine/cosine integral functions,
+complementary error functions and exponential integrals, Heaviside and Dirac
+functions, Riemann zeta function and others.
+
+%prep
+%setup -q -n %{octpkg}-%{version}
+%patch0 -p0 -b .nostrip
+
+%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,-)
+
+%dir %{octpkgdir}
+%doc %{octpkgdir}/doc-cache
+%{octpkgdir}/*.m
+%{octpkgdir}/packinfo
+%doc %{octpkgdir}/packinfo/COPYING
+%{octpkglibdir}
+
+%changelog
+* Wed Jun 15 2011 Thomas Sailer <t.sailer at alumni.ethz.ch> - 1.0.9-2
+- Review input
+
+* Fri Jun 03 2011 Thomas Sailer <t.sailer at alumni.ethz.ch> - 1.0.9-1
+- initial package for Fedora
diff --git a/sources b/sources
index e69de29..b7b10c2 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+264ab3748fa01aed0efde413b629f63d  specfun-1.0.9.tar.gz


More information about the scm-commits mailing list