commit
f5f3fde9eb
BIN
1.7.0.tar.gz
Normal file
BIN
1.7.0.tar.gz
Normal file
Binary file not shown.
43
nodejs-growl.spec
Normal file
43
nodejs-growl.spec
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
%{?nodejs_find_provides_and_requires}
|
||||||
|
%global enable_tests 1
|
||||||
|
Name: nodejs-growl
|
||||||
|
Version: 1.7.0
|
||||||
|
Release: 1
|
||||||
|
Summary: Growl unobtrusive notifications for Node.js
|
||||||
|
License: MIT
|
||||||
|
URL: https://github.com/tj/node-growl
|
||||||
|
Source0: https://github.com/tj/node-growl/archive/%{version}.tar.gz
|
||||||
|
BuildArch: noarch
|
||||||
|
ExclusiveArch: %{nodejs_arches} noarch
|
||||||
|
ExclusiveArch: %{ix86} x86_64 %{arm} noarch
|
||||||
|
BuildRequires: nodejs-packaging
|
||||||
|
%if 0%{?enable_tests}
|
||||||
|
BuildRequires: libnotify-devel
|
||||||
|
%endif
|
||||||
|
Requires: libnotify%{?_isa} >= 0:0.5.0-1
|
||||||
|
%description
|
||||||
|
%{summary}
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n node-growl-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
|
||||||
|
%install
|
||||||
|
mkdir -p %{buildroot}%{nodejs_sitelib}/growl
|
||||||
|
cp -pr package.json lib/ \
|
||||||
|
%{buildroot}%{nodejs_sitelib}/growl
|
||||||
|
%nodejs_symlink_deps
|
||||||
|
%if 0%{?enable_tests}
|
||||||
|
|
||||||
|
%check
|
||||||
|
%__nodejs test.js
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc History.md Readme.md
|
||||||
|
%{nodejs_sitelib}/growl
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Thu Aug 20 2020 Anan Fu <fuanan3@huawei.com> - 1.7.0-1
|
||||||
|
- package init
|
||||||
4
nodejs-growl.yaml
Normal file
4
nodejs-growl.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: github
|
||||||
|
src_repo: tj/node-growl
|
||||||
|
tag_prefix: "^"
|
||||||
|
seperator: "."
|
||||||
Loading…
x
Reference in New Issue
Block a user