diff --git a/README.md b/README.md index f95df61..2aca75f 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,5 @@ # yacas -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. +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. It supports arbitrary precision arithmetic. diff --git a/yacas.spec b/yacas.spec index a8399c4..5b834fb 100644 --- a/yacas.spec +++ b/yacas.spec @@ -1,24 +1,36 @@ Name: yacas -Version: 1.3.6 +Version: 1.9.1 Release: 1mamba Summary: A general purpose easy to use Computer Algebra System Group: Graphical Desktop/Applications/Educational Vendor: openmamba Distribution: openmamba -Packager: Tiziana Ferro +Packager: Silvan Calarco 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 License: GPL -Requires(post):%{__install_info} -Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} -BuildRoot: %{_tmppath}/%{name}-%{version}-root +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +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: python-sphinxcontrib_bibtex-py3 +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} %description -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. +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. It supports arbitrary precision arithmetic. %package -n lib%{name} @@ -34,85 +46,54 @@ Group: Development/Libraries Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} %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 %setup -q %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 %install [ "%{buildroot}" != / ] && rm -rf %{buildroot} -%makeinstall DESTDIR="%{buildroot}" - -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 +%makeinstall -C build %clean [ "%{buildroot}" != / ] && rm -rf %{buildroot} -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig - %files %defattr(-,root,root) %{_bindir}/%{name}* -%{_bindir}/ytxt2tex -%{_datadir}/%{name} -%{_datadir}/applications/%{name}.desktop -%{_datadir}/pixmaps/yacaslogo.xpm +%dir %{_datadir}/%{name} +%{_datadir}/%{name}/* +%{_datadir}/applications/yacas-gui.desktop +%{_datadir}/icons/hicolor/*/apps/yacas-gui.png +%{_datadir}/pixmaps/yacas-gui.png %files -n lib%{name} %defattr(-,root,root) -%{_libdir}/libyacas.so.* +%{_libdir}/libyacas.so +%{_libdir}/libyacas_mp.so %doc AUTHORS COPYING %files -n lib%{name}-devel %defattr(-,root,root) %dir %{_includedir}/%{name} %{_includedir}/%{name}/* -%{_libdir}/libyacas.a -%{_libdir}/libyacas.la -%{_libdir}/libyacas.so -%dir %{_datadir}/doc/yacas -%{_datadir}/doc/yacas/* -%doc NEWS %changelog +* Thu Dec 30 2021 Silvan Calarco 1.9.1-1mamba +- update to 1.9.1 + * Fri Jan 02 2015 Automatic Build System 1.3.6-1mamba - automatic update by autodist