[521] | 1 | # -*- mode: rpm-spec -*- |
---|
| 2 | |
---|
| 3 | # By default, this spec file will generate RPMs for Clisp, CMUCL |
---|
| 4 | # and GCL. This can be changed by modifying the variables below. |
---|
| 5 | %define enable_clisp 1 |
---|
| 6 | %define clisp_flags --enable-clisp |
---|
| 7 | %define enable_cmucl 0 |
---|
| 8 | %define cmucl_flags --disable-cmucl |
---|
| 9 | %define enable_gcl 0 |
---|
| 10 | %define gcl_flags --disable-gcl |
---|
| 11 | |
---|
| 12 | # Inhibit automatic compressing of info files. Compressed info |
---|
| 13 | # files break maxima's internal help. |
---|
| 14 | %define __spec_install_post /bin/true |
---|
| 15 | |
---|
| 16 | Summary: Maxima Symbolic Computation Program |
---|
| 17 | Summary(ja): 数式処理プログラム Maxima |
---|
| 18 | Name: maxima |
---|
[9684] | 19 | Version: 5.36.1 |
---|
| 20 | Release: 1%{?_dist_release} |
---|
[521] | 21 | License: GPL |
---|
| 22 | Group: Applications/Engineering |
---|
| 23 | URL: http://maxima.sourceforge.net |
---|
| 24 | Source0: %{name}-%{version}.tar.gz |
---|
| 25 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
[9684] | 26 | BuildRequires: texinfo |
---|
[521] | 27 | Requires: maxima_exec = %{version}-%{release} |
---|
| 28 | Requires(post): /sbin/install-info |
---|
| 29 | Requires(preun): /sbin/install-info |
---|
| 30 | |
---|
| 31 | %description |
---|
| 32 | Maxima is a full symbolic computation program. It is full featured |
---|
| 33 | doing symbolic manipulation of polynomials, matrices, rational |
---|
| 34 | functions, integration, Todd-coxeter, graphing, bigfloats. It has a |
---|
| 35 | symbolic debugger source level debugger for maxima code. Maxima is |
---|
| 36 | based on the original Macsyma developed at MIT in the 1970's. It is |
---|
| 37 | quite reliable, and has good garbage collection, and no memory leaks. |
---|
| 38 | It comes with hundreds of self tests. |
---|
| 39 | |
---|
| 40 | %description -l ja |
---|
| 41 | Maxima は高機能な数式処理プログラムです。Maximaを使えば、多項式、行列、 |
---|
| 42 | 有理関数、積分、Todd-coxeter、グラフ描画、高精度浮動小数点といった演算 |
---|
| 43 | も簡単にこなせます。Maxima のコードに対応したソースレベルの数式デバッ |
---|
| 44 | ガも備えています。Maxima は MIT で1970年台に開発されたオリジナルの |
---|
| 45 | Macsyma がベースとなっています。Maxima はとても信頼性が高く、すぐれた |
---|
| 46 | ガーベッジコレクションを搭載しており、メモリリークを起こしません。この |
---|
| 47 | 信頼性は、数百件に及ぶセルフテストによってもたらされたものです。 |
---|
| 48 | |
---|
| 49 | %package xmaxima |
---|
| 50 | Summary: Tcl/Tk interface to Maxima |
---|
| 51 | Summary(ja): Maxima 用 Tcl/Tk インターフェース |
---|
| 52 | Group: Applications/Engineering |
---|
| 53 | Requires: %{name} = %{version}-%{release} |
---|
| 54 | Requires: tk > 8.1 |
---|
| 55 | Provides: xmaxima |
---|
| 56 | |
---|
| 57 | %description xmaxima |
---|
| 58 | Tcl/Tk interface to Maxima. |
---|
| 59 | |
---|
| 60 | %if %{enable_clisp} |
---|
| 61 | %package exec-clisp |
---|
| 62 | Summary: Maxima compiled with clisp |
---|
| 63 | Group: Applications/Engineering |
---|
| 64 | Requires: clisp |
---|
| 65 | BuildRequires: clisp |
---|
| 66 | Provides: maxima_exec |
---|
| 67 | %description exec-clisp |
---|
| 68 | Maxima compiled with clisp. |
---|
| 69 | %endif |
---|
| 70 | |
---|
| 71 | %if %{enable_cmucl} |
---|
| 72 | %package exec-cmucl |
---|
| 73 | Summary: Maxima compiled with CMUCL |
---|
| 74 | Group: Applications/Engineering |
---|
| 75 | Requires: cmucl |
---|
[9684] | 76 | BuildRequires: cmucl |
---|
[521] | 77 | Provides: maxima_exec |
---|
| 78 | %description exec-cmucl |
---|
| 79 | Maxima compiled with CMUCL. |
---|
| 80 | %endif |
---|
| 81 | |
---|
| 82 | %if %{enable_gcl} |
---|
| 83 | %package exec-gcl |
---|
| 84 | Summary: Maxima compiled with GCL |
---|
| 85 | Group: Applications/Engineering |
---|
| 86 | Requires: gcl |
---|
[9684] | 87 | BuildRequires: gcl |
---|
[521] | 88 | Provides: maxima_exec |
---|
| 89 | %description exec-gcl |
---|
| 90 | Maxima compiled with Gnu Common Lisp. |
---|
| 91 | %endif |
---|
| 92 | |
---|
| 93 | %prep |
---|
| 94 | %setup -q |
---|
| 95 | %configure %{?cmucl_flags:} %{?gcl_flags:} %{?clisp_flags:} |
---|
| 96 | |
---|
| 97 | %build |
---|
| 98 | %__make |
---|
| 99 | |
---|
| 100 | %install |
---|
| 101 | %__rm -rf %{buildroot} |
---|
| 102 | %makeinstall |
---|
| 103 | |
---|
| 104 | rm -f $RPM_BUILD_ROOT%{_infodir}/dir |
---|
| 105 | |
---|
| 106 | %post |
---|
| 107 | /sbin/install-info %{_infodir}/maxima.info %{_infodir}/dir |
---|
| 108 | |
---|
| 109 | %preun |
---|
| 110 | if [ "$1" = 0 ]; then |
---|
| 111 | /sbin/install-info --delete %{_infodir}/maxima.info %{_infodir}/dir |
---|
| 112 | fi |
---|
| 113 | |
---|
| 114 | %clean |
---|
| 115 | %__rm -rf %{buildroot} |
---|
| 116 | |
---|
| 117 | %files |
---|
| 118 | %defattr(-,root,root,-) |
---|
| 119 | %{_datadir}/maxima/%{version} |
---|
| 120 | %dir %{_libdir}/maxima/%{version} |
---|
| 121 | %{_libexecdir}/maxima/%{version} |
---|
| 122 | %{_infodir}/* |
---|
| 123 | %{_mandir}/man1/* |
---|
| 124 | %{_bindir}/* |
---|
| 125 | %doc AUTHORS COPYING ChangeLog INSTALL* NEWS README* |
---|
| 126 | |
---|
| 127 | %files xmaxima |
---|
| 128 | %{_bindir}/xmaxima |
---|
| 129 | |
---|
| 130 | %if %{enable_clisp} |
---|
| 131 | %files exec-clisp |
---|
| 132 | %{_libdir}/maxima/%{version}/binary-clisp |
---|
| 133 | %endif |
---|
| 134 | |
---|
| 135 | %if %{enable_cmucl} |
---|
| 136 | %files exec-cmucl |
---|
| 137 | %{_libdir}/maxima/%{version}/binary-cmucl |
---|
| 138 | %endif |
---|
| 139 | |
---|
| 140 | %if %{enable_gcl} |
---|
| 141 | %files exec-gcl |
---|
| 142 | %{_libdir}/maxima/%{version}/binary-gcl |
---|
| 143 | %endif |
---|
| 144 | |
---|
| 145 | %changelog |
---|
[9684] | 146 | * Fri Jul 31 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 5.36.1-1 |
---|
| 147 | - update to 5.36.1 |
---|
| 148 | - add BuildRequires: texinfo |
---|
| 149 | |
---|
[521] | 150 | * Sat Mar 06 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.16.3-2 |
---|
| 151 | - rebuilt with new toolchain, libsigsev-2.8 and clisp-2.48 |
---|
| 152 | |
---|
| 153 | * Sun Oct 05 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.16.3-1vl5 |
---|
| 154 | - new upstream release |
---|
| 155 | |
---|
| 156 | * Sat Oct 04 2008 Shu KONNO <owa@bg.wakwak.com> 5.11.0-1vl5 |
---|
| 157 | - applied new versioning policy, spec in utf-8 |
---|
| 158 | |
---|
| 159 | * Mon Mar 19 2007 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> - 5.11.0-0vl1 |
---|
| 160 | - New upstream release |
---|
| 161 | - Change Group |
---|
| 162 | |
---|
| 163 | * Fri May 20 2005 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> - 5.9.1-0vl2 |
---|
| 164 | - Japanese Summary and description by rpmSpecTranslate project |
---|
| 165 | |
---|
| 166 | * Sat Apr 23 2005 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> - 5.9.1-0vl1 |
---|
| 167 | - New upstream release (for diff() bug fix) |
---|
| 168 | - Tidy up spec file |
---|
| 169 | |
---|
| 170 | * Sun Feb 1 2004 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> - 5.9.0-0vl4 |
---|
| 171 | - Change Requires and BuildPreReq clisp (= 2.29 -> >= 2.29) |
---|
| 172 | |
---|
| 173 | * Sat Aug 2 2003 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> - 5.9.0-0vl3 |
---|
| 174 | - Add exec-clisp BuildPreReq clisp |
---|
| 175 | - Add xmaxima Requires tk > 8.1 |
---|
| 176 | - Remove xmaxima-olderTcl patch |
---|
| 177 | |
---|
| 178 | * Fri Jun 6 2003 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> 5.9.0-0vl2 |
---|
| 179 | - Rebuild for clisp-2.29-0vl1 |
---|
| 180 | |
---|
| 181 | * Fri May 30 2003 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> 5.9.0-0vl1 |
---|
| 182 | - Enable clisp only, disable cmucl and gcl |
---|
| 183 | - Add xmaxima-olderTcl patch (for tclversion older than 8.1) |
---|
| 184 | - Remove %{_infodir}/dir file |
---|
| 185 | |
---|
| 186 | * Sat Jan 4 2003 James Amundson <amundson@fnal.gov> |
---|
| 187 | - Added doc files |
---|
| 188 | - Added explicit clisp version |
---|
| 189 | - Added conditional to postun |
---|
| 190 | - Renamed exec_* packages to exec-* |
---|
| 191 | - Use rpm macros instead of hard-coded paths |
---|
| 192 | - Thanks to Rex Dieter for helpful suggestions |
---|
| 193 | |
---|
| 194 | * Sun Sep 8 2002 James Amundson <amundson@fnal.gov> |
---|
| 195 | - Initial build. |
---|