## START: Set by rpmautospec ## (rpmautospec version 0.8.1) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 3; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: sc-im Version: 0.8.5 Release: %autorelease Summary: Spreadsheet Calculator Improvised, ncurses based vim-like spreadsheet calculator License: BSD-4-Clause URL: https://github.com/andmarti1424/sc-im Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz BuildRequires: gcc BuildRequires: make BuildRequires: byacc BuildRequires: pkgconfig(ncursesw) BuildRequires: %{_bindir}/pkg-config BuildRequires: pkgconfig(libxls) BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(lua) Recommends: gnuplot Recommends: xclip #Currently disabled as tests are inactive #BuildRequires: valgrind %description Spreadsheet Calculator Improvised, aka sc-im, is an ncurses based, vim-like spreadsheet calculator. sc-im is based on sc, whose original authors are James Gosling and Mark Weiser, and mods were later added by Chuck Martin. %prep #Adjust name because extracted folder lacks letter v in version %autosetup -p1 -n sc-im-%{version} %build # Modify the Makefile to comply with the FHS %make_build -C src/ prefix=%{_prefix} %install %make_install -C src/ prefix=%{_prefix} #Currently the tests fail due to additional string "No such device or address" is attached to end result #Issue is under investigation, the problem seems to be with concating of the outputs in the test scripts #Specifically with the part '2>&1' of the assert call #Also test7 is currently reported as unfunctional #%%check #pushd tests #mv test7.sh test7.sh.known-fail #./run_all_tests.sh #popd %files %license LICENSE doc/grammar_yacc_tools/y2l.license %doc CHANGES Readme.md BUGS HELP KNOWN_ISSUES USER_REQUESTS WIKI doc/grammar_yacc_tools/y2l.readme %dir %{_datadir}/sc-im %{_bindir}/sc-im %{_bindir}/scopen #manpages %{_mandir}/man1/sc-im.1* # Data files in share directory %{_datadir}/sc-im/plot_bar %{_datadir}/sc-im/plot_line %{_datadir}/sc-im/plot_pie %{_datadir}/sc-im/plot_scatter %{_datadir}/sc-im/sc-im_help # Themes %{_datadir}/themes/dracula.sc %{_datadir}/themes/old.sc %{_datadir}/themes/papercolor-dark.sc %{_datadir}/themes/prince.persia.sc %changelog ## START: Generated by rpmautospec * Fri Jul 25 2025 Fedora Release Engineering - 0.8.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Thu Jun 12 2025 Jan Staněk - 0.8.5-2 - use the same prefix for build and install * Thu May 22 2025 tjuhasz - 0.8.5-1 - update to version 0.8.5 (rhbz#2367826) * Mon Jan 20 2025 Tomas Juhasz - 0.8.4-3 - Initial import (fedora#2331669). * Mon Jan 20 2025 Tomas Juhasz - 0.8.4-2 - correction to sources * Mon Jan 20 2025 Tomas Juhasz - 0.8.4-1 - initial commit ## END: Generated by rpmautospec