Group :: Ciências/Matemática
RPM: octave
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: octave
Version: 2.9.13
Release: alt0.M40.1
Summary: GNU Octave -- a high-level language for numerical computations
License: GPL
Group: Sciences/Mathematics
Url: www.octave.org
BuildRequires: flex gcc-c++ gcc-g77 lapack libcurl-devel libfftw3-devel libg2c-devel libglpk-devel libncurses-devel libpcre-devel libreadline-devel libstdc++-devel libtinfo-devel zlib-devel
BuildRequires: desktop-file-utils gnuplot less tetex-latex
Source: %name-%version-%release.tar
Requires: gnuplot
AutoReq: yes, noshell
%package devel
Summary: GNU Octave -- development part
Group: Development/C
Requires: %name = %version-%release
%package doc
Summary: GNU Octave -- documentation
Group: Development/Other
%description
GNU Octave is a high-level language, primarily intended for numerical
computations. It provides a convenient command line interface for
solving linear and nonlinear problems numerically, and for performing
other numerical experiments using a language that is mostly compatible
with Matlab. It may also be used as a batch-oriented language.
Octave has extensive tools for solving common numerical linear algebra
problems, finding the roots of nonlinear equations, integrating
ordinary functions, manipulating polynomials, and integrating ordinary
differential and differential-algebraic equations. It is easily
extensible and customizable via user-defined functions written in
Octave's own language, or using dynamically loaded modules written in
C++, C, Fortran, or other languages.
%description devel
GNU Octave is a high-level language, primarily intended for numerical
computations. It provides a convenient command line interface for
solving linear and nonlinear problems numerically, and for performing
other numerical experiments using a language that is mostly compatible
with Matlab. It may also be used as a batch-oriented language.
This package contains development libraries and header files.
%description doc
GNU Octave is a high-level language, primarily intended for numerical
computations. It provides a convenient command line interface for
solving linear and nonlinear problems numerically, and for performing
other numerical experiments using a language that is mostly compatible
with Matlab. It may also be used as a batch-oriented language.
This package contains extra documentation for GNU Octave.
%prep
%setup
%build
%__autoreconf
%configure \
--with-g77 --enable-dl --enable-shared \
--disable-static --disable-rpath \
--enable-lite-kernel --enable-picky-flags
make
%install
%makeinstall
install -pm0644 -D %name.desktop %buildroot%_desktopdir/%name.desktop
install -pm0644 -D %{name}_16.xpm %buildroot%_miconsdir/%name.xpm
install -pm0644 -D %{name}_32.xpm %buildroot%_niconsdir/%name.xpm
install -pm0644 -D %{name}_48.xpm %buildroot%_liconsdir/%name.xpm
pushd doc
mkdir -p %buildroot%_defaultdocdir/%name-%version
find faq/HTML interpreter/HTML liboctave/HTML -type f |cpio -pmdv %buildroot%_defaultdocdir/%name-%version
install -pm0644 faq/Octave-FAQ.pdf interpreter/octave.pdf \
liboctave/liboctave.pdf refcard/refcard-a4.pdf %buildroot%_defaultdocdir/%name-%version
popd
gzip ChangeLog
install -pm0644 BUGS COPYING NEWS* PROJECTS README README.Linux \
ChangeLog.gz ROADMAP SENDING-PATCHES THANKS %buildroot%_defaultdocdir/%name-%version
%post
%post_ldconfig
%install_info octave.info
%update_menus
%preun
%uninstall_info octave.info
%postun
%postun_ldconfig
%clean_menus
%files
%_defaultdocdir/%name-%version/BUGS
%_defaultdocdir/%name-%version/COPYING
%_defaultdocdir/%name-%version/NEWS*
%_defaultdocdir/%name-%version/PROJECTS
%_defaultdocdir/%name-%version/README
%_defaultdocdir/%name-%version/README.Linux
%_defaultdocdir/%name-%version/ChangeLog.gz
%_defaultdocdir/%name-%version/ROADMAP
%_defaultdocdir/%name-%version/SENDING-PATCHES
%_defaultdocdir/%name-%version/THANKS
%_bindir/*
%_libdir/libcruft.so.*
%_libdir/liboctave.so.*
%_libdir/liboctinterp.so.*
%_libdir/octave
%_datadir/octave
%_infodir/octave.info*
%_man1dir/*
%_desktopdir/*.desktop
%_niconsdir/%name.xpm
%_miconsdir/%name.xpm
%_liconsdir/%name.xpm
##files devel not yet
%_libdir/libcruft.so
%_libdir/liboctave.so
%_libdir/liboctinterp.so
%_includedir/%name-%version
%files doc
%_defaultdocdir/%name-%version/*.pdf
%_defaultdocdir/%name-%version/faq
%_defaultdocdir/%name-%version/interpreter
%_defaultdocdir/%name-%version/liboctave
%changelog
…
Todas as alterações você pod ver aqui
Version: 2.9.13
Release: alt0.M40.1
Summary: GNU Octave -- a high-level language for numerical computations
License: GPL
Group: Sciences/Mathematics
Url: www.octave.org
BuildRequires: flex gcc-c++ gcc-g77 lapack libcurl-devel libfftw3-devel libg2c-devel libglpk-devel libncurses-devel libpcre-devel libreadline-devel libstdc++-devel libtinfo-devel zlib-devel
BuildRequires: desktop-file-utils gnuplot less tetex-latex
Source: %name-%version-%release.tar
Requires: gnuplot
AutoReq: yes, noshell
%package devel
Summary: GNU Octave -- development part
Group: Development/C
Requires: %name = %version-%release
%package doc
Summary: GNU Octave -- documentation
Group: Development/Other
%description
GNU Octave is a high-level language, primarily intended for numerical
computations. It provides a convenient command line interface for
solving linear and nonlinear problems numerically, and for performing
other numerical experiments using a language that is mostly compatible
with Matlab. It may also be used as a batch-oriented language.
Octave has extensive tools for solving common numerical linear algebra
problems, finding the roots of nonlinear equations, integrating
ordinary functions, manipulating polynomials, and integrating ordinary
differential and differential-algebraic equations. It is easily
extensible and customizable via user-defined functions written in
Octave's own language, or using dynamically loaded modules written in
C++, C, Fortran, or other languages.
%description devel
GNU Octave is a high-level language, primarily intended for numerical
computations. It provides a convenient command line interface for
solving linear and nonlinear problems numerically, and for performing
other numerical experiments using a language that is mostly compatible
with Matlab. It may also be used as a batch-oriented language.
This package contains development libraries and header files.
%description doc
GNU Octave is a high-level language, primarily intended for numerical
computations. It provides a convenient command line interface for
solving linear and nonlinear problems numerically, and for performing
other numerical experiments using a language that is mostly compatible
with Matlab. It may also be used as a batch-oriented language.
This package contains extra documentation for GNU Octave.
%prep
%setup
%build
%__autoreconf
%configure \
--with-g77 --enable-dl --enable-shared \
--disable-static --disable-rpath \
--enable-lite-kernel --enable-picky-flags
make
%install
%makeinstall
install -pm0644 -D %name.desktop %buildroot%_desktopdir/%name.desktop
install -pm0644 -D %{name}_16.xpm %buildroot%_miconsdir/%name.xpm
install -pm0644 -D %{name}_32.xpm %buildroot%_niconsdir/%name.xpm
install -pm0644 -D %{name}_48.xpm %buildroot%_liconsdir/%name.xpm
pushd doc
mkdir -p %buildroot%_defaultdocdir/%name-%version
find faq/HTML interpreter/HTML liboctave/HTML -type f |cpio -pmdv %buildroot%_defaultdocdir/%name-%version
install -pm0644 faq/Octave-FAQ.pdf interpreter/octave.pdf \
liboctave/liboctave.pdf refcard/refcard-a4.pdf %buildroot%_defaultdocdir/%name-%version
popd
gzip ChangeLog
install -pm0644 BUGS COPYING NEWS* PROJECTS README README.Linux \
ChangeLog.gz ROADMAP SENDING-PATCHES THANKS %buildroot%_defaultdocdir/%name-%version
%post
%post_ldconfig
%install_info octave.info
%update_menus
%preun
%uninstall_info octave.info
%postun
%postun_ldconfig
%clean_menus
%files
%_defaultdocdir/%name-%version/BUGS
%_defaultdocdir/%name-%version/COPYING
%_defaultdocdir/%name-%version/NEWS*
%_defaultdocdir/%name-%version/PROJECTS
%_defaultdocdir/%name-%version/README
%_defaultdocdir/%name-%version/README.Linux
%_defaultdocdir/%name-%version/ChangeLog.gz
%_defaultdocdir/%name-%version/ROADMAP
%_defaultdocdir/%name-%version/SENDING-PATCHES
%_defaultdocdir/%name-%version/THANKS
%_bindir/*
%_libdir/libcruft.so.*
%_libdir/liboctave.so.*
%_libdir/liboctinterp.so.*
%_libdir/octave
%_datadir/octave
%_infodir/octave.info*
%_man1dir/*
%_desktopdir/*.desktop
%_niconsdir/%name.xpm
%_miconsdir/%name.xpm
%_liconsdir/%name.xpm
##files devel not yet
%_libdir/libcruft.so
%_libdir/liboctave.so
%_libdir/liboctinterp.so
%_includedir/%name-%version
%files doc
%_defaultdocdir/%name-%version/*.pdf
%_defaultdocdir/%name-%version/faq
%_defaultdocdir/%name-%version/interpreter
%_defaultdocdir/%name-%version/liboctave
%changelog
…
Todas as alterações você pod ver aqui