2 Summary: prompting wizardly
7 Group: Development/Libraries
8 URL: https://github.com/isaacs/promzard
9 Source0: http://registry.npmjs.org/%{pkg}/-/%{pkg}-%{version}.tgz
10 # Source0-md5: 313e53a75fc058a2735dd3d5fc28b15f
11 BuildRequires: rpmbuild(macros) >= 1.634
13 Requires: nodejs-read >= 1.0.0
14 Requires: nodejs-read < 2.0.0
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 rm -rf $RPM_BUILD_ROOT
27 install -d $RPM_BUILD_ROOT{%{_bindir},%{nodejs_libdir}/%{pkg}}
28 cp -a package.json promzard.js $RPM_BUILD_ROOT%{nodejs_libdir}/%{pkg}
30 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
31 cp -a example $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
34 rm -rf $RPM_BUILD_ROOT
37 %defattr(644,root,root,755)
39 %{nodejs_libdir}/%{pkg}
40 %{_examplesdir}/%{name}-%{version}