commit
8208cf64f0
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: https://github.com/felixge/node-paperboy/archive/v%{version}.tar.gz
|
||||||
|
BuildArch: noarch
|
||||||
|
ExclusiveArch: %{nodejs_arches} noarch
|
||||||
|
BuildRequires: nodejs-packaging
|
||||||
|
%description
|
||||||
|
%{summary}.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n node-paperboy-%{version}
|
||||||
|
|
||||||
|
%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
|
||||||
4
nodejs-paperboy.yaml
Normal file
4
nodejs-paperboy.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: github
|
||||||
|
src_repo: felixge/node-paperboy
|
||||||
|
tag_prefix: "^v"
|
||||||
|
seperator: "."
|
||||||
BIN
v0.0.5.tar.gz
Normal file
BIN
v0.0.5.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user