]> git.pld-linux.org Git - packages/octave.git/commitdiff
- cosmetic changes for common l&f,
authorkloczek <kloczek@pld-linux.org>
Sun, 9 May 1999 05:30:37 +0000 (05:30 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- now package is FHS 2.0 compiliat,
- added passing $RPM_OPT_FLAGS to fortran compile options (FFLAGS),
- link with system readline instead static included with octave,
- added gzipping %doc and man pages,
- added using %%{_target} macro in ./configure parameters,
- added LDFLAGS="-s" to ./configure enviroment,
- install libraries in proper path (/usr/lib),
- changed permission to 755 on shared libraries,
- added stripping shared libs,
- added BuildPrereq: readline-devel, ncurses-devel, egcs-g77.

Changed files:
    octave.spec -> 1.2

octave.spec

index b5a0761b659de82aa26b12b8400e7046ba0a9857..f7e2a5836a2b334d454cf15830c2455bd3af5f88 100644 (file)
-Summary: GNU Octave -- a high-level language for numerical computations
-Summary(pl): GNU Octave -- jêzyk programowania do obliczeñ numerycznych
-Name: octave
-Version: 2.0.14
-Release: 1
-Copyright: GPL
-Group: Applications/Math
-Group(pl): Aplikacje/Matematyczne
-Source: ftp://ftp.che.wisc.edu/pub/octave/%{name}-%{version}.tar.bz2
-URL: http://www.che.wisc.edu/octave/
-BuildPrereq: libstdc++-devel
-BuildPrereq: flex
-BuildPrereq: bison
-Requires: gnuplot
-BuildRoot: /tmp/%{name}-%{version}-root
-
+Summary:       GNU Octave -- a high-level language for numerical computations
+Summary(pl):   GNU Octave -- jêzyk programowania do obliczeñ numerycznych
+Name:          octave
+Version:       2.0.14
+Release:       1
+Copyright:     GPL
+Group:         Applications/Math
+Group(pl):     Aplikacje/Matematyczne
+Source:                ftp://ftp.che.wisc.edu/pub/octave/%{name}-%{version}.tar.bz2
+URL:           http://www.che.wisc.edu/octave/
+BuildPrereq:   libstdc++-devel
+BuildPrereq:   ncurses-devel
+BuildPrereq:   readline-devel
+BuildPrereq:   flex
+BuildPrereq:   bison
+BuildPrereq:   egcs-g77
+Requires:      gnuplot
+BuildRoot:     /tmp/%{name}-%{version}-root
 
 %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.
+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.
+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 -l pl
-GNU Octave jest jezykiem programowania wysokiego poziomu przeznaczonym 
-g³ównie do obliczeñ numerycznych. Octave jest w du¿ym stopniu
-kompatybilny z jezykiem Matlab. Pracowaæ mo¿na wprost z linii
-poleceñ lub uruchamiaæ programy stworzone za pomoc± zewnêtrznego
-edytora.
-
-Ze wzglêdu na objêto¶æ dokumentacji w pakiecie binarnym znajduje
-siê tylko jej czê¶æ (info, faq i manual(.html)) 
-Ca³o¶æ mo¿na znale¼æ w pakiecie src.rpm
-
-%changelog
+GNU Octave jest jêzykiem programowania wysokiego poziomu przeznaczonym
+g³ównie do obliczeñ numerycznych. Octave jest w du¿ym stopniu kompatybilny z
+jezykiem Matlab. Pracowaæ mo¿na wprost z linii poleceñ lub uruchamiaæ
+programy stworzone za pomoc± zewnêtrznego edytora.
 
-* Fri Apr 30 1999 Rafa³ Kleger-Rudomin <klakier@pg.gda.pl>
-- Adapt for PLD, update to Octave 2.0.14
-* Thu Jun 11 1998 Andrew Veliath <andrewtv@usa.net>
-- Add %attr, build as user.
-
-* Mon Jun 1 1998 Andrew Veliath <andrewtv@usa.net>
-- Add BuildRoot, installinfo, require gnuplot, description from
-  Octave's web page, update to Octave 2.0.13.
-
-- Adapt from existing spec file.
+Ze wzglêdu na objêto¶æ dokumentacji w pakiecie binarnym znajduje siê tylko
+jej czê¶æ (info, faq i manual(.html)) Ca³o¶æ mo¿na znale¼æ w pakiecie
+src.rpm
 
 %prep
-
 %setup -q
 
 %build
-CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS="$RPM_OPT_FLAGS" ./configure \
-     --prefix=/usr \
-     --with-g77 \
-     --enable-dl \
-     --enable-shared \
-     --enable-rpath \
-     --enable-lite-kernel
-make
+autoconf
+CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
+CXXFLAGS="$RPM_OPT_FLAGS" \
+FFLAGS="$RPM_OPT_FLAGS" \
+./configure %{_target} \
+       --prefix=/usr \
+       --with-g77 \
+       --enable-dl \
+       --enable-shared \
+       --enable-rpath \
+       --enable-lite-kernel
+make READLINE_DIR="" LIBREADLINE="-lreadline" octlibdir=/usr/lib
 
 %install
 rm -rf $RPM_BUILD_ROOT
-make prefix=$RPM_BUILD_ROOT/usr install
-gzip -9nf $RPM_BUILD_ROOT/usr/info/%{name}.info*
+make install \
+       prefix=$RPM_BUILD_ROOT/usr
+       octlibdir=$RPM_BUILD_ROOT/usr/lib
+
+strip --strip-unneeded $RPM_BUILD_ROOT/usr/lib/lib*so
+
+gzip -9nf $RPM_BUILD_ROOT/usr/share/{info/*.info*,man/man1/*} \
+       BUGS NEWS* PROJECTS README README.Linux ChangeLog* ROADMAP \
+       SENDING-PATCHES THANKS
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %post
-ldconfig
-/sbin/install-info /usr/info/%{name}.info.gz /etc/info-dir
+/sbin/ldconfig
+/sbin/install-info /usr/share/info/%{name}.info.gz /etc/info-dir
 
 %preun
 if [ "$1" = "0" ]; then
-   /sbin/install-info --delete /usr/info/%{name}.info.gz /etc/info-dir
+       /sbin/install-info --delete /usr/share/info/%{name}.info.gz /etc/info-dir
 fi
 
 %postun -p /sbin/ldconfig
 
 %files
-
-%defattr(644, root, root, 755)
-%attr(755, root, root) /usr/bin/*
+%defattr(644,root,root,755)
+%doc *.gz doc/faq emacs examples doc/interpreter/*.html
+%attr(755,root,root) /usr/bin/*
+%attr(755,root,root) /usr/lib/lib*so
+%attr(755,root,root) /usr/libexec/octave
 /usr/include/%{name}-%{version}
-/usr/info/%{name}.info*
-/usr/lib/%{name}-%{version}
-%attr(755, root, root) /usr/libexec/%{name}
-/usr/man/man1/%{name}.1
-/usr/share/%{name}
-%doc BUGS COPYING NEWS* PROJECTS README README.Linux ChangeLog* ROADMAP SENDING-PATCHES THANKS
-%doc doc/faq emacs examples doc/interpreter/*.html
+/usr/share/info/*.info*
+/usr/share/man/man1/*
+/usr/share/octave
     
+%changelog
+* Sun May  9 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
+- now package is FHS 2.0 compiliat,
+- added passing $RPM_OPT_FLAGS to fortran compile options (FFLAGS),
+- link with system readline instead static included with octave,
+- added gzipping %doc and man pages,
+- added using %%{_target} macro in ./configure parameters,
+- added LDFLAGS="-s" to ./configure enviroment,
+- install libraries in proper path (/usr/lib),
+- changed permission to 755 on shared libraries,
+- added stripping shared libs,
+- added BuildPrereq: readline-devel, ncurses-devel, egcs-g77.
+
+* Fri Apr 30 1999 Rafa³ Kleger-Rudomin <klakier@pg.gda.pl>
+  [2.0.14-1]
+- Adapt for PLD.
+
+* Thu Jun 11 1998 Andrew Veliath <andrewtv@usa.net>
+- Add %attr, build as user.
+
+* Mon Jun 1 1998 Andrew Veliath <andrewtv@usa.net>
+- Add BuildRoot, installinfo, require gnuplot, description from
+  Octave's web page, update to Octave 2.0.13.
+
+- Adapt from existing spec file.
This page took 0.087097 seconds and 4 git commands to generate.