|
@@ -13,17 +13,35 @@ Summary: Maxima Symbolic Computation Program
|
|
|
Summary(ja): 数式処理プログラム Maxima
|
|
|
Name: maxima
|
|
|
Version: 5.38.1
|
|
|
-Release: 1%{?_dist_release}
|
|
|
+Release: 2%{?_dist_release}
|
|
|
+
|
|
|
License: GPL
|
|
|
-Group: Applications/Engineering
|
|
|
-URL: http://maxima.sourceforge.net
|
|
|
+Group: Applications/Engineering
|
|
|
+URL: http://maxima.sourceforge.net
|
|
|
Source0: %{name}-%{version}.tar.gz
|
|
|
+
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
-Requires: maxima_exec = %{version}-%{release}
|
|
|
+
|
|
|
+# Requires: maxima_exec = %{version}-%{release}
|
|
|
+%if %{enable_clisp}
|
|
|
+BuildRequires: clisp
|
|
|
+Requires: clisp
|
|
|
+%endif
|
|
|
+%if %{enable_sbcl}
|
|
|
+BuildRequires: sbcl
|
|
|
+Requires: sbcl
|
|
|
+%endif
|
|
|
BuildRequires: texinfo
|
|
|
Requires(post): /sbin/install-info
|
|
|
Requires(preun): /sbin/install-info
|
|
|
|
|
|
+Obsoletes: %{name}-exec-clisp
|
|
|
+Obsoletes: %{name}-exec-sbcl
|
|
|
+
|
|
|
+Vendor: Project Vine
|
|
|
+Distribution: Vine Linux
|
|
|
+
|
|
|
+
|
|
|
%description
|
|
|
Maxima is a full symbolic computation program. It is full featured
|
|
|
doing symbolic manipulation of polynomials, matrices, rational
|
|
@@ -62,33 +80,33 @@ Provides: xmaxima
|
|
|
%description xmaxima
|
|
|
Tcl/Tk interface to Maxima.
|
|
|
|
|
|
-%if %{enable_clisp}
|
|
|
-%package exec-clisp
|
|
|
-Summary: Maxima compiled with clisp
|
|
|
-Group: Applications/Engineering
|
|
|
-BuildRequires: clisp
|
|
|
-Requires: clisp
|
|
|
-Provides: maxima_exec
|
|
|
-Obsoletes: %{name}-exec-sbcl
|
|
|
-%description exec-clisp
|
|
|
-Maxima compiled with clisp.
|
|
|
-%endif
|
|
|
-
|
|
|
-%if %{enable_sbcl}
|
|
|
-%package exec-sbcl
|
|
|
-Summary: Maxima compiled with SBCL
|
|
|
-Group: Applications/Engineering
|
|
|
-BuildRequires: sbcl
|
|
|
-Requires: sbcl
|
|
|
-Provides: maxima_exec
|
|
|
-Obsoletes: %{name}-exec-clisp
|
|
|
-%description exec-sbcl
|
|
|
-Maxima compiled with SBCL.
|
|
|
-%endif
|
|
|
+# %if %{enable_clisp}
|
|
|
+# %package exec-clisp
|
|
|
+# Summary: Maxima compiled with clisp
|
|
|
+# Group: Applications/Engineering
|
|
|
+# BuildRequires: clisp
|
|
|
+# Requires: clisp
|
|
|
+# Provides: maxima_exec
|
|
|
+# Obsoletes: %{name}-exec-sbcl
|
|
|
+# %description exec-clisp
|
|
|
+# Maxima compiled with clisp.
|
|
|
+# %endif
|
|
|
+
|
|
|
+# %if %{enable_sbcl}
|
|
|
+# %package exec-sbcl
|
|
|
+# Summary: Maxima compiled with SBCL
|
|
|
+# Group: Applications/Engineering
|
|
|
+# BuildRequires: sbcl
|
|
|
+# Requires: sbcl
|
|
|
+# Provides: maxima_exec
|
|
|
+# Obsoletes: %{name}-exec-clisp
|
|
|
+# %description exec-sbcl
|
|
|
+# Maxima compiled with SBCL.
|
|
|
+# %endif
|
|
|
|
|
|
%prep
|
|
|
%setup -q
|
|
|
-%configure \
|
|
|
+%{configure} \
|
|
|
%if %{enable_clisp}
|
|
|
--enable-clisp \
|
|
|
%endif
|
|
@@ -98,50 +116,53 @@ Maxima compiled with SBCL.
|
|
|
;
|
|
|
|
|
|
%build
|
|
|
-%__make %{?_smp_mflags}
|
|
|
+%{__make} %{?_smp_mflags}
|
|
|
|
|
|
%install
|
|
|
-%__rm -rf %{buildroot}
|
|
|
-%makeinstall
|
|
|
+%{__rm} -rf %{buildroot}
|
|
|
+%{makeinstall}
|
|
|
|
|
|
-rm -f $RPM_BUILD_ROOT%{_infodir}/dir
|
|
|
+%{__rm} -f $RPM_BUILD_ROOT%{_infodir}/dir
|
|
|
|
|
|
%post
|
|
|
/sbin/install-info %{_infodir}/maxima.info %{_infodir}/dir
|
|
|
|
|
|
%preun
|
|
|
if [ "$1" = 0 ]; then
|
|
|
- /sbin/install-info --delete %{_infodir}/maxima.info %{_infodir}/dir
|
|
|
+ /sbin/install-info --delete %{_infodir}/maxima.info %{_infodir}/dir
|
|
|
fi
|
|
|
|
|
|
%clean
|
|
|
-%__rm -rf %{buildroot}
|
|
|
+%{__rm} -rf %{buildroot}
|
|
|
+
|
|
|
|
|
|
%files
|
|
|
%defattr(-,root,root,-)
|
|
|
-%{_datadir}/maxima/%{version}
|
|
|
-%dir %{_libdir}/maxima/%{version}
|
|
|
-%{_libexecdir}/maxima/%{version}
|
|
|
-%{_infodir}/*
|
|
|
-%{_mandir}/man1/*
|
|
|
-%{_bindir}/*
|
|
|
%doc AUTHORS COPYING ChangeLog INSTALL* NEWS README*
|
|
|
-
|
|
|
-%files xmaxima
|
|
|
-%{_bindir}/xmaxima
|
|
|
-
|
|
|
+%{_bindir}/maxima
|
|
|
+%{_bindir}/rmaxima
|
|
|
+%dir %{_libdir}/maxima/%{version}
|
|
|
%if %{enable_clisp}
|
|
|
-%files exec-clisp
|
|
|
%{_libdir}/maxima/%{version}/binary-clisp
|
|
|
%endif
|
|
|
-
|
|
|
%if %{enable_sbcl}
|
|
|
-%files exec-sbcl
|
|
|
%{_libdir}/maxima/%{version}/binary-sbcl
|
|
|
%endif
|
|
|
+%{_libexecdir}/maxima/%{version}
|
|
|
+%{_datadir}/maxima/%{version}
|
|
|
+%{_datadir}/mime/packages/*
|
|
|
+%{_mandir}/man1/*
|
|
|
+%{_infodir}/*
|
|
|
+
|
|
|
+%files xmaxima
|
|
|
+%{_bindir}/xmaxima
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
+* Sat Nov 05 2016 Toshiaki Ara <ara_t@384.jp> 5.38.1-2
|
|
|
+- delete maxima-exec-{clisp,sbcl} subpackages
|
|
|
+- add Vendor and Distribution
|
|
|
+
|
|
|
* Sat Nov 05 2016 Toshiaki Ara <ara_t@384.jp> 5.38.1-1
|
|
|
- New upstream release
|
|
|
- add build option (SBCL)
|