package init
This commit is contained in:
parent
2789be75a2
commit
c714b1c97f
32
nodejs-paperboy.spec
Normal file
32
nodejs-paperboy.spec
Normal file
@ -0,0 +1,32 @@
|
||||
%{?nodejs_find_provides_and_requires}
|
||||
Name: nodejs-paperboy
|
||||
Version: 0.0.5
|
||||
Release: 1
|
||||
Summary: A node.js module for delivering static files
|
||||
License: MIT
|
||||
URL: https://github.com/felixge/node-paperboy
|
||||
Source0: http://registry.npmjs.org/paperboy/-/paperboy-%{version}.tgz
|
||||
BuildArch: noarch
|
||||
ExclusiveArch: %{nodejs_arches} noarch
|
||||
BuildRequires: nodejs-packaging
|
||||
%description
|
||||
%{summary}.
|
||||
|
||||
%prep
|
||||
%setup -q -n package
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{nodejs_sitelib}/paperboy
|
||||
cp -pr package.json index.js lib/ \
|
||||
%{buildroot}%{nodejs_sitelib}/paperboy
|
||||
%nodejs_symlink_deps
|
||||
|
||||
%files
|
||||
%doc LICENSE.txt README.md example/
|
||||
%{nodejs_sitelib}/paperboy
|
||||
|
||||
%changelog
|
||||
* Mon Aug 31 2020 wutao <wutao61@huawei.com> - 0.0.5-1
|
||||
- Package init
|
||||
BIN
paperboy-0.0.5.tgz
Normal file
BIN
paperboy-0.0.5.tgz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user