diff --git a/nodejs-osenv.spec b/nodejs-osenv.spec new file mode 100644 index 0000000..0681cfb --- /dev/null +++ b/nodejs-osenv.spec @@ -0,0 +1,37 @@ +%{?nodejs_find_provides_and_requires} +Name: nodejs-osenv +Version: 0.1.3 +Release: 1 +Summary: Look up environment settings specific to different operating systems +License: BSD +URL: https://github.com/isaacs/osenv +Source0: https://registry.npmjs.org/osenv/-/osenv-%{version}.tgz +BuildArch: noarch +ExclusiveArch: %{nodejs_arches} noarch +BuildRequires: nodejs-packaging +BuildRequires: npm(tap) npm(os-homedir) npm(os-tmpdir) +%description +Look up environment settings specific to different operating systems. + +%prep +%setup -q -n package + +%build + +%install +mkdir -p %{buildroot}%{nodejs_sitelib}/osenv +cp -pr package.json osenv.js %{buildroot}%{nodejs_sitelib}/osenv +%nodejs_symlink_deps + +%check +%nodejs_symlink_deps --check +%tap test/*.js + +%files +%doc README.md +%license LICENSE +%{nodejs_sitelib}/osenv + +%changelog +* Mon Aug 17 2020 wutao - 0.1.3-1 +- Package init diff --git a/nodejs-osenv.yaml b/nodejs-osenv.yaml new file mode 100644 index 0000000..4430c53 --- /dev/null +++ b/nodejs-osenv.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: isaacs/osenv +tag_prefix: "^v" +seperator: "." diff --git a/osenv-0.1.3.tgz b/osenv-0.1.3.tgz new file mode 100644 index 0000000..5167dd6 Binary files /dev/null and b/osenv-0.1.3.tgz differ