%{?nodejs_find_provides_and_requires} Name: nodejs-paperboy Version: 0.0.5 Release: 1 Summary: A node.js module for delivering static files License: MIT URL: https://github.com/felixge/node-paperboy Source0: https://github.com/felixge/node-paperboy/archive/v%{version}.tar.gz BuildArch: noarch ExclusiveArch: %{nodejs_arches} noarch BuildRequires: nodejs-packaging %description %{summary}. %prep %autosetup -n node-paperboy-%{version} %build %install mkdir -p %{buildroot}%{nodejs_sitelib}/paperboy cp -pr package.json index.js lib/ \ %{buildroot}%{nodejs_sitelib}/paperboy %nodejs_symlink_deps %files %doc LICENSE.txt README.md example/ %{nodejs_sitelib}/paperboy %changelog * Mon Aug 31 2020 wutao - 0.0.5-1 - Package init