%global npm_name mongodb-core %{?nodejs_find_provides_and_requires} Summary: Core MongoDB driver functionality Name: nodejs-%{npm_name} Version: 1.2.32 Release: 2%{?dist} License: ASL 2.0 URL: https://github.com/christkv/mongodb-core Source0: http://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz BuildRequires: nodejs-devel BuildArch: noarch ExclusiveArch: %{nodejs_arches} noarch %description Core MongoDB driver functionality, no bells and whistles and meant for integration not end applications The MongoDB Core driver is the low level part of the 2.0 or higher MongoDB driver and is meant for library developers not end users. It does not contain any abstractions or helpers outside of the basic management of MongoDB topology connections, CRUD operations and authentication. %prep %setup -q -n package %build #nothing to do %install mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name} cp -pr index.js lib package.json %{buildroot}%{nodejs_sitelib}/%{npm_name} %files %doc HISTORY.md README.md TESTING.md %license LICENSE %{nodejs_sitelib}/%{npm_name} %changelog * Thu Feb 04 2016 Fedora Release Engineering - 1.2.32-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Tue Jan 12 2016 Troy Dawson - 1.2.32-1 - Update to 1.2.32 * Wed Jul 22 2015 Troy Dawson - 1.2.7-2 - Spec file cleanup * Mon Jul 20 2015 Troy Dawson - 1.2.7-1 - Updated to 1.2.7 * Thu May 07 2015 Troy Dawson - 1.1.26-1 - Initial build