Projects
openEuler:24.03:SP1:Everything
nodejs-commander
_service:tar_scm:nodejs-commander.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:nodejs-commander.spec of Package nodejs-commander
%{?nodejs_find_provides_and_requires} %global enable_tests 1 Name: nodejs-commander Version: 2.9.0 Release: 2 Summary: Node.js command-line interfaces made easy License: MIT URL: https://github.com/visionmedia/commander.js Source0: https://github.com/visionmedia/commander.js/archive/v%{version}.tar.gz Source10: dl-tests.sh Patch0: nodejs-commander-2.9.0-Fix-engine-dep.patch BuildArch: noarch ExclusiveArch: %{nodejs_arches} noarch BuildRequires: nodejs-packaging %if 0%{?enable_tests} BuildRequires: npm(should) npm(sinon) npm(graceful-readlink) %endif %description The complete solution for Node.js command-line interfaces, inspired by Ruby's commander. %prep %autosetup -n commander.js-%{version} -p1 %build %install mkdir -p %{buildroot}%{nodejs_sitelib}/commander cp -pr package.json index.js \ %{buildroot}%{nodejs_sitelib}/commander %nodejs_symlink_deps %check %nodejs_symlink_deps --check %{__nodejs} -e 'require("./")' %if 0%{?enable_tests} ./test/run test/test.*.js %endif %files %doc Readme.md examples/ %license LICENSE %{nodejs_sitelib}/commander %changelog * Web 09 Jun 2021 zhaoyao<zhaoyao32@huawei.com> - 2.9.0-2 - %prep no longer patch with git * Mon Aug 17 2020 Anan Fu <fuanan3@huawei.com> - 2.9.0-1 - package init
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2