maxima/maxima.spec

133 lines
3.8 KiB
RPMSpec
Raw Normal View History

Name: maxima
Version: 5.33.0
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
%dir %{_datadir}/maxima
%{_datadir}/maxima/*
%{_datadir}/pixmaps/maxima.png
%{_datadir}/applications/maxima.desktop
%{_infodir}/*
%{_mandir}/man1/maxima.1.gz
%doc AUTHORS COPYING ChangeLog INSTALL NEWS README README.external README.lisps
%doc README.rpms
%changelog
* 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