update to 1.9.1 [release 1.9.1-1mamba;Thu Dec 30 2021]

This commit is contained in:
Silvan Calarco 2024-12-13 10:54:06 +01:00
parent 7ba6b94e9c
commit ba6fe25df9
2 changed files with 43 additions and 64 deletions

View File

@ -1,7 +1,5 @@
# yacas # yacas
Yacas (Yet Another Computer Algebra System) is a small and highly flexible computer algebra language. The syntax uses a infix-operator Yacas (Yet Another Computer Algebra System) is a small and highly flexible computer algebra language. The syntax uses a infix-operator grammar parser. The distribution contains a small library of mathematical functions, but its real strength is in the language in which you can easily write your own symbolic manipulation algorithms.
grammar parser. The distribution contains a small library of mathematical functions, but its real strength is in the language in
which you can easily write your own symbolic manipulation algorithms.
It supports arbitrary precision arithmetic. It supports arbitrary precision arithmetic.

View File

@ -1,24 +1,36 @@
Name: yacas Name: yacas
Version: 1.3.6 Version: 1.9.1
Release: 1mamba Release: 1mamba
Summary: A general purpose easy to use Computer Algebra System Summary: A general purpose easy to use Computer Algebra System
Group: Graphical Desktop/Applications/Educational Group: Graphical Desktop/Applications/Educational
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Tiziana Ferro <tiziana.ferro@email.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://yacas.sourceforge.net URL: http://yacas.sourceforge.net
Source: http://yacas.sourceforge.net/backups/%{name}-%{version}.tar.gz Source: https://github.com/grzegorzmazur/yacas.git/v%{version}/yacas-%{version}.tar.bz2
Source1: yacaslogo.xpm Source1: yacaslogo.xpm
License: GPL License: GPL
Requires(post):%{__install_info} ## AUTOBUILDREQ-BEGIN
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} BuildRequires: glibc-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: libQt5Core
BuildRequires: libQt5Gui
BuildRequires: libQt5Network
BuildRequires: libQt5Positioning-devel
BuildRequires: libQt5PrintSupport
BuildRequires: libQt5Svg-devel
BuildRequires: libQt5WebChannel-devel
BuildRequires: libQt5WebEngine-devel
BuildRequires: libQt5Widgets
BuildRequires: libgcc
BuildRequires: libstdc++6-devel
BuildRequires: qt5-qtdeclarative-devel
## AUTOBUILDREQ-END
BuildRequires: gawk BuildRequires: gawk
BuildRequires: python-sphinxcontrib_bibtex-py3
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description %description
Yacas (Yet Another Computer Algebra System) is a small and highly flexible computer algebra language. The syntax uses a infix-operator Yacas (Yet Another Computer Algebra System) is a small and highly flexible computer algebra language. The syntax uses a infix-operator grammar parser. The distribution contains a small library of mathematical functions, but its real strength is in the language in which you can easily write your own symbolic manipulation algorithms.
grammar parser. The distribution contains a small library of mathematical functions, but its real strength is in the language in
which you can easily write your own symbolic manipulation algorithms.
It supports arbitrary precision arithmetic. It supports arbitrary precision arithmetic.
%package -n lib%{name} %package -n lib%{name}
@ -34,85 +46,54 @@ Group: Development/Libraries
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name}-devel %description -n lib%{name}-devel
This package contains static libraries and header files need for development. This package contains static libraries and header files needed for development.
%prep %prep
%setup -q %setup -q
%build %build
%configure %cmake -d build \
-DENABLE_CYACAS_CONSOLE=ON \
-DENABLE_CYACAS_GUI=ON \
-DENABLE_CYACAS_UNIT_TESTS=OFF \
-DENABLE_CYACAS_BENCHMARKS=OFF \
-DENABLE_JYACAS=OFF \
-DENABLE_DOCS=OFF \
-DENABLE_CYACAS_KERNEL=OFF
%make %make
%install %install
[ "%{buildroot}" != / ] && rm -rf %{buildroot} [ "%{buildroot}" != / ] && rm -rf %{buildroot}
%makeinstall DESTDIR="%{buildroot}" %makeinstall -C build
mkdir -p %{buildroot}%{_datadir}/pixmaps
install -D -m 644 %{SOURCE1} %{buildroot}%{_datadir}/pixmaps/yacaslogo.xpm
# Create the system menu entry
mkdir -p %{buildroot}%{_datadir}/applications
cat > %{buildroot}%{_datadir}/applications/yacas.desktop << EOF
[Desktop Entry]
Encoding=UTF-8
Name=Yacas
GenericName=Computer Algebra System
Comment=Yacas is a general purpose easy to use Computer Algebra System]=
Comment[it]=Yacas è un Computer Algebra System (CAS) in grado di eseguire calcoli numerici, simbolici, grafici e altre operazioni correlate.
Exec=yacas
Icon=yacaslogo.xpm
StartupNotify=true
Terminal=true
Type=Application
Categories=Education;Math;
EOF
# install documentation
%{__install} -d -m755 %buildroot/%{_defaultdocdir}/%{name}/{documentation,ps,pdf}
%{__install} -m644 AUTHORS COPYING ChangeLog INSTALL README* TODO %buildroot/%{_defaultdocdir}/%{name}
test -f %buildroot/%{_defaultdocdir}/%{name}/README.Win32 && %{__rm} %buildroot/%{_defaultdocdir}/%{name}/README.Win32
#%{__install} -m644 manmake/*.pdf %buildroot/%{_defaultdocdir}/%{name}/pdf
test -d %{_builddir}/%name-%version/YacasNotebook && cp -a %{_builddir}/%name-%version/YacasNotebook %buildroot/%{_defaultdocdir}/%{name}/
#
# put all documentation to %{_defaultdocdir} and create a symlink for the tools
#
#%{__rm} %buildroot/%{_datadir}/%{name}/documentation/yacaslogo.gif
#%{__mv} %buildroot/%{_datadir}/%{name}/documentation/hints \
# %{buildroot}/%{_defaultdocdir}/%{name}/documentation/
#%{__ln_s} %{_defaultdocdir}/%{name}/documentation \
# %buildroot/%{_datadir}/%{name}/documentation
%clean %clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot} [ "%{buildroot}" != / ] && rm -rf %{buildroot}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/%{name}* %{_bindir}/%{name}*
%{_bindir}/ytxt2tex %dir %{_datadir}/%{name}
%{_datadir}/%{name} %{_datadir}/%{name}/*
%{_datadir}/applications/%{name}.desktop %{_datadir}/applications/yacas-gui.desktop
%{_datadir}/pixmaps/yacaslogo.xpm %{_datadir}/icons/hicolor/*/apps/yacas-gui.png
%{_datadir}/pixmaps/yacas-gui.png
%files -n lib%{name} %files -n lib%{name}
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libyacas.so.* %{_libdir}/libyacas.so
%{_libdir}/libyacas_mp.so
%doc AUTHORS COPYING %doc AUTHORS COPYING
%files -n lib%{name}-devel %files -n lib%{name}-devel
%defattr(-,root,root) %defattr(-,root,root)
%dir %{_includedir}/%{name} %dir %{_includedir}/%{name}
%{_includedir}/%{name}/* %{_includedir}/%{name}/*
%{_libdir}/libyacas.a
%{_libdir}/libyacas.la
%{_libdir}/libyacas.so
%dir %{_datadir}/doc/yacas
%{_datadir}/doc/yacas/*
%doc NEWS
%changelog %changelog
* Thu Dec 30 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.1-1mamba
- update to 1.9.1
* Fri Jan 02 2015 Automatic Build System <autodist@mambasoft.it> 1.3.6-1mamba * Fri Jan 02 2015 Automatic Build System <autodist@mambasoft.it> 1.3.6-1mamba
- automatic update by autodist - automatic update by autodist