Browse Source

sc-im make sure to compile read/write xls support

Signed-off-by: tuibuilder_pel7x64builder0 <tuibuilder@powerel.org>
master
tuibuilder_pel7x64builder0 4 years ago
parent
commit
8668b2f982
  1. 6
      SPECS/sc-im.spec

6
SPECS/sc-im.spec

@ -6,6 +6,10 @@ License: MIT @@ -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. @@ -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



Loading…
Cancel
Save