Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37560455
en ru br
ALT Linux repos
S:2.2.1-alt1.preview2017

Group :: Development/Other
RPM: azure-sdk-for-node

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define node_modules %_libexecdir/node_modules

Name: azure-sdk-for-node
Version: 2.2.1
Release: alt1.preview2017

Summary: Windows Azure Client Library for node

Group: Development/Other
License: Apache-2.0
Url: https://github.com/Azure/azure-sdk-for-node

# Source0-url: https://github.com/Azure/azure-sdk-for-node/archive/2.2.1-preview-October2017.tar.gz

Source0: %name-%version.tar

Source1: %name-predownloaded-%version.tar

BuildArch: noarch

BuildRequires: npm node

Provides: node-azure = %version-%release

AutoReq:yes,nonodejs
AutoProv:yes,nonodejs

%description
Windows Azure SDK for Node.js and Linux client toold.

%prep
%setup -a1
# /usr/lib/rpm/nodejs.req supports only numerical versions there
subst "s|file:../../ms-rest|*|" runtime/ms-rest-azure/test/package.json

%install
#mkdir -p %buildroot/%_bindir
mkdir -p %buildroot/%node_modules/azure/
cp -a examples lib runtime node_modules test package.json README.md %buildroot/%node_modules/azure/
rm -f %buildroot/%node_modules/azure/node_modules/sax/examples/switch-bench.js
rm -f %buildroot/%node_modules/azure/node_modules/sinon/build
rm -f %buildroot/%node_modules/azure/node_modules/sinon/step-tests
rm -f %buildroot/%node_modules/azure/node_modules/streamline/examples/misc/shebang.sh
rm -rf %buildroot/%node_modules/azure/node_modules/adal-node/test/

#ln -s "../lib/node_modules/azure/bin/azure" %buildroot/%_bindir/azure


%files
#_bindir/azure
%node_modules/azure/

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin