Projects
Eulaceura:Mainline:GA
nodejs-docopt
_service:obs_scm:nodejs-docopt.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:nodejs-docopt.spec of Package nodejs-docopt
%{?nodejs_find_provides_and_requires} %global packagename docopt %global enable_tests 1 Name: nodejs-docopt Version: 0.6.3 Release: 1 Summary: A command line option parser that will make you smile License: MIT URL: https://github.com/scarnie/docopt.coffee Source0: https://github.com/scarnie/docopt.coffee/archive/%{version}.tar.gz BuildArch: noarch ExclusiveArch: %{nodejs_arches} noarch BuildRequires: nodejs-packaging %if 0%{?enable_tests} BuildRequires: coffee-script mocha npm(chai) %endif %description A command line option parser that will make you smile %prep %autosetup -n docopt.coffee-%{version} %build %{_bindir}/coffee -c docopt.coffee %install mkdir -p %{buildroot}%{nodejs_sitelib}/%{packagename} cp -pr package.json *.js \ %{buildroot}%{nodejs_sitelib}/%{packagename} %nodejs_symlink_deps %if 0%{?enable_tests} %check %nodejs_symlink_deps --check %{__nodejs} -e 'require("./")' %{_bindir}/mocha --compilers coffee:coffee-script/register -R spec %endif %files %{!?_licensedir:%global license %doc} %doc *.md examples/ %license LICENSE-MIT %{nodejs_sitelib}/%{packagename} %changelog * Mon Oct 30 2023 liyanan <liyanan61@h-parners.com> - 0.6.3-1 - Update to 0.6.3 * Fri Aug 21 2020 leiju <leiju4@huawei.com> - 0.6.2-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