| 
									
										
										
										
											2014-09-20 18:19:59 +00:00
										 |  |  | #
 | 
					
						
							|  |  |  | # spec file for package nodejs-readdirp
 | 
					
						
							|  |  |  | #
 | 
					
						
							|  |  |  | # Copyright (c) 2014 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/
 | 
					
						
							|  |  |  | #
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-09-25 10:09:21 +00:00
										 |  |  | %define base_name readdirp
 | 
					
						
							| 
									
										
										
										
											2014-09-20 18:19:59 +00:00
										 |  |  | Name:           nodejs-readdirp
 | 
					
						
							|  |  |  | Version:        1.1.0
 | 
					
						
							|  |  |  | Release:        0
 | 
					
						
							|  |  |  | Summary:        Compile time `with` for strict mode JavaScript
 | 
					
						
							|  |  |  | License:        MIT
 | 
					
						
							|  |  |  | Group:          Development/Languages/Other
 | 
					
						
							|  |  |  | Url:            https://github.com/thlorenz/readdirp
 | 
					
						
							| 
									
										
										
										
											2014-09-25 10:09:21 +00:00
										 |  |  | Source:         http://registry.npmjs.org/%{base_name}/-/%{base_name}-%{version}.tgz
 | 
					
						
							| 
									
										
										
										
											2014-10-09 15:17:05 +00:00
										 |  |  | BuildRequires:   nodejs-packaging
 | 
					
						
							| 
									
										
										
										
											2014-09-20 18:19:59 +00:00
										 |  |  | BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 | 
					
						
							|  |  |  | BuildArch:      noarch
 | 
					
						
							| 
									
										
										
										
											2014-10-09 15:17:05 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | %nodejs_find_provides_and_requires
 | 
					
						
							| 
									
										
										
										
											2014-09-20 18:19:59 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | %description
 | 
					
						
							|  |  |  | Recursive version of fs.readdir with streaming api.
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %prep
 | 
					
						
							| 
									
										
										
										
											2014-09-25 10:09:21 +00:00
										 |  |  | %setup -q -n package
 | 
					
						
							| 
									
										
										
										
											2014-09-20 18:19:59 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | %build
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | %install
 | 
					
						
							| 
									
										
										
										
											2014-09-25 10:09:21 +00:00
										 |  |  | mkdir -p %{buildroot}%{nodejs_modulesdir}/%{base_name}
 | 
					
						
							|  |  |  | cp -pr package.json readdirp.js stream-api.js \
 | 
					
						
							|  |  |  |         %{buildroot}%{nodejs_modulesdir}/%{base_name}/
 | 
					
						
							| 
									
										
										
										
											2014-09-20 18:19:59 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | %files
 | 
					
						
							|  |  |  | %defattr(-,root,root,-)
 | 
					
						
							| 
									
										
										
										
											2014-09-25 10:09:21 +00:00
										 |  |  | %doc README.md LICENSE examples
 | 
					
						
							|  |  |  | %{nodejs_modulesdir}/%{base_name}
 | 
					
						
							| 
									
										
										
										
											2014-09-20 18:19:59 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | %changelog
 |