|
|
|
|
@ -36,7 +36,7 @@ Class: EVAL
|
|
|
|
|
Group: Language |
|
|
|
|
License: MIT |
|
|
|
|
Version: %{V_nci} |
|
|
|
|
Release: 20170101 |
|
|
|
|
Release: 20170115 |
|
|
|
|
|
|
|
|
|
# list of sources |
|
|
|
|
Source0: http://download.openpkg.org/components/versioned/nci/nci-%{V_nci}-%{V_nci_snap}.tar.xz |
|
|
|
|
@ -46,7 +46,7 @@ Source3: config.yaml
|
|
|
|
|
Source4: project.yaml |
|
|
|
|
|
|
|
|
|
# build information |
|
|
|
|
BuildPreReq: OpenPKG, openpkg >= 20160101 |
|
|
|
|
BuildPreReq: OpenPKG, openpkg >= 20160101, node-openpkg |
|
|
|
|
PreReq: OpenPKG, openpkg >= 20160101, node |
|
|
|
|
|
|
|
|
|
%description |
|
|
|
|
@ -63,6 +63,7 @@ PreReq: OpenPKG, openpkg >= 20160101, node
|
|
|
|
|
%setup -q -c |
|
|
|
|
|
|
|
|
|
%build |
|
|
|
|
%{l_prefix}/bin/node-openpkg squeeze |
|
|
|
|
|
|
|
|
|
%install |
|
|
|
|
# create installation hierarchy |
|
|
|
|
@ -85,9 +86,8 @@ PreReq: OpenPKG, openpkg >= 20160101, node
|
|
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/etc/nci/projects/example |
|
|
|
|
|
|
|
|
|
# install program |
|
|
|
|
cp -rp \ |
|
|
|
|
node_modules/* \ |
|
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/lib/nci/ |
|
|
|
|
%{l_prefix}/bin/node-openpkg install \ |
|
|
|
|
%{l_prefix}/lib/nci/ |
|
|
|
|
|
|
|
|
|
# determine installation files |
|
|
|
|
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} |
|
|
|
|
|