%{?nodejs_find_provides_and_requires} Name: nodejs-decamelize Version: 1.0.0 Release: %mkrel 1 Summary: Convert a camelized string into a lowercased one with a custom separator: unicornRainbow â unicorn_rainbow License: MIT Group: Development/Languages/Other Url: https://github.com/sindresorhus/decamelize Source0: http://registry.npmjs.org/decamelize/-/decamelize-%{version}.tgz BuildRequires: nodejs BuildRequires: nodejs-packaging Obsoletes: decamelize BuildArch: noarch %description Convert a camelized string into a lowercased one with a custom separator: unicornRainbow â unicorn_rainbow %prep %setup -q -n package %build #nothing to do %install mkdir -p %{buildroot}%{nodejs_sitelib}/decamelize cp -pr index.js package.json %{buildroot}%{nodejs_sitelib}/decamelize %{nodejs_symlink_deps} %files %doc readme.md %{nodejs_sitelib}/decamelize %changelog * Thu Nov 05 2015 spuhler <spuhler> 1.0.0-1.mga5 + Revision: 897954 - needed for uglify-js * Fri Oct 30 2015 spuhler <spuhler> 1.0.0-1.mga6 + Revision: 896634 - local srpm build based on Opensuse