From 8668b2f9825379013612ba081938c35269cf5e8d Mon Sep 17 00:00:00 2001 From: tuibuilder_pel7x64builder0 Date: Mon, 14 Sep 2020 20:53:47 +0200 Subject: [PATCH] sc-im make sure to compile read/write xls support Signed-off-by: tuibuilder_pel7x64builder0 --- SPECS/sc-im.spec | 6 ++++++ 1 file changed, 6 insertions(+) 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