diff --git a/charm-0.1.2.tgz b/charm-0.1.2.tgz new file mode 100644 index 0000000..11fd82d Binary files /dev/null and b/charm-0.1.2.tgz differ diff --git a/nodejs-charm.spec b/nodejs-charm.spec new file mode 100644 index 0000000..ae9023e --- /dev/null +++ b/nodejs-charm.spec @@ -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 - 0.1.2-1 +- Package init diff --git a/nodejs-charm.spec.old b/nodejs-charm.spec.old new file mode 100644 index 0000000..65510cb --- /dev/null +++ b/nodejs-charm.spec.old @@ -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 - 0.1.2-1 +- Package init diff --git a/nodejs-charm.yaml b/nodejs-charm.yaml new file mode 100644 index 0000000..4362613 --- /dev/null +++ b/nodejs-charm.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: substack/node-charm +tag_prefix: "^" +seperator: "."