diff --git a/.gitignore b/.gitignore index e69de29..290cc01 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/miscellaneous-1.0.11.tar.gz diff --git a/octave-miscellaneous.spec b/octave-miscellaneous.spec new file mode 100644 index 0000000..438e4af --- /dev/null +++ b/octave-miscellaneous.spec @@ -0,0 +1,67 @@ +%global octpkg miscellaneous + +Name: octave-%{octpkg} +Version: 1.0.11 +Release: 2%{?dist} +Summary: Miscellaneous functions for Octave +Group: Applications/Engineering +License: GPLv2+ +URL: http://octave.sourceforge.net/miscellaneous/ +Source0: http://downloads.sourceforge.net/octave/%{octpkg}-%{version}.tar.gz + +BuildRequires: octave-devel +BuildRequires: dos2unix + +Requires: octave(api) = %{octave_api} +Requires(post): octave +Requires(postun): octave + + +Obsoletes: octave-forge <= 20090607 + + +%description +Miscellaneous tools that don't fit somewhere else. It includes +additional functions for manipulating cell arrays, computation of +Chebyshev, Hermite, Legendre and Laguerre polynomials, working with +CSV data and for Latex export. + +%prep +%setup -q -n %{octpkg}-%{version} + +%build +%octave_pkg_build + +%install +rm -rf %{buildroot} +%octave_pkg_install +chmod a-x %{buildroot}/%{octpkgdir}/*.m +dos2unix %{buildroot}/%{octpkgdir}/*.m + +%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}/doc/server.txt + + +%changelog +* Tue Jun 14 2011 Thomas Sailer - 1.0.11-2 +- Review input + +* Fri Jun 03 2011 Thomas Sailer 1.0.11-1 +- initial package for Fedora diff --git a/sources b/sources index e69de29..2503927 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +278c3a0faeb146b042daf2f843084c08 miscellaneous-1.0.11.tar.gz