Skip to content

Commit 419087d

Browse files
committed
add nodejs-axios-nmsprime SPEC file
1 parent 5b6841f commit 419087d

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

SPECS/nodejs-axios-nmsprime.spec

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
Name: nodejs-axios-nmsprime
2+
Version: 1.6.8
3+
Release: 1
4+
Summary: Promise based HTTP client for the browser and node.js
5+
Group: Applications/Communications
6+
License: MIT
7+
BuildArch: noarch
8+
URL: https://github.com/axios/axios
9+
10+
BuildRequires: npm
11+
Requires: nodejs
12+
13+
%description
14+
Promise based HTTP client for the browser and node.js
15+
16+
%install
17+
CACHE_DIR=$(mktemp -d)
18+
npm install axios --cache "$CACHE_DIR" --loglevel warn --global true --prefix %{buildroot}
19+
rm -rf "$CACHE_DIR"
20+
21+
%files
22+
/lib/node_modules/axios/*
23+
24+
%changelog
25+
* Wed Apr 24 2024 Ole Ernst <ole.ernst@nmsprime.com> - 1.6.8-1
26+
- Initial RPM release

0 commit comments

Comments
 (0)