35 lines
996 B
RPMSpec
35 lines
996 B
RPMSpec
%{?nodejs_find_provides_and_requires}
|
|
Name: nodejs-charm
|
|
Version: 0.1.2
|
|
Release: 2
|
|
Summary: ANSI control sequences for terminal cursor hopping and colors
|
|
License: MIT
|
|
URL: https://github.com/substack/node-charm
|
|
Source0: https://registry.npmjs.org/charm/-/charm-%{version}.tgz
|
|
BuildArch: noarch
|
|
ExclusiveArch: %{nodejs_arches} noarch
|
|
BuildRequires: nodejs-packaging
|
|
%description
|
|
Uses ANSI control sequences to write colors and cursor positions to terminals.
|
|
|
|
%prep
|
|
%setup -q -n package
|
|
|
|
%build
|
|
|
|
%install
|
|
mkdir -p %{buildroot}%{nodejs_sitelib}/charm
|
|
cp -pr package.json index.js lib %{buildroot}%{nodejs_sitelib}/charm
|
|
%nodejs_symlink_deps
|
|
|
|
%files
|
|
%{nodejs_sitelib}/charm
|
|
%doc README.markdown example
|
|
|
|
%changelog
|
|
* Thu Nov 26 2020 caodongxia <caodongxia@huawei.com> - 0.1.2-2
|
|
- Delete file nodejs-charm.spec.old
|
|
|
|
* Mon Aug 17 2020 Anan Fu <fuanan3@huawei.com> - 0.1.2-1
|
|
- Package init
|