diff --git a/hoek-0.9.1.tgz b/hoek-0.9.1.tgz new file mode 100644 index 0000000..c6fc2f6 Binary files /dev/null and b/hoek-0.9.1.tgz differ diff --git a/nodejs-hoek.spec b/nodejs-hoek.spec new file mode 100644 index 0000000..fd16471 --- /dev/null +++ b/nodejs-hoek.spec @@ -0,0 +1,35 @@ +%{?nodejs_find_provides_and_requires} +Name: nodejs-hoek +Version: 0.9.1 +Release: 1 +Summary: General purpose Node.js utilities +License: BSD +URL: https://github.com/spumko/hoek +Source0: http://registry.npmjs.org/hoek/-/hoek-%{version}.tgz +BuildArch: noarch +ExclusiveArch: %{nodejs_arches} noarch +BuildRequires: nodejs-packaging +%description +This package contains some general purpose Node.js utilities, including +utilities for working with objects, timers, binary encoding/decoding, escaping +characters, errors, and loading files. + +%prep +%setup -q -n package +chmod 0644 README.md LICENSE images/* lib/* index.js package.json + +%build + +%install +mkdir -p %{buildroot}%{nodejs_sitelib}/hoek +cp -pr lib index.js package.json %{buildroot}%{nodejs_sitelib}/hoek +%nodejs_symlink_deps + +%files +%{nodejs_sitelib}/hoek +%doc README.md images +%license LICENSE + +%changelog +* Thu Aug 20 2020 wangxiao - 0.9.1-1 +- Package init diff --git a/nodejs-hoek.yaml b/nodejs-hoek.yaml new file mode 100644 index 0000000..0e3038f --- /dev/null +++ b/nodejs-hoek.yaml @@ -0,0 +1,5 @@ +git_url: https://github.com/spumko/hoek +version_control: github +src_repo: spumko/hoek +tag_prefix: "^v" +seperator: "."