!4 package init

Merge pull request !4 from jackie_wu123/master
This commit is contained in:
openeuler-ci-bot 2020-09-08 18:33:45 +08:00 committed by Gitee
commit 8208cf64f0
3 changed files with 36 additions and 0 deletions

32
nodejs-paperboy.spec Normal file
View 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
View 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

Binary file not shown.