OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs-argparser?expand=0&rev=2
		
			
				
	
	
		
			50 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			RPMSpec
		
	
	
	
	
	
			
		
		
	
	
			50 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			RPMSpec
		
	
	
	
	
	
# 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
 | 
						|
BuildRequires:  npm nodejs
 | 
						|
BuildArch:      noarch
 | 
						|
 | 
						|
%nodejs_find_provides_and_requires
 | 
						|
 | 
						|
%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
 |