|
|
|
|
@ -31,16 +31,18 @@ Distribution: OpenPKG Community
|
|
|
|
|
Class: EVAL |
|
|
|
|
Group: Graphics |
|
|
|
|
License: GPL |
|
|
|
|
Version: 1.0.7 |
|
|
|
|
Release: 20121108 |
|
|
|
|
Version: 1.0.8 |
|
|
|
|
Release: 20160227 |
|
|
|
|
|
|
|
|
|
# list of sources |
|
|
|
|
Source0: http://switch.dl.sourceforge.net/libemf/libEMF-%{version}.tar.gz |
|
|
|
|
Source0: http://download.sourceforge.net/libemf/libemf-%{version}.tar.gz |
|
|
|
|
Patch0: libemf.patch |
|
|
|
|
|
|
|
|
|
# build information |
|
|
|
|
BuildPreReq: OpenPKG, openpkg >= 20100101, libtool |
|
|
|
|
PreReq: OpenPKG, openpkg >= 20100101 |
|
|
|
|
BuildPreReq: OpenPKG, openpkg >= 20160101 |
|
|
|
|
PreReq: OpenPKG, openpkg >= 20160101 |
|
|
|
|
BuildPreReq: libiconv |
|
|
|
|
PreReq: libiconv |
|
|
|
|
|
|
|
|
|
%description |
|
|
|
|
This is a library implementation of the ECMA-234 API for the |
|
|
|
|
@ -54,12 +56,15 @@ PreReq: OpenPKG, openpkg >= 20100101
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
%prep |
|
|
|
|
%setup -q -n libEMF-%{version} |
|
|
|
|
%setup -q |
|
|
|
|
%patch -p0 |
|
|
|
|
|
|
|
|
|
%build |
|
|
|
|
CC="%{l_cc}" \ |
|
|
|
|
CFLAGS="%{l_cflags -O}" \ |
|
|
|
|
CPPFLAGS="%{l_cppflags}" \ |
|
|
|
|
LDFLAGS="%{l_ldflags}" \ |
|
|
|
|
LIBS="-liconv" \ |
|
|
|
|
./configure \ |
|
|
|
|
--prefix=%{l_prefix} \ |
|
|
|
|
--enable-editing \ |
|
|
|
|
|