Projects
openEuler:24.03:SP1:Everything:64G
nodejs-nopt
_service:tar_scm:nodejs-nopt.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:nodejs-nopt.spec of Package nodejs-nopt
%{?nodejs_find_provides_and_requires} Name: nodejs-nopt Version: 3.0.6 Release: 1 Summary: Node.js option parsing License: MIT URL: https://github.com/isaacs/nopt Source0: https://github.com/isaacs/nopt/archive/v%{version}.tar.gz BuildArch: noarch ExclusiveArch: %{nodejs_arches} noarch BuildRequires: nodejs-packaging BuildRequires: npm(tap) npm(abbrev) %description An option parsing library for Node.js and its package manager (npm). %prep %autosetup -n nopt-%{version} %build %install mkdir -p %{buildroot}%{nodejs_sitelib}/nopt cp -pr bin lib package.json %{buildroot}%{nodejs_sitelib}/nopt mkdir -p %{buildroot}%{_bindir} ln -sf ../lib/node_modules/nopt/bin/nopt.js %{buildroot}%{_bindir}/nopt %nodejs_symlink_deps %check %nodejs_symlink_deps --check %tap test/*.js %files %doc README.md examples %license LICENSE %{nodejs_sitelib}/nopt %{_bindir}/nopt %changelog * Mon Aug 17 2020 wutao <wutao61@huawei.com> - 3.0.6-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