]> git.pld-linux.org Git - packages/maxima.git/blame - maxima.spec
- release 4 (by relup.sh)
[packages/maxima.git] / maxima.spec
CommitLineData
a486c981 1Summary: Maxima Symbolic Computation Program
8753da3b 2Summary(pl.UTF-8): Program do obliczeń symbolicznych Maxima
a486c981 3Name: maxima
5c915936 4Version: 5.31.3
c7565da6 5Release: 4
d907bd06 6Epoch: 1
a486c981 7License: GPL
8Group: Applications/Math
844772db 9Source0: http://download.sourceforge.net/maxima/%{name}-%{version}.tar.gz
5c915936 10# Source0-md5: 02b3b089b6a5581c410f3dcc57bfdde8
3831be7f 11Source1: x%{name}.desktop
29fde64e 12Source2: %{name}-mode-init.el
7189a287 13Patch0: %{name}-info.patch
a51927e1 14Patch1: %{name}-missed-files.patch
27ecc881 15Patch2: %{name}-posix.patch
88f300a0
KK
16Patch3: x%{name}-doc.patch
17Patch4: %{name}-install.patch
da1eff4f 18Patch5: %{name}-info-compressed.patch
3a9b294c 19URL: http://maxima.sourceforge.net/
a486c981 20BuildRequires: autoconf
21BuildRequires: automake
22BuildRequires: clisp
29fde64e 23BuildRequires: emacs
a51927e1
KK
24BuildRequires: perl-base
25BuildRequires: python
7189a287 26BuildRequires: texinfo
8918acd0 27%requires_eq clisp
da1eff4f 28Requires: gzip
dca43053 29Suggests: gnuplot
a486c981 30BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32%description
33Maxima is a full symbolic computation program. It is full featured
34doing symbolic manipulation of polynomials, matrices, rational
35functions, integration, Todd-coxeter, graphing, bigfloats. It has a
36symbolic debugger source level debugger for maxima code. Maxima is
37based on the original Macsyma developed at MIT in the 1970's. It is
38quite reliable, and has good garbage collection, and no memory leaks.
39It comes with hundreds of self tests. William Schelter at University
40of Texas, has been responsible for development since the mid 1980's.
41See http://www.ma.utexas.edu/maxima.html for more information. He has
42recently been able to get DOE to allow him to distribute Maxima under
43the GPL.
44
abdbe5c9
JR
45%description -l pl.UTF-8
46Maxima jest pakietem do pełnych obliczeń matematycznych. Ma duże
47możliwości symbolicznych obliczeń na wielomianach, macierzach,
48funkcjach wymiernych, całkowania, stosowania metody Todda-Coxetera,
49rysowania, obliczeń na wielkich liczbach. Posiada symboliczny debugger
50kodu źródłowego w maximie. Maxima bazuje na oryginalnej Macsyma
51utworzonej w MIT w roku 1970. Ma dobrą obsługę błędów, nie ma wycieków
52pamięci. Przychodzi z setkami testów. Od połowy lat 80-tych za rozwój
53projektu odpowiada William Schelter z University of Texas. Więcej
3a9b294c 54informacji na stronie http://www.ma.utexas.edu/maxima.html. Ostatnio
abdbe5c9 55udało mu się uzyskać pozwolenie DOE na opublikowanie Maximy na
3a9b294c 56licencji GPL.
a486c981 57
d73f5fe5 58%package xmaxima
9856ac96
JB
59Summary: Tcl/Tk GUI interface for Maxima
60Summary(pl.UTF-8): Graficzny interfejs Tcl/Tk dla Maximy
d73f5fe5
KK
61Group: Applications/Math
62Requires: %{name} = %{epoch}:%{version}-%{release}
63Requires: tk
64
65%description xmaxima
66Tcl/Tk GUI interface for maxima.
67
9856ac96
JB
68%description xmaxima -l pl.UTF-8
69Graficzny interfejs Tcl/Tk dla Maximy.
70
88f300a0
KK
71%package src
72Summary: Maxima lisp source code
73Summary(pl.UTF-8): Pliki źródłowe Maximy
74Group: Development
75
76%description src
77Maxima lisp source code.
78
79%description src -l pl.UTF-8
80Pliki źródłowe Maximy.
81
82%package doc
83Summary: Maxima documentation
84Summary(pl.UTF-8): Dokumentacja dla Maximy
85Group: Documentation
86
87%description doc
88Maxima documentation.
89
90%description doc -l pl.UTF-8
91Dokumentacja dla Maximy.
92
0fb92146 93%package -n emacs-maxima-pkg
29fde64e
KK
94Summary: Emacs mode for Maxima
95Summary(pl.UTF-8): Tryb Maximy dla Emacsa
96Group: Applications/Math
97Requires: emacs-common
98
0fb92146 99%description -n emacs-maxima-pkg
29fde64e
KK
100Emacs mode files for Maxima.
101
0fb92146 102%description -n emacs-maxima-pkg -l pl.UTF-8
29fde64e
KK
103Tryb Maximy dla Emacsa.
104
a486c981 105%prep
a486c981 106%setup -q
2c2b83f1 107# %patch0 -p1
a51927e1 108%patch1 -p1
a78f7303 109touch doc/info/{maximahtml.mk,category-macros.texi} src/{clisp,cmucl,gcl}-depends.mk
a486c981 110
27ecc881 111%patch2 -p1
88f300a0 112%patch3 -p1
8aad2b3a 113%patch4 -p1
114%patch5 -p1
27ecc881 115
a486c981 116%build
117%{__aclocal}
118%{__automake}
119%{__autoconf}
b6298b99 120%configure \
121 --enable-clisp
a486c981 122
123%{__make}
124
125%install
126rm -rf $RPM_BUILD_ROOT
29fde64e 127install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir},%{_emacs_lispdir}/{,site-start.d}}
3831be7f 128
d907bd06 129%{__make} install \
130 DESTDIR=$RPM_BUILD_ROOT
131
132rm -f $RPM_BUILD_ROOT%{_infodir}/dir*
3831be7f 133install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
a0084a23 134cp -f $RPM_BUILD_ROOT%{_datadir}/%{name}/%{version}/xmaxima/%{name}-icon.png \
9856ac96 135 $RPM_BUILD_ROOT%{_pixmapsdir}
a486c981 136
29fde64e
KK
137mv $RPM_BUILD_ROOT%{_datadir}/%{name}/%version/emacs $RPM_BUILD_ROOT%{_emacs_lispdir}/%{name}
138install %{SOURCE2} $RPM_BUILD_ROOT%{_emacs_lispdir}/site-start.d
139
a486c981 140%clean
141rm -rf $RPM_BUILD_ROOT
142
9856ac96 143%post -p /sbin/postshell
b8fe1c77 144-/usr/sbin/fix-info-dir -c %{_infodir}
7189a287 145
9856ac96 146%postun -p /sbin/postshell
b8fe1c77 147-/usr/sbin/fix-info-dir -c %{_infodir}
7189a287 148
a34cc624
ER
149%post xmaxima -p /sbin/postshell
150-/usr/sbin/fix-info-dir -c %{_infodir}
151
152%postun xmaxima -p /sbin/postshell
153-/usr/sbin/fix-info-dir -c %{_infodir}
154
88f300a0
KK
155%triggerin doc -- %{name} = %{epoch}:%{version}
156if [ -d %{_docdir}/%{name}-doc-%{version} ]; then
1d552e05 157 ln -snf %{_docdir}/%{name}-doc-%{version} %{_datadir}/%{name}/%{version}/doc
88f300a0
KK
158fi
159
160%triggerun doc -- %{name} = %{epoch}:%{version}
161rm %{_datadir}/%{name}/%{version}/doc || :
162
163%triggerpostun doc -- %{name} = %{epoch}:%{version}
164if [ -d %{_docdir}/%{name}-doc-%{version} -a \
1d552e05
TP
165 -d %{_datadir}/%{name}/%{version} ]; then
166 ln -snf %{_docdir}/%{name}-doc-%{version} %{_datadir}/%{name}/%{version}/doc
88f300a0
KK
167fi
168
a486c981 169%files
170%defattr(644,root,root,755)
3a9b294c 171%doc ChangeLog README
d73f5fe5
KK
172%attr(755,root,root) %{_bindir}/maxima
173%attr(755,root,root) %{_bindir}/rmaxima
a486c981 174%attr(755,root,root) %{_libdir}/%{name}
d73f5fe5
KK
175%dir %{_datadir}/%{name}
176%dir %{_datadir}/%{name}/%{version}
88f300a0 177%{_datadir}/%{name}/%{version}/demo
88f300a0
KK
178%{_datadir}/%{name}/%{version}/share
179%{_datadir}/%{name}/%{version}/tests
3a9b294c 180%{_mandir}/man?/*
7189a287 181%{_infodir}/maxima.info*
da1eff4f 182%{_infodir}/maxima-index.lisp
20be5205 183%{_infodir}/imaxima.info*
d73f5fe5
KK
184
185%files xmaxima
186%defattr(644,root,root,755)
187%attr(755,root,root) %{_bindir}/xmaxima
188%{_datadir}/maxima/%{version}/xmaxima
189%{_desktopdir}/*.desktop
a5afb6de 190%{_infodir}/xmaxima.info*
d73f5fe5 191%{_pixmapsdir}/*
88f300a0 192
0fb92146 193%files -n emacs-maxima-pkg
29fde64e
KK
194%defattr(644,root,root,755)
195%{_emacs_lispdir}/%{name}
196%{_emacs_lispdir}/site-start.d/%{name}-mode-init.el
197
88f300a0
KK
198%files doc
199%defattr(644,root,root,755)
200%{_docdir}/%{name}-doc-%{version}
201
202%files src
203%defattr(644,root,root,755)
204%{_usrsrc}/maxima-%{version}
This page took 0.113065 seconds and 4 git commands to generate.