diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c870a26 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/imurmurhash-0.1.4.tgz diff --git a/.rh-nodejs4-nodejs-imurmurhash.metadata b/.rh-nodejs4-nodejs-imurmurhash.metadata new file mode 100644 index 0000000..ad9686b --- /dev/null +++ b/.rh-nodejs4-nodejs-imurmurhash.metadata @@ -0,0 +1 @@ +9218b9b2b928a238b13dc4fb6b6d576f231453ea SOURCES/imurmurhash-0.1.4.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-imurmurhash.spec b/SPECS/nodejs-imurmurhash.spec new file mode 100644 index 0000000..73be0af --- /dev/null +++ b/SPECS/nodejs-imurmurhash.spec @@ -0,0 +1,48 @@ +%{?scl:%scl_package nodejs-rimraf} +%{!?scl:%global pkg_name %{name}} + +# spec file for package nodejs-nodejs-imurmurhash + +%global npm_name imurmurhash +%{?nodejs_find_provides_and_requires} + +Name: %{?scl_prefix}nodejs-imurmurhash +Version: 0.1.4 +Release: 1%{?dist} +Summary: An incremental implementation of MurmurHash3 +Url: https://github.com/jensyt/imurmurhash-js +Source0: https://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz +License: MIT + +BuildArch: noarch +ExclusiveArch: %{nodejs_arches} noarch + +BuildRequires: %{?scl_prefix}nodejs-devel + +%description +An incremental implementation of MurmurHash3 + +%prep +%setup -q -n package + +%build +#nothing to do + +%install +mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name} + +cp -pr package.json imurmurhash.js imurmurhash.min.js \ + %{buildroot}%{nodejs_sitelib}/%{npm_name} + +%{nodejs_symlink_deps} + +%files +%{nodejs_sitelib}/imurmurhash + +%doc README.md +#%license LICENSE license is included in README + +%changelog +* Thu Apr 07 2016 Zuzana Svetlikova - 0.1.4-1 +- Initial build +