|
|
|
@ -36,13 +36,13 @@ Class: EVAL
|
|
|
|
|
Group: Algorithm |
|
|
|
|
License: MIT |
|
|
|
|
Version: %{V_tika} |
|
|
|
|
Release: 20170101 |
|
|
|
|
Release: 20170115 |
|
|
|
|
|
|
|
|
|
# list of sources |
|
|
|
|
Source0: http://download.openpkg.org/components/versioned/node-tika/node-tika-%{V_tika}-%{V_tika_snap}.tar.xz |
|
|
|
|
|
|
|
|
|
# build information |
|
|
|
|
BuildPreReq: OpenPKG, openpkg >= 20160101, npm |
|
|
|
|
BuildPreReq: OpenPKG, openpkg >= 20160101, npm, node-openpkg |
|
|
|
|
PreReq: OpenPKG, openpkg >= 20160101 |
|
|
|
|
BuildPreReq: node, node-java |
|
|
|
|
PreReq: node, node-java |
|
|
|
@ -71,22 +71,7 @@ PreReq: node, node-java
|
|
|
|
|
rm -rf node_modules/java |
|
|
|
|
|
|
|
|
|
# prune source tree |
|
|
|
|
find . -name test -type d -print | xargs rm -rf |
|
|
|
|
find . -name example -type d -print | xargs rm -rf |
|
|
|
|
find . -name examples -type d -print | xargs rm -rf |
|
|
|
|
find . -name ChangeLog -type f -print | xargs rm -f |
|
|
|
|
find . -name CHANGELOG.md -type f -print | xargs rm -f |
|
|
|
|
find . -name README.md -type f -print | xargs rm -f |
|
|
|
|
find . -name README.markdown -type f -print | xargs rm -f |
|
|
|
|
find . -name Readme.md -type f -print | xargs rm -f |
|
|
|
|
find . -name .npmignore -type f -print | xargs rm -f |
|
|
|
|
find . -name .travis.yml -type f -print | xargs rm -f |
|
|
|
|
find . -name LICENSE -type f -print | xargs rm -f |
|
|
|
|
find . -name LICENSE.txt -type f -print | xargs rm -f |
|
|
|
|
find . -name LICENCE -type f -print | xargs rm -f |
|
|
|
|
find . -name License -type f -print | xargs rm -f |
|
|
|
|
find . -name AUTHORS -type f -print | xargs rm -f |
|
|
|
|
find . -name CONTRIBUTING.md -type f -print | xargs rm -f |
|
|
|
|
%{l_prefix}/bin/node-openpkg squeeze |
|
|
|
|
|
|
|
|
|
%install |
|
|
|
|
# create installation hierarchy |
|
|
|
|