osc copypac from project:home:ctso:nodejs package:nodejs-argparser revision:3
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs-argparser?expand=0&rev=1
This commit is contained in:
48
nodejs-argparser.spec
Normal file
48
nodejs-argparser.spec
Normal file
@@ -0,0 +1,48 @@
|
||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
Name: nodejs-argparser
|
||||
Summary: Simplest parse arguments, options for Node.js
|
||||
Version: 0.0.9
|
||||
Release: 1
|
||||
License: MIT
|
||||
Url: https://github.com/jshint/node-jshint
|
||||
Source: %{name}-%{version}.tar.gz
|
||||
Group: Development/Libraries/Other
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Requires: nodejs
|
||||
BuildRequires: npm nodejs
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
Simplest parse arguments, options for Node.js
|
||||
|
||||
%prep
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{_prefix}/lib/node_modules
|
||||
npm_config_prefix=%{buildroot}%{_prefix} npm install -g %{S:0}
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_prefix}/lib/node_modules
|
||||
|
||||
%changelog
|
||||
Reference in New Issue
Block a user