Blame SPECS/nodejs-console-control-strings.spec

5bfc8c
%{?scl:%scl_package nodejs-console-control-strings}
5bfc8c
%{!?scl:%global pkg_name %{name}}
5bfc8c
%{?nodejs_find_provides_and_requires}
5bfc8c
5bfc8c
%global enable_tests 0
5bfc8c
%global npm_name console-control-strings
5bfc8c
5bfc8c
Name:       %{?scl_prefix}nodejs-%{npm_name}
5bfc8c
Version:    1.1.0
6c02d6
Release:    3%{?dist}
5bfc8c
Summary:    A library of cross-platform tested terminal/console command strings for doing things like color and cursor positioning
5bfc8c
License:    ISC
5bfc8c
URL:        https://github.com/iarna/console-control-strings
5bfc8c
Source0:    http://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz
5bfc8c
BuildRequires: %{?scl_prefix}nodejs-devel
5bfc8c
BuildArch:  noarch
5bfc8c
ExclusiveArch: %{nodejs_arches} noarch
5bfc8c
5bfc8c
%description
5bfc8c
A library of cross-platform tested terminal/console command strings for doing things like color and cursor positioning.  This is a subset of both ansi and vt100.  All control codes included work on both Windows & Unix-like OSes, except where noted.
5bfc8c
5bfc8c
%prep
5bfc8c
%setup -q -n package
5bfc8c
5bfc8c
rm -rf node_modules
5bfc8c
5bfc8c
%build
5bfc8c
5bfc8c
%install
5bfc8c
mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}
5bfc8c
cp -pfr index.js package.json %{buildroot}%{nodejs_sitelib}/%{npm_name}
5bfc8c
# If any binaries are included, symlink them to bindir here
5bfc8c
5bfc8c
5bfc8c
%nodejs_symlink_deps
5bfc8c
5bfc8c
%if 0%{?enable_tests}
5bfc8c
%check
5bfc8c
#not running tests in RHSCL
5bfc8c
%endif
5bfc8c
5bfc8c
%files
5bfc8c
%{nodejs_sitelib}/%{npm_name}
5bfc8c
5bfc8c
%doc LICENSE
5bfc8c
%doc README.md
5bfc8c
5bfc8c
%changelog
6c02d6
* Mon May 28 2018 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.1.0-3
6c02d6
- Resolves: RHBZ#1543198, rebuild for multiarch
6c02d6
5bfc8c
* Tue Sep 20 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.1.0-2
5bfc8c
- Initial build
5bfc8c