File nodejs-compress-commons.spec of Package nodejs-compress-commons

%define base_name compress-commons

Name:            nodejs-%{base_name}
Version:         0.2.5
Release:         0
License:         MIT
Summary:         a library that defines a common interface for working with archive formats within node
URL:             https://github.com/ctalkington/node-compress-commons
Group:           Development/Languages/Other
Source0:         http://registry.npmjs.org/%{base_name}/-/%{base_name}-%{version}.tgz
Requires:        nodejs
Requires:        nodejs-buffer-crc32
Requires:        nodejs-crc32-stream
Requires:        nodejs-node-int64
Requires:        nodejs-readable-stream
BuildRequires:   nodejs
BuildRequires:   nodejs-packaging
BuildRoot:       %{_tmppath}/%{name}-%{version}-%{release}-root
BuildArch:       noarch
ExclusiveArch:   %{ix86} x86_64 %{arm} noarch


%description
Node.js compress-commons module. a library that defines a common interface for working with archive formats within node.

%prep
%setup -q -n package

%build

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

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc  README.md
%{nodejs_modulesdir}/%{base_name}

%changelog
openSUSE Build Service is sponsored by