%{?scl:%scl_package nodejs-promzard} %{!?scl:%global pkg_name %{name}} %{?nodejs_find_provides_and_requires} Name: %{?scl_prefix}nodejs-promzard Version: 0.2.0 Release: 7%{?dist} Summary: A prompting wizard for building files from specialized PromZard modules BuildArch: noarch Group: System Environment/Libraries # license will be included in next upstream release # # https://raw.github.com/isaacs/promzard/master/LICENSE License: BSD URL: https://github.com/isaacs/promzard Source0: http://registry.npmjs.org/promzard/-/promzard-%{version}.tgz BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: %{?scl_prefix}nodejs-devel %description A prompting wizard for building files from specialized PromZard modules. The goal is a nice drop-in enhancement for `npm init`. %prep %setup -q -n package %build #nothing to do %install rm -rf %buildroot mkdir -p %{buildroot}%{nodejs_sitelib}/promzard cp -pr package.json promzard.js %{buildroot}%{nodejs_sitelib}/promzard %nodejs_symlink_deps %clean rm -rf %buildroot %files %defattr(-,root,root,-) %{nodejs_sitelib}/promzard %doc example README.md %changelog * Tue Mar 04 2014 Tomas Hrcka - 0.2.0-7 - Add missing nodejs_symlink_deps macro * Thu Oct 17 2013 Tomas Hrcka - 0.2.0-6 - replace provides and requires with macro * Fri Apr 12 2013 Stanislav Ochotnicky - 0.2.0-5 - Add support for software collections * Thu Feb 14 2013 Fedora Release Engineering - 0.2.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Mon Jan 07 2013 T.C. Hollingsworth - 0.2.0-2 - fix summary, description, license * Mon Dec 31 2012 T.C. Hollingsworth - 0.2.0-1 - initial package generated by npm2rpm