]> git.pld-linux.org Git - packages/jacal.git/commitdiff
- new
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 21 Apr 2014 08:40:07 +0000 (10:40 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Mon, 21 Apr 2014 08:40:07 +0000 (10:40 +0200)
jacal-info.patch [new file with mode: 0644]
jacal-texinfo.patch [new file with mode: 0644]
jacal.spec [new file with mode: 0644]

diff --git a/jacal-info.patch b/jacal-info.patch
new file mode 100644 (file)
index 0000000..dc2e81d
--- /dev/null
@@ -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
+-@dircategory Mathematics
++@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 (file)
index 0000000..4cf5684
--- /dev/null
@@ -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
++@end deffn
+-@deffnx Command suchthat var exp
++@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
++@end deffn
+-@deffnx Operator | var exp_or_eqn
++@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}.
++@end deffn
+-@deffnx Operator degree poly
++@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.
++@end deffn
+-@deffnx Command mod poly1 n
++@deffn Command mod poly1 n
+ Returns @var{poly1} with all the coefficients taken modulo @var{n}.
+-@deffnx Command mod poly1
++@end deffn
++@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
++@end deffn
+-@deffnx Command factor polyratio
++@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}.
++@end deffn
+-@deffnx Command quit
++@deffn Command quit
+ Exit directly from Jacal to the operating system.  You will not be able
+ to continue your Jacal session.
diff --git a/jacal.spec b/jacal.spec
new file mode 100644 (file)
index 0000000..fd173df
--- /dev/null
@@ -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*
This page took 0.091123 seconds and 4 git commands to generate.