diff --git a/SPECS/sc-im.spec b/SPECS/sc-im.spec index 0786fcc..e76cd5c 100644 --- a/SPECS/sc-im.spec +++ b/SPECS/sc-im.spec @@ -6,6 +6,10 @@ License: MIT URL: https://github.com/andmarti1424/sc-im Source0: https://github.com/andmarti1424/sc-im/archive/v%{version}.tar.gz #BuildRequires: gnuplot +BuildRequires: libxls +BuildRequires: libxlsxwriter-devel +Requires: libxls +Requires: libxlsxwriter %description SC-IM is a spreadsheet program that is based on SC. @@ -34,6 +38,8 @@ SC-IM is a spreadsheet program that is based on SC. %build +export CFLAGS="%{optflags} -DXLSX -DXLSX_EXPORT" +export LDLIBS="-lxlsreader -lxlsxwriter" make %{?_smp_mflags} -C src