diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..12a01d5 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/string_decoder-0.10.31.tgz diff --git a/.rh-nodejs8-nodejs-string_decoder.metadata b/.rh-nodejs8-nodejs-string_decoder.metadata new file mode 100644 index 0000000..43761ca --- /dev/null +++ b/.rh-nodejs8-nodejs-string_decoder.metadata @@ -0,0 +1 @@ +62e203bc41766c6c28c9fc84301dab1c5310fa94 SOURCES/string_decoder-0.10.31.tgz diff --git a/README.md b/README.md deleted file mode 100644 index 98f42b4..0000000 --- a/README.md +++ /dev/null @@ -1,4 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/nodejs-string_decoder.spec b/SPECS/nodejs-string_decoder.spec new file mode 100644 index 0000000..2eba021 --- /dev/null +++ b/SPECS/nodejs-string_decoder.spec @@ -0,0 +1,67 @@ +# spec file for package nodejs-nodejs-string_decoder +%{?scl:%scl_package nodejs-nodejs-string_decoder} +%{!?scl:%global pkg_name %{name}} + +%global npm_name string_decoder +%{?nodejs_find_provides_and_requires} + +%global enable_tests 0 + +Name: %{?scl_prefix}nodejs-string_decoder +Version: 0.10.31 +Release: 4%{?dist} +Summary: The string_decoder module from Node core +Url: https://github.com/rvagg/string_decoder +Source0: https://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz +License: MIT + +BuildArch: noarch +ExclusiveArch: %{ix86} x86_64 %{arm}} noarch + +BuildRequires: %{?scl_prefix}nodejs-devel +#BuildRequires: nodejs-packaging + +%if 0%{?enable_tests} +BuildRequires: npm(tap) +%endif + +%description +The string_decoder module from Node core + +%prep +%setup -q -n package + +%build +#nothing to do + +%install +mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name} + +cp -pr package.json *.js \ + %{buildroot}%{nodejs_sitelib}/%{npm_name} + +%{nodejs_symlink_deps} + +%if 0%{?enable_tests} +%check +%{nodejs_symlink_deps} --check +tap test/simple/*.js +%endif + +%files +%{nodejs_sitelib}/string_decoder + +%doc README.md LICENSE + +%changelog +* Mon Jul 03 2017 Zuzana Svetlikova - 0.10.31-4 +- rh-nodejs8 rebuild + +* Sun Feb 14 2016 Zuzana Svetlikova - 0.10.31-3 +- rebuilt + +* Sat Feb 13 2016 Zuzana Svetlikova - 0.10.31-2 +- rebuilt + +* Thu Aug 13 2015 Zuzana Svetlikova - 0.10.31-1 +- Initial build