Package octave-fits: Specfile
Serial: 1 %def_with _octave_arch %define octave_pkg_version 1.0.2 %define octave_pkg_name fits %define octave_descr_name FITS Name: octave-%octave_pkg_name Version: 1.0.2 Release: alt1 Summary: Reading and writing FITS (Flexible Image Transport System) files. Group: Sciences/Mathematics License: GPLv3+ URL: http://octave.sf.net Source0: %octave_pkg_name-%version.tar.gz BuildRequires: octave-devel %if_with _octave_arch BuildRequires: gcc-c++ gcc-g77 libfftw3-devel libhdf5-devel liblapack-devel libncurses-devel libreadline-devel octave-devel %else BuildArch: noarch %endif Provides: octave(fits) = %version # SystemRequirements: libcfitsio BuildRequires: libcfitsio-devel # octave module BuildRequires: libcfitsio-dev BuildRequires: libcfitsio-devel # Depends: octave (>= 3.0.0) Requires: octave >= 3.0.0 %description Octave-Forge - Extra packages for GNU Octave. This package contains the %octave_descr_name GNU Octave extension. Extension Description: The Octave-FITS package provides functions for %prep %setup -n %octave_pkg_name-%version %build octave -q -H --no-site-file --eval "pkg build -nodeps . %SOURCE0" %install mkdir -p %buildroot%_datadir/octave/packages mkdir -p %buildroot%_libdir/octave/packages octave -q -H --no-site-file --eval "pkg prefix %buildroot%_datadir/octave/packages %buildroot%_libdir/octave/packages; pkg install -local -nodeps %octave_pkg_name-%octave_pkg_version.tar.gz" %files %_datadir/octave/packages/%octave_pkg_name-%octave_pkg_version %if_with _octave_arch %_libdir/octave/packages/%octave_pkg_name-%octave_pkg_version %endif %changelog * Tue Jan 08 2013 Paul Wolneykien <manowar@altlinux.ru> 1:1.0.2-alt1 - updated by octave-package-builder * Fri Nov 18 2011 Igor Vlasenko <viy@altlinux.ru> 1.0.1-alt1 - initial import by octave-package-builder |