diff --git a/1.7.0.tar.gz b/1.7.0.tar.gz new file mode 100644 index 0000000..5c4c733 Binary files /dev/null and b/1.7.0.tar.gz differ diff --git a/nodejs-growl.spec b/nodejs-growl.spec new file mode 100644 index 0000000..3d5a515 --- /dev/null +++ b/nodejs-growl.spec @@ -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 - 1.7.0-1 +- package init diff --git a/nodejs-growl.yaml b/nodejs-growl.yaml new file mode 100644 index 0000000..b6d9d02 --- /dev/null +++ b/nodejs-growl.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: tj/node-growl +tag_prefix: "^" +seperator: "."