fuanan add package
This commit is contained in:
parent
c2fd575063
commit
0d6e278eee
BIN
eyes-0.1.8.tgz
Normal file
BIN
eyes-0.1.8.tgz
Normal file
Binary file not shown.
42
nodejs-eyes.spec
Normal file
42
nodejs-eyes.spec
Normal file
@ -0,0 +1,42 @@
|
||||
%{?nodejs_find_provides_and_requires}
|
||||
%global enable_tests 1
|
||||
Name: nodejs-eyes
|
||||
Version: 0.1.8
|
||||
Release: 1
|
||||
Summary: A customizable value inspector for Node.js
|
||||
License: MIT
|
||||
URL: https://github.com/cloudhead/eyes.js
|
||||
Source0: http://registry.npmjs.org/eyes/-/eyes-%{version}.tgz
|
||||
BuildArch: noarch
|
||||
%if 0%{?fedora} >= 19
|
||||
ExclusiveArch: %{nodejs_arches} noarch
|
||||
%else
|
||||
ExclusiveArch: %{ix86} x86_64 %{arm} noarch
|
||||
%endif
|
||||
BuildRequires: nodejs-packaging
|
||||
%description
|
||||
%{summary}
|
||||
|
||||
%prep
|
||||
%setup -q -n package
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{nodejs_sitelib}/eyes
|
||||
cp -pr package.json lib/ \
|
||||
%{buildroot}%{nodejs_sitelib}/eyes
|
||||
%nodejs_symlink_deps
|
||||
%if 0%{?enable_tests}
|
||||
|
||||
%check
|
||||
%__nodejs test/*-test.js
|
||||
%endif
|
||||
|
||||
%files
|
||||
%doc LICENSE README.md
|
||||
%{nodejs_sitelib}/eyes
|
||||
|
||||
%changelog
|
||||
* Thu Aug 20 2020 Anan Fu <fuanan3@huawei.com> - 0.1.8-1
|
||||
- package init
|
||||
88
nodejs-eyes.spec.old
Normal file
88
nodejs-eyes.spec.old
Normal file
@ -0,0 +1,88 @@
|
||||
%{?nodejs_find_provides_and_requires}
|
||||
|
||||
%global enable_tests 1
|
||||
|
||||
Name: nodejs-eyes
|
||||
Version: 0.1.8
|
||||
Release: 12%{?dist}
|
||||
Summary: A customizable value inspector for Node.js
|
||||
License: MIT
|
||||
URL: https://github.com/cloudhead/eyes.js
|
||||
Source0: http://registry.npmjs.org/eyes/-/eyes-%{version}.tgz
|
||||
|
||||
BuildArch: noarch
|
||||
%if 0%{?fedora} >= 19
|
||||
ExclusiveArch: %{nodejs_arches} noarch
|
||||
%else
|
||||
ExclusiveArch: %{ix86} x86_64 %{arm} noarch
|
||||
%endif
|
||||
|
||||
BuildRequires: nodejs-packaging
|
||||
|
||||
%description
|
||||
%{summary}
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n package
|
||||
|
||||
|
||||
%build
|
||||
#nothing to do
|
||||
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{nodejs_sitelib}/eyes
|
||||
cp -pr package.json lib/ \
|
||||
%{buildroot}%{nodejs_sitelib}/eyes
|
||||
|
||||
%nodejs_symlink_deps
|
||||
|
||||
|
||||
%if 0%{?enable_tests}
|
||||
%check
|
||||
%__nodejs test/*-test.js
|
||||
%endif
|
||||
|
||||
|
||||
%files
|
||||
%doc LICENSE README.md
|
||||
%{nodejs_sitelib}/eyes
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.8-12
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.8-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.8-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.8-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.8-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.8-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.8-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.8-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.8-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
* Sun Jul 21 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 0.1.8-3
|
||||
- restrict to compatible arches
|
||||
|
||||
* Wed Jun 19 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.1.8-2
|
||||
- rebuild for missing npm(eyes) provides on EL6
|
||||
|
||||
* Thu Feb 14 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 0.1.8-1
|
||||
- initial package
|
||||
4
nodejs-eyes.yaml
Normal file
4
nodejs-eyes.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: github
|
||||
src_repo: cloudhead/eyes.js
|
||||
tag_prefix: "^"
|
||||
seperator: "."
|
||||
Loading…
x
Reference in New Issue
Block a user