%{?nodejs_find_provides_and_requires} %global packagename babel-plugin-transform-class-properties Name: nodejs-babel-plugin-transform-class-properties Version: 6.24.1 Release: 1%{?dist} Summary: This plugin transforms static class properties as well as properties declared with the property initializer syntax License: MIT URL: https://github.com/babel/babel Source0: http://registry.npmjs.org/%{packagename}/-/%{packagename}-%{version}.tgz ExclusiveArch: %{nodejs_arches} noarch BuildArch: noarch BuildRequires: nodejs-packaging BuildRequires: npm(babel-helper-function-name) BuildRequires: npm(babel-plugin-syntax-class-properties) BuildRequires: npm(babel-runtime) BuildRequires: npm(babel-template) Provides: npm(%{packagename}) %description This plugin transforms static class properties as well as properties declared with the property initializer syntax %prep %setup -n "package" rm -Rf node_modules %build # nothing to do! %install mkdir -p %{buildroot}%{nodejs_sitelib}/%{packagename} cp -pr * %{buildroot}%{nodejs_sitelib}/%{packagename} %{nodejs_symlink_deps} %check %{nodejs_symlink_deps} --check %{__nodejs} -e 'require("./")' %files %doc %license %{nodejs_sitelib}/%{packagename} %changelog