[10184] | 1 | %define pkg_name octave |
---|
[12059] | 2 | %define pkg_version 5.1.0 |
---|
| 3 | %define pkg_release 1%{?_dist_release} |
---|
[521] | 4 | |
---|
[10184] | 5 | Summary: GNU Octave -- a high-level language for numerical computations |
---|
[521] | 6 | Summary(ja): 数値計算のための高級言語 |
---|
[10184] | 7 | Name: %{pkg_name} |
---|
| 8 | Version: %{pkg_version} |
---|
| 9 | Release: %{pkg_release} |
---|
| 10 | |
---|
[11640] | 11 | License: GPLv3 |
---|
[10184] | 12 | Group: Applications/Edutainment |
---|
| 13 | URL: http://www.gnu.org/software/octave/ |
---|
[10822] | 14 | Source0: ftp://ftp.octave.org/gnu/octave/%{name}-%{version}.tar.lz |
---|
[521] | 15 | |
---|
[10184] | 16 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
---|
| 17 | |
---|
| 18 | BuildRequires: gcc-gfortran |
---|
| 19 | BuildRequires: bison flex gperf texinfo less |
---|
| 20 | BuildRequires: gnuplot |
---|
| 21 | BuildRequires: ghostscript-devel |
---|
| 22 | BuildRequires: mesa-libOSMesa-devel |
---|
| 23 | BuildRequires: blas-devel lapack-devel |
---|
| 24 | BuildRequires: pcre-devel |
---|
| 25 | BuildRequires: readline-devel |
---|
[11733] | 26 | %if %{?_dist_release} == "vl6" |
---|
[10184] | 27 | BuildRequires: arpack |
---|
[11733] | 28 | %endif |
---|
| 29 | %if %{?_dist_release} >= "vl7" |
---|
| 30 | BuildRequires: arpack-devel |
---|
| 31 | %endif |
---|
[10184] | 32 | BuildRequires: curl-devel |
---|
| 33 | BuildRequires: fftw3-devel |
---|
| 34 | BuildRequires: fontconfig-devel |
---|
| 35 | BuildRequires: freetype-devel |
---|
| 36 | BuildRequires: glpk-devel |
---|
| 37 | BuildRequires: GraphicsMagick-c++-devel |
---|
| 38 | BuildRequires: hdf5-devel |
---|
[10822] | 39 | BuildRequires: java-devel |
---|
[10184] | 40 | BuildRequires: qhull-devel |
---|
| 41 | BuildRequires: qrupdate |
---|
| 42 | BuildRequires: suitesparse-devel |
---|
| 43 | BuildRequires: zlib-devel |
---|
| 44 | BuildRequires: xz-devel |
---|
| 45 | BuildRequires: libtool-ltdl-devel |
---|
| 46 | BuildRequires: libXext-devel |
---|
[10279] | 47 | BuildRequires: openssl-devel |
---|
[10184] | 48 | BuildRequires: desktop-file-utils |
---|
| 49 | BuildRequires: freeglut-devel |
---|
| 50 | BuildRequires: fltk-devel |
---|
| 51 | BuildRequires: gl2ps-devel |
---|
[11734] | 52 | %if %{?_dist_release} == "vl6" |
---|
[10184] | 53 | BuildRequires: qt4-devel |
---|
| 54 | BuildRequires: qscintilla-devel |
---|
[521] | 55 | %endif |
---|
[11734] | 56 | %if %{?_dist_release} >= "vl7" |
---|
| 57 | BuildRequires: qt5-qtbase-devel |
---|
| 58 | BuildRequires: qt5-qttools-devel |
---|
| 59 | %endif |
---|
[10184] | 60 | BuildRequires: portaudio-devel |
---|
| 61 | BuildRequires: libsndfile-devel |
---|
[10822] | 62 | BuildRequires: lzip |
---|
[521] | 63 | |
---|
[10184] | 64 | Requires: ghostscript |
---|
| 65 | Requires: blas lapack |
---|
| 66 | Requires: pcre |
---|
| 67 | Requires: readline |
---|
| 68 | Requires: mesa-libOSMesa |
---|
| 69 | Requires: gnuplot |
---|
| 70 | Requires: arpack |
---|
| 71 | Requires: curl |
---|
| 72 | Requires: fftw3 |
---|
| 73 | Requires: fontconfig |
---|
| 74 | Requires: freetype |
---|
| 75 | Requires: glpk |
---|
| 76 | Requires: GraphicsMagick-c++ |
---|
| 77 | Requires: hdf5 |
---|
[11790] | 78 | Requires: libqhull |
---|
[10184] | 79 | Requires: qrupdate |
---|
| 80 | Requires: suitesparse |
---|
| 81 | Requires: zlib |
---|
[10279] | 82 | Requires: openssl |
---|
[10184] | 83 | Requires: pstoedit epstool transfig |
---|
| 84 | Requires: freeglut |
---|
| 85 | Requires: fltk |
---|
| 86 | Requires: gl2ps |
---|
[11734] | 87 | %if %{?_dist_release} == "vl6" |
---|
[10184] | 88 | Requires: qt4 |
---|
| 89 | Requires: qscintilla |
---|
| 90 | %endif |
---|
[11734] | 91 | %if %{?_dist_release} >= "vl7" |
---|
| 92 | Requires: qt5-qtbase |
---|
| 93 | Requires: qt5-qttools-libs-help |
---|
| 94 | %endif |
---|
[10184] | 95 | Requires: portaudio |
---|
| 96 | Requires: libsndfile |
---|
| 97 | |
---|
| 98 | Requires(post): /sbin/install-info |
---|
[521] | 99 | Requires(postun): /sbin/ldconfig |
---|
[10184] | 100 | Requires(post): /sbin/ldconfig |
---|
| 101 | Requires(preun): /sbin/install-info |
---|
[521] | 102 | |
---|
| 103 | Vendor: Project Vine |
---|
| 104 | Distribution: Vine Linux |
---|
[10184] | 105 | Packager: ara_t |
---|
[521] | 106 | |
---|
[10184] | 107 | |
---|
[521] | 108 | %description |
---|
| 109 | GNU Octave is a high-level language, primarily intended for numerical |
---|
| 110 | computations. It provides a convenient command line interface for |
---|
| 111 | solving linear and nonlinear problems numerically, and for performing |
---|
| 112 | other numerical experiments using a language that is mostly compatible |
---|
| 113 | with Matlab. It may also be used as a batch-oriented language. |
---|
| 114 | |
---|
| 115 | Octave has extensive tools for solving common numerical linear algebra |
---|
| 116 | problems, finding the roots of nonlinear equations, integrating |
---|
| 117 | ordinary functions, manipulating polynomials, and integrating ordinary |
---|
| 118 | differential and differential-algebraic equations. It is easily |
---|
| 119 | extensible and customizable via user-defined functions written in |
---|
| 120 | Octave's own language, or using dynamically loaded modules written in |
---|
| 121 | C++, C, Fortran, or other languages. |
---|
[10184] | 122 | # ' |
---|
[521] | 123 | |
---|
| 124 | %description -l ja |
---|
| 125 | GNU Octave は数値計算用に開発の始められた高級言語です。線形問題や非線形 |
---|
| 126 | 問題を数値的に解いたり、その他のMatlab と互換性の高い言語を用いた数値計算 |
---|
| 127 | を行うための使いやすいコマンドライン・インタフェースを備えています。 |
---|
| 128 | バッチ指向言語としても使うこともできます。Octave は多機能なツールで、 |
---|
[10184] | 129 | 一般的な線形幾何の問題の数値解や、通常の関数の積分・微分、多項式の操作等を |
---|
| 130 | 行うことができます。 |
---|
| 131 | Octave の言語でユーザが関数を定義したり、C++, C, Fortran その他の言語で |
---|
| 132 | 書いた動的ライブラリを用いて容易に拡張やカスタマイズを行うことができます。 |
---|
[521] | 133 | |
---|
[10184] | 134 | (注意) |
---|
| 135 | デフォルトではグラフの描画にOpenGL/fltkを使用してます。 |
---|
| 136 | もし不安定な場合には、 |
---|
| 137 | gnuplotをデフォルトとするために ~/.octaverc に |
---|
| 138 | graphics_toolkit("gnuplot"); |
---|
| 139 | を追加してから起動して下さい。 |
---|
| 140 | |
---|
| 141 | |
---|
[521] | 142 | %prep |
---|
[10184] | 143 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 144 | %setup -q |
---|
[521] | 145 | |
---|
| 146 | %build |
---|
[10184] | 147 | %{configure} \ |
---|
| 148 | CPPFLAGS="-I%{_includedir}/pcre" \ |
---|
| 149 | --with-x \ |
---|
| 150 | --with-magick=GraphicsMagick \ |
---|
| 151 | --with-curl-includedir=%{_includedir}/curl \ |
---|
| 152 | --with-glpk-includedir=%{_includedir}/glpk \ |
---|
[11734] | 153 | --with-qhull-includedir=%{_includedir}/libqhull \ |
---|
[10184] | 154 | --with-amd-includedir=%{_includedir}/suitesparse \ |
---|
| 155 | --with-camd-includedir=%{_includedir}/suitesparse \ |
---|
| 156 | --with-colamd-includedir=%{_includedir}/suitesparse \ |
---|
| 157 | --with-ccolamd-includedir=%{_includedir}/suitesparse \ |
---|
| 158 | --with-cholmod-includedir=%{_includedir}/suitesparse \ |
---|
| 159 | --with-cxsparse-includedir=%{_includedir}/suitesparse \ |
---|
| 160 | --with-umfpack-includedir=%{_includedir}/suitesparse \ |
---|
| 161 | --enable-java \ |
---|
[12059] | 162 | --with-qt=5 |
---|
[521] | 163 | |
---|
[10184] | 164 | %{__make} %{?_smp_mflags} |
---|
[521] | 165 | |
---|
[11640] | 166 | |
---|
[521] | 167 | %install |
---|
[10184] | 168 | %{make_install} |
---|
[521] | 169 | |
---|
| 170 | find %{buildroot} -name "*.oct" | xargs strip |
---|
| 171 | |
---|
| 172 | # Make library links |
---|
[10184] | 173 | %{__mkdir_p} ${RPM_BUILD_ROOT}/etc/ld.so.conf.d |
---|
| 174 | echo "%{_libdir}/octave-%{version}" > \ |
---|
| 175 | ${RPM_BUILD_ROOT}/etc/ld.so.conf.d/octave-%{_arch}.conf |
---|
[521] | 176 | |
---|
[11640] | 177 | # desktop file |
---|
[10184] | 178 | %{__perl} -pi -e s/"Education;Science;Math;"/"Education;Science;"/g \ |
---|
[11640] | 179 | ${RPM_BUILD_ROOT}%{_datadir}/applications/org.octave.Octave.desktop |
---|
[521] | 180 | |
---|
[10822] | 181 | %check |
---|
| 182 | %{__make} %{?_smp_mflags} check |
---|
| 183 | |
---|
[521] | 184 | %clean |
---|
[10184] | 185 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
[521] | 186 | |
---|
| 187 | |
---|
[11640] | 188 | %post -p %{_syssbindir}/ldconfig |
---|
[521] | 189 | |
---|
[10184] | 190 | %postun -p %{_syssbindir}/ldconfig |
---|
[521] | 191 | |
---|
[10184] | 192 | |
---|
[521] | 193 | %files |
---|
| 194 | %defattr(-,root,root) |
---|
[10184] | 195 | %doc AUTHORS BUGS CITATION COPYING ChangeLog NEWS README |
---|
[11640] | 196 | %doc examples doc/interpreter/octave.pdf doc/refcard |
---|
[10184] | 197 | %config(noreplace) /etc/ld.so.conf.d/ |
---|
| 198 | %{_bindir}/ |
---|
| 199 | %{_libdir}/octave |
---|
[12059] | 200 | %{_libdir}/pkgconfig/*.pc |
---|
[521] | 201 | %{_includedir}/octave-%{version} |
---|
[10184] | 202 | %{_datadir}/applications/ |
---|
| 203 | %{_datadir}/icons/ |
---|
[11640] | 204 | %{_datadir}/metainfo/ |
---|
[521] | 205 | %{_datadir}/octave |
---|
| 206 | %{_libexecdir}/octave |
---|
| 207 | |
---|
[10184] | 208 | |
---|
[521] | 209 | %changelog |
---|
[12059] | 210 | * Sun Apr 21 2019 Toshiaki Ara <ara_t@384.jp> 5.1.0-1 |
---|
| 211 | - update to 5.1.0 |
---|
| 212 | - drop gui/sound option |
---|
| 213 | |
---|
| 214 | * Fri Jan 25 2019 Toshiaki Ara <ara_t@384.jp> 4.4.1-3 |
---|
| 215 | - rebuild with gfortran-8.2.0 |
---|
| 216 | |
---|
[11790] | 217 | * Tue Sep 04 2018 Toshiaki Ara <ara_t@384.jp> 4.4.1-2 |
---|
| 218 | - rebuild with qhull-2015.2 |
---|
| 219 | |
---|
[11787] | 220 | * Thu Aug 30 2018 Toshiaki Ara <ara_t@384.jp> 4.4.1-1 |
---|
| 221 | - update to 4.4.1 |
---|
| 222 | |
---|
[11734] | 223 | * Sun Jul 01 2018 Toshiaki Ara <ara_t@384.jp> 4.4.0-4 |
---|
| 224 | - using qt5 for VineSeed |
---|
| 225 | - add configure option: --with-qt=5 |
---|
| 226 | - add BuildRequires: qt5-qtbase-devel and qt5-qttools-devel |
---|
| 227 | - add Requires: qt5-qtbase and qt5-qttools-libs-help |
---|
| 228 | |
---|
[11733] | 229 | * Sun Jul 01 2018 Toshiaki Ara <ara_t@384.jp> 4.4.0-3 |
---|
[11734] | 230 | - rebuild with hdf5-1.8.20 for VineSeed |
---|
[11733] | 231 | |
---|
| 232 | * Wed Jun 06 2018 Toshiaki Ara <ara_t@384.jp> 4.4.0-2 |
---|
| 233 | - add BuildRequires: arpack-devel for VineSeed |
---|
| 234 | |
---|
[11640] | 235 | * Sun May 20 2018 Toshiaki Ara <ara_t@384.jp> 4.4.0-1 |
---|
| 236 | - update to 4.4.0 |
---|
| 237 | - correct License |
---|
| 238 | |
---|
[11600] | 239 | * Sun Apr 01 2018 Toshiaki Ara <ara_t@384.jp> 4.2.2-1 |
---|
| 240 | - update to 4.2.2 |
---|
| 241 | |
---|
[11214] | 242 | * Sun Oct 29 2017 Toshiaki Ara <ara_t@384.jp> 4.2.1-2 |
---|
| 243 | - rebuild under glpk-4.63 |
---|
| 244 | |
---|
[10923] | 245 | * Mon Feb 27 2017 Toshiaki Ara <ara_t@384.jp> 4.2.1-1 |
---|
| 246 | - update to 4.2.1 |
---|
| 247 | |
---|
[10822] | 248 | * Sat Nov 19 2016 Toshiaki Ara <ara_t@384.jp> 4.2.0-1 |
---|
| 249 | - update to 4.2.0 |
---|
| 250 | - add make check |
---|
| 251 | - add BuildRequires: lzip |
---|
| 252 | - change BuildRequires: java-devel |
---|
| 253 | |
---|
[10637] | 254 | * Mon Jul 18 2016 Toshiaki Ara <ara_t@384.jp> 4.0.3-1 |
---|
| 255 | - update to 4.0.3 |
---|
| 256 | - change BuildRequires: java-1.8.0-openjdk-devel for VineSeed |
---|
| 257 | |
---|
[10279] | 258 | * Wed May 11 2016 Toshiaki Ara <ara_t@384.jp> 4.0.2-1 |
---|
| 259 | - update to 4.0.2 |
---|
| 260 | - add BuildRequires: openssl-devel |
---|
| 261 | - add Requires: openssl |
---|
| 262 | |
---|
[10184] | 263 | * Wed Apr 13 2016 Toshiaki Ara <ara_t@384.jp> 4.0.1-1 |
---|
| 264 | - update to 4.0.1 |
---|
| 265 | - change dependencies |
---|
| 266 | |
---|
| 267 | * Sun Oct 05 2014 Toshiaki Ara <ara_t@384.jp> 3.6.4-2 |
---|
| 268 | - [BTS:0002801] add configure option --with-magick=Magick |
---|
| 269 | - delete BuildRequires: texlive-collection-texinfo |
---|
| 270 | - add BuildRequires: texlive-collection-plainextra |
---|
| 271 | - add BuildRequires: texlive-collection-latexextra |
---|
| 272 | - add BuildRequires: texlive-collection-fontsrecommended |
---|
| 273 | - for VineSeed |
---|
| 274 | |
---|
| 275 | * Wed Mar 06 2013 Toshiaki Ara <ara_t@384.jp> 3.6.4-1 |
---|
| 276 | - update to 3.6.4 |
---|
| 277 | - add BuildRequires: freeglut-devel and Requires: freeglut for VineSeed |
---|
| 278 | |
---|
| 279 | * Tue Sep 11 2012 Toshiaki Ara <ara_t@384.jp> 3.6.2-2 |
---|
| 280 | - delete octave from menu (programming) |
---|
| 281 | |
---|
| 282 | * Tue Aug 28 2012 Toshiaki Ara <ara_t@384.jp> 3.6.2-1 |
---|
| 283 | - update to 3.6.2 |
---|
| 284 | - correct spec file for version 3.6.2 |
---|
| 285 | - add BuildRequires: pcre-devel fltk-devel |
---|
| 286 | - add BuildRequires: ImageMagick-devel ImageMagick-c++-devel |
---|
| 287 | - add BuildRequires: gcc-gfortran |
---|
| 288 | - add BuildRequires: texlive texlive-common texlive-collection-basic |
---|
| 289 | - add BuildRequires: texlive-collection-texinfo texlive-collection-genericrecommended |
---|
| 290 | - chanfe Group to Applications/Edutainment |
---|
| 291 | |
---|
[521] | 292 | * Sat Aug 23 2008 Shu KONNO <owa@bg.wakwak.com> 3.0.2-1vl5 |
---|
| 293 | - update to 3.0.2 |
---|
| 294 | - applied new versioning policy, spec in utf-8 |
---|
| 295 | |
---|
| 296 | * Sun Feb 03 2008 NAKAMURA Kenta <kenta@vinelinux.org> 3.0.0-0vl1 |
---|
| 297 | - update to 3.0.0 |
---|
| 298 | |
---|
| 299 | * Sat Aug 18 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.9.13-0vl2 |
---|
| 300 | - rebuilt for VineSeed |
---|
| 301 | |
---|
| 302 | * Fri Aug 17 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.9.13-0vl1 |
---|
| 303 | - update to 2.9.13 |
---|
| 304 | - rebuilt with new toolchain and environment |
---|
| 305 | |
---|
| 306 | * Sun Apr 20 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.17-0vl1 |
---|
| 307 | - update to 2.0.17 |
---|
| 308 | - rebuild with new toolchains |
---|
| 309 | - add BuildRequires: gcc295, gcc295-c++ |
---|
| 310 | |
---|
| 311 | * Sun Mar 3 2002 Jun Nishii <jun@vinelinux.org> 2.1.35-0vl1 |
---|
| 312 | - ver.up |
---|
| 313 | |
---|
| 314 | * Tue Sep 26 2000 Jun Nishii <jun@vinelinux.org> 2.0.16-0vl1 |
---|
| 315 | - build for Vine Linux 2.1 |
---|
| 316 | |
---|
| 317 | * Mon Aug 07 2000 Frederic Lepied <flepied@mandrakesoft.com> 2.0.16-5mdk |
---|
| 318 | - automatically added BuildRequires |
---|
| 319 | |
---|
| 320 | * Wed Jul 26 2000 Vincent Saugey <vince@mandrakesoft.com> 2.0.16-4mdk |
---|
| 321 | - Macros, BM, add multiple icons sizes |
---|
| 322 | |
---|
| 323 | * Wed Apr 12 2000 Vincent Saugey <vince@mandrakesoft.com> 2.0.16-3mdk |
---|
| 324 | - strip oct file |
---|
| 325 | - add menu entry |
---|
| 326 | |
---|
| 327 | * Tue Mar 21 2000 Vincent Saugey <vince@mandrakesoft.com> 2.0.16-2mdk |
---|
| 328 | - corrected for new groups |
---|
| 329 | |
---|
| 330 | * Thu Mar 09 2000 Lenny Cartier <lenny@mandrakesoft.com> |
---|
| 331 | - mandrake build |
---|
| 332 | - v2.0.16 |
---|
| 333 | |
---|
| 334 | * Fri Oct 23 1998 Jeff Johnson <jbj@redhat.com> |
---|
| 335 | - update to 2.0.13.90 |
---|
| 336 | |
---|
| 337 | * Thu Jul 9 1998 Jeff Johnson <jbj@redhat.com> |
---|
| 338 | - repackage in powertools. |
---|
| 339 | |
---|
| 340 | * Thu Jun 11 1998 Andrew Veliath <andrewtv@usa.net> |
---|
| 341 | - Add %attr, build as user. |
---|
| 342 | |
---|
| 343 | * Mon Jun 1 1998 Andrew Veliath <andrewtv@usa.net> |
---|
| 344 | - Add BuildRoot, installinfo, require gnuplot, description from |
---|
| 345 | Octave's web page, update to Octave 2.0.13. |
---|
| 346 | - Adapt from existing spec file. |
---|
| 347 | |
---|
| 348 | * Tue Dec 2 1997 Otto Hammersmith <otto@redhat.com> |
---|
| 349 | - removed libreadline stuff from the file list |
---|
| 350 | |
---|
| 351 | * Mon Nov 24 1997 Otto Hammersmith <otto@redhat.com> |
---|
| 352 | - changed configure command to put things in $RPM_ARCH-rehat-linux, |
---|
| 353 | rather than genereated one... was causing problems between building |
---|
| 354 | on i686 build machine. |
---|
| 355 | |
---|
| 356 | * Mon Nov 17 1997 Otto Hammersmith <otto@redhat.com> |
---|
| 357 | - moved buildroot from /tmp to /var/tmp |
---|
| 358 | |
---|
| 359 | * Mon Sep 22 1997 Mike Wangsmo <wanger@redhat.com> |
---|
| 360 | - Upgraded to version 2.0.9 and built for glibc system |
---|
| 361 | |
---|
| 362 | * Thu May 01 1997 Michael Fulbright <msf@redhat.com> |
---|
| 363 | - Updated to version 2.0.5 and changed to build using a BuildRoot |
---|