Projects
openEuler:Mainline
nodejs-wordwrap
_service:tar_scm:nodejs-wordwrap.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:nodejs-wordwrap.spec of Package nodejs-wordwrap
%{?nodejs_find_provides_and_requires} %global enable_tests 1 Name: nodejs-wordwrap Version: 1.0.0 Release: 1 Summary: Word wrapping library for node License: MIT URL: https://github.com/substack/node-wordwrap Source0: https://registry.npmjs.org/wordwrap/-/wordwrap-%{version}.tgz BuildArch: noarch ExclusiveArch: %{nodejs_arches} noarch BuildRequires: nodejs-packaging %if 0%{?enable_tests} BuildRequires: npm(tape) %endif %description Wrap those words. Show them at what columns to start and stop. %prep %setup -q -n package %build %install mkdir -p %{buildroot}%{nodejs_sitelib}/wordwrap cp -pr package.json index.js %{buildroot}%{nodejs_sitelib}/wordwrap %nodejs_symlink_deps %check %nodejs_symlink_deps --check %{__nodejs} -e 'require("./")' %if 0%{?enable_tests} ln -sf .. node_modules/wordwrap %{_bindir}/tape test/*.js %endif %files %{!?_licensedir:%global license %doc} %doc README.markdown example %license LICENSE %{nodejs_sitelib}/wordwrap %changelog * Thu Aug 20 2020 zhanghua <zhanghua40@huawei.com> - 1.0.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