%global npm_name jsbn Name: nodejs-jsbn Version: 1.1.0 Release: %mkrel 3 Summary: The jsbn library is a fast, portable implementation of large-number math License: MIT Group: Development/Other URL: https://github.com/andyperlitch/jsbn#readme Source0: https://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz BuildRequires: nodejs-packaging BuildArch: noarch %description The jsbn library is a fast, portable implementation of large-number math in pure JavaScript, enabling public-key crypto and other applications on desktop and mobile browsers. %prep %setup -q -n package %build # Nothing to do here %install mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name} cp -pfr example.html %{buildroot}%{nodejs_sitelib}/%{npm_name} cp -pfr example.js %{buildroot}%{nodejs_sitelib}/%{npm_name} cp -pfr index.js %{buildroot}%{nodejs_sitelib}/%{npm_name} cp -pfr package.json %{buildroot}%{nodejs_sitelib}/%{npm_name} cp -pfr test %{buildroot}%{nodejs_sitelib}/%{npm_name} %nodejs_symlink_deps %check %{nodejs_symlink_deps} --check %files %{nodejs_sitelib}/%{npm_name} %license LICENSE %doc CHANGELOG.md %doc README.md %changelog * Tue Mar 22 2022 umeabot <umeabot> 1.1.0-3.mga9 + Revision: 1819343 - Mageia 9 Mass Rebuild * Fri Feb 14 2020 umeabot <umeabot> 1.1.0-2.mga8 + Revision: 1521217 - Mageia 8 Mass Rebuild * Sun Dec 16 2018 kekepower <kekepower> 1.1.0-1.mga7 + Revision: 1341713 - imported package nodejs-jsbn