Accepting request 285988 from home:deadpoint:nodejs
`basename $PWD` OBS-URL: https://build.opensuse.org/request/show/285988 OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs-compress-commons?expand=0&rev=1
This commit is contained in:
44
nodejs-compress-commons.spec
Normal file
44
nodejs-compress-commons.spec
Normal file
@@ -0,0 +1,44 @@
|
||||
%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
|
Reference in New Issue
Block a user