[octave-control] import from review

sailer sailer at fedoraproject.org
Wed Jun 15 14:09:57 UTC 2011


commit 4e238b49cea2f9b429eb95912869c91853d93d66
Author: Thomas Sailer <t.sailer at alumni.ethz.ch>
Date:   Wed Jun 15 16:09:37 2011 +0200

    import from review

 .gitignore          |    1 +
 octave-control.spec |   70 +++++++++++++++++++++++++++++++++++++++++++++++++++
 sources             |    1 +
 3 files changed, 72 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..a8c32a5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/control-2.0.2.tar.gz
diff --git a/octave-control.spec b/octave-control.spec
new file mode 100644
index 0000000..c9ed010
--- /dev/null
+++ b/octave-control.spec
@@ -0,0 +1,70 @@
+%global octpkg control
+
+Name:           octave-%{octpkg}
+Version:        2.0.2
+Release:        2%{?dist}
+Summary:        Control systems for Octave
+Group:          Applications/Engineering
+License:        GPLv3+
+URL:            http://octave.sourceforge.net/control/
+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
+The Octave control systems package contains functions for analyzing
+and designing automatic control systems and algorithms.
+
+%prep
+%setup -q -n %{octpkg}
+
+%build
+%octave_pkg_build
+
+%install
+rm -rf %{buildroot}
+%octave_pkg_install
+for i in %{octpkgdir}/doc/references.txt; do
+  iconv -f iso8859-1 -t utf-8 %{buildroot}/$i > %{buildroot}/$i.conv && mv -f %{buildroot}/$i.conv %{buildroot}/$i
+done;
+
+
+%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
+%doc %{octpkgdir}/packinfo/COPYING
+%{octpkgdir}/@lti
+%{octpkgdir}/@ss
+%{octpkgdir}/@tf
+%{octpkgdir}/@tfpoly
+%doc %{octpkgdir}/doc
+
+
+%changelog
+* Wed Jun 15 2011 Thomas Sailer <t.sailer at alumni.ethz.ch> - 2.0.2-2
+- Review input
+
+* Fri Jun 03 2011 Thomas Sailer <t.sailer at alumni.ethz.ch> 2.0.2-1
+- initial package for Fedora
diff --git a/sources b/sources
index e69de29..2e83ca3 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+3a3654a8df670beb642ed0f36f30463f  control-2.0.2.tar.gz


More information about the scm-commits mailing list