Blame SPECS/nodejs-imurmurhash.spec

c53d34
%{?scl:%scl_package nodejs-imurmurhash}
c53d34
%{!?scl:%global pkg_name %{name}}
c53d34
c53d34
# spec file for package nodejs-nodejs-imurmurhash
c53d34
c53d34
%global npm_name imurmurhash
c53d34
%{?nodejs_find_provides_and_requires}
c53d34
c53d34
Name:		%{?scl_prefix}nodejs-imurmurhash
c53d34
Version:	0.1.4
14ebfc
Release:	2%{?dist}
c53d34
Summary:	An incremental implementation of MurmurHash3
c53d34
Url:		https://github.com/jensyt/imurmurhash-js
c53d34
Source0:	https://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz
c53d34
License:	MIT
c53d34
c53d34
BuildArch:	noarch
c53d34
ExclusiveArch:	%{nodejs_arches} noarch
c53d34
c53d34
BuildRequires:	%{?scl_prefix}nodejs-devel
c53d34
c53d34
%description
c53d34
An incremental implementation of MurmurHash3
c53d34
c53d34
%prep
c53d34
%setup -q -n package
c53d34
c53d34
%build
c53d34
#nothing to do
c53d34
c53d34
%install
c53d34
mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}
c53d34
c53d34
cp -pr package.json imurmurhash.js imurmurhash.min.js \
c53d34
	%{buildroot}%{nodejs_sitelib}/%{npm_name}
c53d34
c53d34
%{nodejs_symlink_deps}
c53d34
c53d34
%files
c53d34
%{nodejs_sitelib}/imurmurhash
c53d34
c53d34
%doc README.md
c53d34
#%license LICENSE license is included in README
c53d34
c53d34
%changelog
14ebfc
* Mon May 28 2018 Zuzana Svetlikova <zsvetlik@redhat.com> - 0.1.4-2
14ebfc
- Resolves: RHBZ#1543198, rebuild for multiarch
14ebfc
c53d34
* Thu Apr 07 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 0.1.4-1
c53d34
- Initial build
c53d34