### File yacas.spec of Package yacas

# -*- rpm-spec -*- # # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # norootforbuild # Name: yacas Version: 1.9.1 Release: 1%{?dist} Summary: Easy to use, general purpose computer algebra system %if 0%{?suse_version} Group: Productivity/Scientific/Math %else Group: Applications/Engineering %endif %if 0%{?suse_version} License: LGPL-2.0+ %else License: LGPLv2+ %endif URL: http://www.yacas.org Source: yacas-%{version}.tar.gz %if 0%{?suse_version} BuildRequires: cmake gcc-c++ python3-Sphinx python-sphinx_rtd_theme libqt5-qtsvg-devel libqt5-qtwebengine-devel libQt5PrintSupport-devel %else BuildRequires: cmake gcc-c++ python-sphinx python-sphinx_rtd_theme qt5-qtwebengine-devel qt5-qtsvg-devel %endif %description Yacas is an easy to use, general purpose Computer Algebra System, a program for symbolic manipulation of mathematical expressions. It uses its own programming language designed for symbolic as well as arbitrary-precision numerical computations. The system has a library of scripts that implement many of the symbolic algebra operations; new algorithms can be easily added to the library. Yacas comes with extensive documentation covering the scripting language, the functionality that is already implemented in the system and the algorithms used. %prep %setup -q %build cmake -DCMAKE_BUILD_TYPE=Release -DENABLE_DOCS=OFF -DENABLE_CYACAS_KERNEL=OFF -DCMAKE_INSTALL_PREFIX=%{_prefix} . %{__make} %{?_smp_mflags} %check %{__make} test %install %{__make} DESTDIR=%{buildroot} install %clean rm -rf %{buildroot} %package console Summary: Yacas text console %if 0%{?suse_version} Group: Productivity/Scientific/Math %else Group: Applications/Engineering %endif %description console Yacas is an easy to use, general purpose Computer Algebra System, a program for symbolic manipulation of mathematical expressions. It uses its own programming language designed for symbolic as well as arbitrary-precision numerical computations. The system has a library of scripts that implement many of the symbolic algebra operations; new algorithms can be easily added to the library. Yacas comes with extensive documentation covering the scripting language, the functionality that is already implemented in the system and the algorithms used. %files console %defattr(-,root,root,-) "%{_bindir}/yacas" %dir "%{_datadir}/yacas" %dir "%{_datadir}/yacas/scripts" "%{_datadir}/yacas/scripts/*" %dir "%{_datadir}/yacas/tests" "%{_datadir}/yacas/tests/*" %package gui Summary: Yacas GUI %if 0%{?suse_version} Group: Productivity/Scientific/Math %else Group: Applications/Engineering %endif Requires: yacas-console = %{version} %description gui Graphical User Interface for yacas. Yacas is an easy to use, general purpose Computer Algebra System, a program for symbolic manipulation of mathematical expressions. It uses its own programming language designed for symbolic as well as arbitrary-precision numerical computations. The system has a library of scripts that implement many of the symbolic algebra operations; new algorithms can be easily added to the library. Yacas comes with extensive documentation covering the scripting language, the functionality that is already implemented in the system and the algorithms used. %files gui %defattr(-,root,root,-) "%{_bindir}/yacas-gui" %dir "%{_datadir}/yacas/resources" "%{_datadir}/yacas/resources/*" "%{_datadir}/icons/*" %dir "%{_datadir}/pixmaps" "%{_datadir}/pixmaps/*" "%{_datadir}/applications/yacas-gui.desktop" # %%package doc # Summary: Yacas documentation # %%if 0%%{?suse_version} # Group: Documentation/HTML # %%else # Group: Documentation # %%endif # %%description doc # Yacas documentation. Yacas is an easy to use, general purpose Computer # Algebra System, a program for symbolic manipulation of mathematical # expressions. It uses its own programming language designed for # symbolic as well as arbitrary-precision numerical computations. The # system has a library of scripts that implement many of the symbolic # algebra operations; new algorithms can be easily added to the # library. Yacas comes with extensive documentation covering the # scripting language, the functionality that is already implemented in # the system and the algorithms used. # %%files doc # %%defattr(-,root,root,-) # "/usr/share/man/man1/yacas.1.gz" # %%dir "/usr/share/yacas/documentation" # %%dir "/usr/share/yacas/documentation/singlehtml" # %%docdir "/usr/share/yacas/documentation/singlehtml" # "/usr/share/yacas/documentation/singlehtml/*" %package devel Summary: Yacas development files %if 0%{?suse_version} Group: Development/Libraries/C and C++ %else Group: Development/Libraries %endif Requires: yacas-console = %{version} %description devel Header files and libraries necessary for yacas development. Yacas is an easy to use, general purpose Computer Algebra System, a program for symbolic manipulation of mathematical expressions. It uses its own programming language designed for symbolic as well as arbitrary-precision numerical computations. The system has a library of scripts that implement many of the symbolic algebra operations; new algorithms can be easily added to the library. Yacas comes with extensive documentation covering the scripting language, the functionality that is already implemented in the system and the algorithms used. %files devel %defattr(-,root,root,-) "%{_libdir}/libyacas.a" "%{_libdir}/libyacas_mp.a" %dir "%{_includedir}/yacas" "%{_includedir}/yacas/*" %changelog * Wed Jan 25 2023 Adrian Vontobel <qwert2003@users.sourceforge.net> 1.9.1-1 - Update source to 1.9.1 * Thu Nov 7 2019 Adrian Vontobel <qwert2003@users.sourceforge.net> 1.8.0-1 - Adapt spec file for openSUSE * Thu Feb 15 2018 Grzegorz Mazur <teoretyk@gmail.com> 1.8.0-1 - Changes are none, there is only the now (Ayal Pinkus)