maxima/maxima.spec

175 lines
5.4 KiB
RPMSpec
Raw Normal View History

Name: maxima
Version: 5.42.1
Release: 1mamba
Summary: A sophisticated computer algebra system
Group: Graphical Desktop/Applications/Educational
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://maxima.sourceforge.net/
Source: http://downloads.sourceforge.net/sourceforge/maxima/%{name}-%{version}.tar.gz
Source1: maxima.png
Patch0: maxima-5.30.0-texinfo-5.patch
License: GPL
Requires(post):%{__install_info}
BuildRequires: clisp-devel >= 2.34
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libncurses-devel
BuildRequires: libreadline-devel
BuildRequires: libtk-devel
## AUTOBUILDREQ-END
Requires: libtk
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
A sophisticated computer algebra system.
%prep
%setup -q
#cd doc/info
#%patch0 -p1
#cd ../../
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%makeinstall
mkdir -p %{buildroot}%{_datadir}/pixmaps
install -D -m 644 %{SOURCE1} %{buildroot}%{_datadir}/pixmaps/maxima.png
# Create the system menu entry
mkdir -p %{buildroot}%{_datadir}/applications
cat > %{buildroot}%{_datadir}/applications/maxima.desktop << EOF
[Desktop Entry]
GenericName=A sophisticated computer algebra system
GenericName[de]=Computeralgebra System
GenericName[it]=algebra a livello avanzato
Comment=A sophisticated computer algebra system
Exec=/usr/bin/xmaxima
Icon=/usr/share/pixmaps/maxima.png
Terminal=1
Type=Application
Categories=Qt;KDE;Math;Education
EOF
%clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%post
%install_info maxima.info
%preun
%uninstall_info maxima.info
exit 0
%files
%defattr(-,root,root)
%{_bindir}/maxima
%{_bindir}/rmaxima
%{_bindir}/xmaxima
%{_libexecdir}/maxima/%{version}/mgnuplot
#%{_libexecdir}/maxima/%{version}/omplotdata
%{_libdir}/maxima/%{version}/binary-clisp/lisp.run
%{_libdir}/maxima/%{version}/binary-clisp/maxima.mem
%{_datadir}/applications/xmaxima.desktop
%{_datadir}/bash-completion/completions/*maxima
%{_datadir}/mime/packages/x-maxima-out.xml
%dir %{_datadir}/maxima
%{_datadir}/maxima/*
%{_datadir}/pixmaps/*.png
%{_datadir}/pixmaps/*.svg
%{_datadir}/applications/maxima.desktop
%{_datadir}/mime/packages/x-mac.xml
%{_infodir}/*
%{_mandir}/man1/maxima.1*
%doc AUTHORS COPYING
#ChangeLog INSTALL NEWS README README.external README.lisps
#%doc README.rpms
%changelog
* Wed Oct 31 2018 Automatic Build System <autodist@mambasoft.it> 5.42.1-1mamba
- automatic version update by autodist
* Fri Oct 13 2017 Automatic Build System <autodist@mambasoft.it> 5.41.0-1mamba
- automatic version update by autodist
* Tue Aug 08 2017 Automatic Build System <autodist@mambasoft.it> 5.40.0-1mamba
- automatic version update by autodist
* Tue Jun 14 2016 Automatic Build System <autodist@mambasoft.it> 5.38.1-1mamba
- automatic version update by autodist
* Sat Apr 23 2016 Automatic Build System <autodist@mambasoft.it> 5.38.0-1mamba
- automatic version update by autodist
* Thu Jan 14 2016 Automatic Build System <autodist@mambasoft.it> 5.37.3-1mamba
- automatic version update by autodist
* Thu Oct 15 2015 Automatic Build System <autodist@mambasoft.it> 5.37.2-1mamba
- automatic version update by autodist
* Thu May 21 2015 Automatic Build System <autodist@mambasoft.it> 5.36.1-1mamba
- automatic update by autodist
* Thu Apr 16 2015 Automatic Build System <autodist@mambasoft.it> 5.36.0-1mamba
- automatic update by autodist
* Wed Jan 14 2015 Automatic Build System <autodist@mambasoft.it> 5.35.1-1mamba
- automatic update by autodist
* Mon Oct 13 2014 Automatic Build System <autodist@mambasoft.it> 5.34.1-1mamba
- automatic update by autodist
* Tue Sep 16 2014 Automatic Build System <autodist@mambasoft.it> 5.34.0-1mamba
- automatic version update by autodist
* Sun Apr 13 2014 Automatic Build System <autodist@mambasoft.it> 5.33.0-1mamba
- automatic version update by autodist
* Fri Jan 31 2014 Automatic Build System <autodist@mambasoft.it> 5.32.1-1mamba
- automatic version update by autodist
* Sun Oct 06 2013 Automatic Build System <autodist@mambasoft.it> 5.31.2-1mamba
- automatic update by autodist
* Mon Jun 03 2013 Automatic Build System <autodist@mambasoft.it> 5.30.0-1mamba
- automatic version update by autodist
* Mon Jan 07 2013 Automatic Build System <autodist@mambasoft.it> 5.29.1-1mamba
- automatic version update by autodist
* Wed Aug 19 2009 Automatic Build System <autodist@mambasoft.it> 5.19.1-2mamba
- automatic rebuild by autodist
* Wed Aug 19 2009 Automatic Build System <autodist@mambasoft.it> 5.19.1-1mamba
- automatic update by autodist
* Sun Aug 09 2009 Automatic Build System <autodist@mambasoft.it> 5.19.0-1mamba
- automatic update by autodist
* Wed Jul 01 2009 Automatic Build System <autodist@mambasoft.it> 5.18.1-1mamba
- automatic update by autodist
* Mon Mar 02 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 5.17.0-1mamba
- update to 5.17.0
* Mon Jul 28 2008 gil <puntogil@libero.it> 5.15.0-1mamba
- update to 5.15.0
* Wed Nov 10 2005 Massimo Pintore <massimo.pintore@qilinux.it> 5.9.2-2qilnx
- added libtk as requires and buildrequires
* Mon Nov 07 2005 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 5.9.2-1qilnx
- update to version 5.9.2 by autospec
* Mon Sep 26 2005 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 5.9.1-2qilnx
- added desktop file
* Wed Aug 24 2005 Massimo Pintore <massimo.pintore@qilinux.it> 5.9.1-1qilnx
- package created by autospec