Blame SPECS/nodejs-char-spinner.spec

0e9421
%{?scl:%scl_package nodejs-char-spinner}
0e9421
%{!?scl:%global pkg_name %{name}}
0e9421
0e9421
%nodejs_find_provides_and_requires
0e9421
Name:           %{?scl_prefix}nodejs-char-spinner
0e9421
Version:        1.0.1
0e9421
Release:        2%{?dist}
0e9421
Summary:        Node.js char spinner
0e9421
License:        ISC
0e9421
Group:          Development/Languages/Other
0e9421
Url:            https://github.com/isaacs/char-spinner
0e9421
Source:         http://registry.npmjs.org/char-spinner/-/char-spinner-%{version}.tgz
0e9421
BuildRequires:  nodejs010
0e9421
BuildRoot:      %{_tmppath}/%{pkg_name}-%{version}-build
0e9421
BuildArch:      noarch
0e9421
ExclusiveArch:  %{ix86} x86_64 %{arm} noarch
0e9421
0e9421
%description
0e9421
Put a little spinner on process.stderr, as unobtrusively as possible. 
0e9421
0e9421
%prep
0e9421
%setup -q -n package
0e9421
0e9421
%build
0e9421
0e9421
%install
0e9421
mkdir -p %{buildroot}%{nodejs_sitelib}/char-spinner
0e9421
cp -pr package.json spin.js \
0e9421
        %{buildroot}%{nodejs_sitelib}/char-spinner
0e9421
0e9421
%files
0e9421
%defattr(-,root,root,-)
0e9421
%doc README.md LICENSE
0e9421
%{nodejs_sitelib}/char-spinner
0e9421
0e9421
%changelog
0e9421
* Tue Jan 13 2015 Tomas Hrcka <thrcka@redhat.com> - 1.0.1-2
0e9421
- Remove undefined macro
0e9421
0e9421
* Mon Jan 12 2015 Tomas Hrcka <thrcka@redhat.com> - 1.0.1-1
0e9421
- Initial build
0e9421