Browse Source

update snapshot

master
parent
commit
1e5f8dae9c
  1. 16
      ttf2svg/ttf2svg.spec

16
ttf2svg/ttf2svg.spec

@ -36,14 +36,14 @@ Class: EVAL
Group: Typesetting
License: MIT
Version: %{V_ttf2svg}
Release: 20170101
Release: 20170115
# list of sources
Source0: http://download.openpkg.org/components/versioned/ttf2svg/ttf2svg-%{V_ttf2svg}-%{V_ttf2svg_snap}.tar.xz
Source1: ttf2svg.sh
# build information
BuildPreReq: OpenPKG, openpkg >= 20160101
BuildPreReq: OpenPKG, openpkg >= 20160101, node-openpkg
PreReq: OpenPKG, openpkg >= 20160101, node
%description
@ -67,12 +67,7 @@ PreReq: OpenPKG, openpkg >= 20160101, node
%setup -q -c
%build
find . -name "examples" -type d -print | xargs rm -rf
find . -name "tests" -type d -print | xargs rm -rf
find . -name "test" -type d -print | xargs rm -rf
find . -name ".npmignore" -type f -print | xargs rm -f
find . -name "README*" -type f -print | xargs rm -f
find . -name "LICENSE*" -type f -print | xargs rm -f
%{l_prefix}/bin/node-openpkg squeeze
%install
%{l_shtool} mkdir -f -p -m 755 \
@ -81,9 +76,8 @@ PreReq: OpenPKG, openpkg >= 20160101, node
%{l_shtool} install -c -m 755 %{l_value -s -a} \
%{SOURCE ttf2svg.sh} \
$RPM_BUILD_ROOT%{l_prefix}/bin/ttf2svg
cp -rp \
node_modules/* \
$RPM_BUILD_ROOT%{l_prefix}/lib/ttf2svg/
%{l_prefix}/bin/node-openpkg install \
%{l_prefix}/lib/ttf2svg/
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
%files -f files

Loading…
Cancel
Save