fuanan add package
This commit is contained in:
parent
ea8c219b1e
commit
f7b51f1f43
@ -5,14 +5,11 @@ Version: 1.7.0
|
||||
Release: 1
|
||||
Summary: Growl unobtrusive notifications for Node.js
|
||||
License: MIT
|
||||
URL: https://github.com/visionmedia/node-growl
|
||||
URL: https://github.com/tj/node-growl
|
||||
Source0: http://registry.npmjs.org/growl/-/growl-%{version}.tgz
|
||||
BuildArch: noarch
|
||||
%if 0%{?fedora} >= 19
|
||||
ExclusiveArch: %{nodejs_arches} noarch
|
||||
%else
|
||||
ExclusiveArch: %{ix86} x86_64 %{arm} noarch
|
||||
%endif
|
||||
BuildRequires: nodejs-packaging
|
||||
%if 0%{?enable_tests}
|
||||
BuildRequires: libnotify-devel
|
||||
|
||||
@ -1,98 +0,0 @@
|
||||
%{?nodejs_find_provides_and_requires}
|
||||
|
||||
%global enable_tests 1
|
||||
|
||||
Name: nodejs-growl
|
||||
Version: 1.7.0
|
||||
Release: 13%{?dist}
|
||||
Summary: Growl unobtrusive notifications for Node.js
|
||||
# License text is included in Readme.md
|
||||
License: MIT
|
||||
URL: https://github.com/visionmedia/node-growl
|
||||
Source0: http://registry.npmjs.org/growl/-/growl-%{version}.tgz
|
||||
|
||||
BuildArch: noarch
|
||||
%if 0%{?fedora} >= 19
|
||||
ExclusiveArch: %{nodejs_arches} noarch
|
||||
%else
|
||||
ExclusiveArch: %{ix86} x86_64 %{arm} noarch
|
||||
%endif
|
||||
|
||||
BuildRequires: nodejs-packaging
|
||||
|
||||
%if 0%{?enable_tests}
|
||||
BuildRequires: libnotify-devel
|
||||
%endif
|
||||
|
||||
Requires: libnotify%{?_isa} >= 0:0.5.0-1
|
||||
|
||||
%description
|
||||
%{summary}
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n package
|
||||
|
||||
|
||||
%build
|
||||
#nothing to do
|
||||
|
||||
|
||||
%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
|
||||
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-13
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-12
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.0-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.0-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.0-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
* Sun Jul 21 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 1.7.0-4
|
||||
- restrict to compatible arches
|
||||
|
||||
* Wed Jun 19 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.7.0-3
|
||||
- rebuild for missing npm(growl) provides on EL6
|
||||
|
||||
* Sun Feb 24 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 1.7.0-2
|
||||
- specify architecture and version for libnotify in Requires
|
||||
|
||||
* Thu Feb 14 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 1.7.0-1
|
||||
- initial package
|
||||
@ -1,4 +1,4 @@
|
||||
version_control: github
|
||||
src_repo: visionmedia/node-growl
|
||||
tag_prefix: "^"
|
||||
src_repo: tj/node-growl
|
||||
tag_prefix: "^v"
|
||||
seperator: "."
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user