commit
0ca80f2751
BIN
charm-0.1.2.tgz
Normal file
BIN
charm-0.1.2.tgz
Normal file
Binary file not shown.
32
nodejs-charm.spec
Normal file
32
nodejs-charm.spec
Normal file
@ -0,0 +1,32 @@
|
||||
%{?nodejs_find_provides_and_requires}
|
||||
Name: nodejs-charm
|
||||
Version: 0.1.2
|
||||
Release: 1
|
||||
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
|
||||
ExclusiveArch: %{ix86} x86_64 %{arm} 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
|
||||
* Mon Aug 17 2020 Anan Fu <fuanan3@huawei.com> - 0.1.2-1
|
||||
- Package init
|
||||
35
nodejs-charm.spec.old
Normal file
35
nodejs-charm.spec.old
Normal file
@ -0,0 +1,35 @@
|
||||
%{?nodejs_find_provides_and_requires}
|
||||
Name: nodejs-charm
|
||||
Version: 0.1.2
|
||||
Release: 1
|
||||
Summary: ANSI control sequences for terminal cursor hopping and colors
|
||||
BuildArch: noarch
|
||||
%if 0%{?fedora} >= 19
|
||||
ExclusiveArch: %{nodejs_arches} noarch
|
||||
%else
|
||||
ExclusiveArch: %{ix86} x86_64 %{arm} noarch
|
||||
%endif
|
||||
License: MIT
|
||||
URL: https://github.com/substack/node-charm
|
||||
Source0: https://registry.npmjs.org/charm/-/charm-%{version}.tgz
|
||||
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
|
||||
* Mon Aug 17 2020 Anan Fu <fuanan3@huawei.com> - 0.1.2-1
|
||||
- Package init
|
||||
4
nodejs-charm.yaml
Normal file
4
nodejs-charm.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: github
|
||||
src_repo: substack/node-charm
|
||||
tag_prefix: "^"
|
||||
seperator: "."
|
||||
Loading…
x
Reference in New Issue
Block a user