[packages/jacal] - new
qboosh
qboosh at pld-linux.org
Mon Apr 21 10:38:05 CEST 2014
commit d66162b7a1087feb49441312c21c236352a76fa3
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Mon Apr 21 10:40:07 2014 +0200
- new
jacal-info.patch | 14 +++++++++++
jacal-texinfo.patch | 72 +++++++++++++++++++++++++++++++++++++++++++++++++++++
jacal.spec | 66 ++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 152 insertions(+)
---
diff --git a/jacal.spec b/jacal.spec
new file mode 100644
index 0000000..fd173df
--- /dev/null
+++ b/jacal.spec
@@ -0,0 +1,66 @@
+Summary: Jacal - symbolic mathematics system written in Scheme
+Summary(pl.UTF-8): Jacal - system matematyki symbolicznej napisany w Scheme
+Name: jacal
+Version: 1c3
+Release: 1
+License: LGPL v3+
+Group: Development/Languages/Scheme
+Source0: http://groups.csail.mit.edu/mac/ftpdir/scm/%{name}-%{version}.zip
+# Source0-md5: 8c64148775f8048c1013162cac607352
+Patch0: %{name}-info.patch
+Patch1: %{name}-texinfo.patch
+URL: http://people.csail.mit.edu/jaffer/JACAL
+BuildRequires: texinfo
+Requires: scm
+Requires: slib
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Jacal is a symbolic mathematics system written in the programming
+language Scheme.
+
+%description -l pl.UTF-8
+Jacal to system matematyki symbolicznej napisany w języku
+programowania Scheme.
+
+%prep
+%setup -q -n jacal
+%patch0 -p1
+%patch1 -p1
+
+%build
+# not autoconf-generated
+./configure \
+ --prefix=%{_prefix} \
+ --libdir=%{_libdir}
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/jacal/Makefile
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
+
+%postun -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
+
+%files
+%defattr(644,root,root,755)
+%doc ANNOUNCE ChangeLog README DOC/{algdenom,grammar,history,lambda,ratint.pdf}
+%attr(755,root,root) %{_bindir}/jacal
+%dir %{_libdir}/jacal
+%{_libdir}/jacal/*.scm
+%{_libdir}/jacal/jacalcat
+%{_libdir}/jacal/COPYING
+%{_libdir}/jacal/HELP
+%{_mandir}/man1/jacal.1*
+%{_infodir}/jacal.info*
diff --git a/jacal-info.patch b/jacal-info.patch
new file mode 100644
index 0000000..dc2e81d
--- /dev/null
+++ b/jacal-info.patch
@@ -0,0 +1,14 @@
+--- jacal/jacal.texi.orig 2013-05-15 04:40:46.000000000 +0200
++++ jacal/jacal.texi 2014-04-21 10:03:14.795931395 +0200
+@@ -30,9 +30,9 @@
+ @end copying
+
+
+- at dircategory Mathematics
++ at dircategory Mathematics:
+ @direntry
+-* Jacal: (jacal). Interactive Symbolic Mathematics.
++* Jacal: (jacal). Interactive Symbolic Mathematics
+ @end direntry
+
+ @iftex
diff --git a/jacal-texinfo.patch b/jacal-texinfo.patch
new file mode 100644
index 0000000..4cf5684
--- /dev/null
+++ b/jacal-texinfo.patch
@@ -0,0 +1,72 @@
+--- jacal/jacal.texi.orig 2014-04-21 10:03:14.795931395 +0200
++++ jacal/jacal.texi 2014-04-21 10:06:35.049260552 +0200
+@@ -675,8 +675,9 @@
+ e1: ---------
+ a
+ @end example
++ at end deffn
+
+- at deffnx Command suchthat var exp
++ at deffn Command suchthat var exp
+
+ If an expression rather than an equation is given to @code{suchthat}, it
+ is as though the equation @code{@var{exp}=0} was given.
+@@ -688,8 +689,9 @@
+ e2: ---------
+ a
+ @end example
++ at end deffn
+
+- at deffnx Operator | var exp_or_eqn
++ at deffn Operator | var exp_or_eqn
+
+ An alternative infix notation is also available for @code{suchthat}.
+
+@@ -857,8 +859,9 @@
+
+ Returns the degree of polynomial or equation @var{poly} in variable
+ @var{var}.
++ at end deffn
+
+- at deffnx Operator degree poly
++ at deffn Operator degree poly
+
+ Returns the total-degree, the degree of its highest degree monomial,
+ of polynomial or equation @var{poly}.
+@@ -1016,10 +1019,12 @@
+ Returns @var{poly1} reduced with respect to @var{poly2} (or @var{eqn})
+ and @var{var}. If @var{poly2} is univariate, the third argument is not
+ needed.
++ at end deffn
+
+- at deffnx Command mod poly1 n
++ at deffn Command mod poly1 n
+ Returns @var{poly1} with all the coefficients taken modulo @var{n}.
+- at deffnx Command mod poly1
++ at end deffn
++ at deffn Command mod poly1
+ Returns @var{poly1} with all the coefficients taken modulo the
+ current modulus.
+
+@@ -1220,8 +1225,9 @@
+ e1: -1 2 3 5
+ @end group
+ @end example
++ at end deffn
+
+- at deffnx Command factor polyratio
++ at deffn Command factor polyratio
+ Given a univariate ratio of polynomials @var{polyratio}, returns a
+ matrix of factors and exponents.
+
+@@ -2464,8 +2470,9 @@
+ If you do not wish to return to Jacal but really want to terminate the
+ session and return to the operating system, then after typing
+ @code{qed();}, type @code{(slib:exit)} or use @code{quit}.
++ at end deffn
+
+- at deffnx Command quit
++ at deffn Command quit
+ Exit directly from Jacal to the operating system. You will not be able
+ to continue your Jacal session.
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/jacal.git/commitdiff/d66162b7a1087feb49441312c21c236352a76fa3
More information about the pld-cvs-commit
mailing list