File nodejs-engine.io-parser.spec of Package nodejs-engine.io-parser

#
# spec file for package nodejs-engine.io-parser
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.


%define module_name engine.io-parser
Name:           nodejs-%{module_name}
Version:        1.2.1
Release:        0
License:        MIT
Summary:        Node.js %{module_name} module
Url:            https://github.com/automattic/engine.io-parser
Group:          Development/Languages/Other
Source:         http://registry.npmjs.org/%{module_name}/-/%{module_name}-%{version}.tgz
BuildRequires:  fdupes
BuildRequires:  nodejs-packaging
Requires:       nodejs-after >= 0.8.1
Requires:       nodejs-arraybuffer.slice >= 0.0.6
Requires:       nodejs-base64-arraybuffer >= 0.1.2
Requires:       nodejs-blob >= 0.0.2
Requires:       nodejs-has-binary >= 0.1.5
Requires:       nodejs-utf8 >= 2.0.0
BuildArch:      noarch
%{?nodejs_find_provides_and_requires}

%description
Parser for the client for the realtime Engine.

%prep
%setup -q -n package

%build

%install
mkdir -p %{buildroot}%{nodejs_modulesdir}/%{module_name}
cp -pr *.js lib package.json \
        %{buildroot}%{nodejs_modulesdir}/%{module_name}/

%files
%defattr(-,root,root,-)
%doc History.md Readme.md LICENSE  
%{nodejs_modulesdir}/%{module_name}

%changelog
openSUSE Build Service is sponsored by