fuanan add package
This commit is contained in:
parent
6a0ec3b525
commit
7d19788985
36
README.en.md
36
README.en.md
@ -1,36 +0,0 @@
|
||||
# nodejs-cli-color
|
||||
|
||||
#### Description
|
||||
Colors, formatting and other tools for the console
|
||||
|
||||
#### Software Architecture
|
||||
Software architecture description
|
||||
|
||||
#### Installation
|
||||
|
||||
1. xxxx
|
||||
2. xxxx
|
||||
3. xxxx
|
||||
|
||||
#### Instructions
|
||||
|
||||
1. xxxx
|
||||
2. xxxx
|
||||
3. xxxx
|
||||
|
||||
#### Contribution
|
||||
|
||||
1. Fork the repository
|
||||
2. Create Feat_xxx branch
|
||||
3. Commit your code
|
||||
4. Create Pull Request
|
||||
|
||||
|
||||
#### Gitee Feature
|
||||
|
||||
1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md
|
||||
2. Gitee blog [blog.gitee.com](https://blog.gitee.com)
|
||||
3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore)
|
||||
4. The most valuable open source project [GVP](https://gitee.com/gvp)
|
||||
5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help)
|
||||
6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
|
||||
37
README.md
37
README.md
@ -1,37 +0,0 @@
|
||||
# nodejs-cli-color
|
||||
|
||||
#### 介绍
|
||||
Colors, formatting and other tools for the console
|
||||
|
||||
#### 软件架构
|
||||
软件架构说明
|
||||
|
||||
|
||||
#### 安装教程
|
||||
|
||||
1. xxxx
|
||||
2. xxxx
|
||||
3. xxxx
|
||||
|
||||
#### 使用说明
|
||||
|
||||
1. xxxx
|
||||
2. xxxx
|
||||
3. xxxx
|
||||
|
||||
#### 参与贡献
|
||||
|
||||
1. Fork 本仓库
|
||||
2. 新建 Feat_xxx 分支
|
||||
3. 提交代码
|
||||
4. 新建 Pull Request
|
||||
|
||||
|
||||
#### 码云特技
|
||||
|
||||
1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md
|
||||
2. 码云官方博客 [blog.gitee.com](https://blog.gitee.com)
|
||||
3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解码云上的优秀开源项目
|
||||
4. [GVP](https://gitee.com/gvp) 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目
|
||||
5. 码云官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help)
|
||||
6. 码云封面人物是一档用来展示码云会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
|
||||
Binary file not shown.
BIN
clone-1.0.2.tgz
BIN
clone-1.0.2.tgz
Binary file not shown.
@ -1,50 +0,0 @@
|
||||
%{?nodejs_find_provides_and_requires}
|
||||
%global packagename cli-color
|
||||
%global enable_tests 0
|
||||
Name: nodejs-cli-color
|
||||
Version: 1.1.0
|
||||
Release: 1
|
||||
Summary: Colors, formatting and other tools for the console
|
||||
License: MIT
|
||||
URL: https://github.com/medikoo/cli-color.git
|
||||
Source0: https://registry.npmjs.org/cli-color/-/cli-color-%{version}.tgz
|
||||
BuildArch: noarch
|
||||
ExclusiveArch: %{nodejs_arches} noarch
|
||||
ExclusiveArch: %{ix86} x86_64 %{arm} noarch
|
||||
BuildRequires: nodejs-packaging npm(ansi-regex) npm(d) npm(es5-ext) npm(es6-iterator)
|
||||
BuildRequires: npm(memoizee) npm(timers-ext)
|
||||
%if 0%{?enable_tests}
|
||||
BuildRequires: npm(tad)
|
||||
%endif
|
||||
Requires: nodejs
|
||||
%description
|
||||
Colors, formatting and other tools for the console
|
||||
|
||||
%prep
|
||||
%setup -q -n package
|
||||
%nodejs_fixdep d '<2.0.0'
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{nodejs_sitelib}/%{packagename}
|
||||
cp -pr package.json *.js lib/ bin/ \
|
||||
%{buildroot}%{nodejs_sitelib}/%{packagename}
|
||||
%nodejs_symlink_deps
|
||||
|
||||
%check
|
||||
%nodejs_symlink_deps --check
|
||||
%{__nodejs} -e 'require("./")'
|
||||
%if 0%{?enable_tests}
|
||||
%{_bindir}/tad
|
||||
%endif
|
||||
|
||||
%files
|
||||
%{!?_licensedir:%global license %doc}
|
||||
%doc *.md examples/
|
||||
%license LICENSE
|
||||
%{nodejs_sitelib}/%{packagename}
|
||||
|
||||
%changelog
|
||||
* Mon Aug 17 2020 Anan Fu <fuanan3@huawei.com> - 1.1.0-1
|
||||
- package init
|
||||
@ -1,94 +0,0 @@
|
||||
%{?nodejs_find_provides_and_requires}
|
||||
|
||||
%global packagename cli-color
|
||||
%global enable_tests 0
|
||||
# tests disabled due to dependency on npm(tad), which hasn't been packaged
|
||||
# in Fedora, and has a circular dependency on this package
|
||||
|
||||
Name: nodejs-cli-color
|
||||
Version: 1.1.0
|
||||
Release: 7%{?dist}
|
||||
Summary: Colors, formatting and other tools for the console
|
||||
|
||||
License: MIT
|
||||
URL: https://github.com/medikoo/cli-color.git
|
||||
Source0: https://registry.npmjs.org/%{packagename}/-/%{packagename}-%{version}.tgz
|
||||
|
||||
BuildArch: noarch
|
||||
%if 0%{?fedora} >= 19
|
||||
ExclusiveArch: %{nodejs_arches} noarch
|
||||
%else
|
||||
ExclusiveArch: %{ix86} x86_64 %{arm} noarch
|
||||
%endif
|
||||
|
||||
BuildRequires: nodejs-packaging
|
||||
BuildRequires: npm(ansi-regex)
|
||||
BuildRequires: npm(d)
|
||||
BuildRequires: npm(es5-ext)
|
||||
BuildRequires: npm(es6-iterator)
|
||||
BuildRequires: npm(memoizee)
|
||||
BuildRequires: npm(timers-ext)
|
||||
%if 0%{?enable_tests}
|
||||
BuildRequires: npm(tad)
|
||||
%endif
|
||||
|
||||
Requires: nodejs
|
||||
|
||||
%description
|
||||
Colors, formatting and other tools for the console
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n package
|
||||
|
||||
%nodejs_fixdep d '<2.0.0'
|
||||
# Use either 0.1.x or 1.x.x versions of npm(d)
|
||||
|
||||
|
||||
%build
|
||||
# nothing to do!
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{nodejs_sitelib}/%{packagename}
|
||||
cp -pr package.json *.js lib/ bin/ \
|
||||
%{buildroot}%{nodejs_sitelib}/%{packagename}
|
||||
|
||||
%nodejs_symlink_deps
|
||||
|
||||
%check
|
||||
%nodejs_symlink_deps --check
|
||||
%{__nodejs} -e 'require("./")'
|
||||
%if 0%{?enable_tests}
|
||||
%{_bindir}/tad
|
||||
%endif
|
||||
|
||||
|
||||
%files
|
||||
%{!?_licensedir:%global license %doc}
|
||||
%doc *.md examples/
|
||||
%license LICENSE
|
||||
%{nodejs_sitelib}/%{packagename}
|
||||
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Fri Nov 6 2015 Jared Smith <jsmith@fedoraproject.org> - 1.1.0-1
|
||||
- Initial packaging
|
||||
@ -1,4 +0,0 @@
|
||||
version_control: github
|
||||
src_repo: medikoo/cli-color
|
||||
tag_prefix: "^"
|
||||
seperator: "."
|
||||
@ -1 +0,0 @@
|
||||
Subproject commit a0b6aa5786a87d1c8e623320b27ea3c99913add4
|
||||
@ -1,43 +0,0 @@
|
||||
%global enable_tests 1
|
||||
%global srcname clone
|
||||
Name: nodejs-%{srcname}
|
||||
Version: 1.0.2
|
||||
Release: 1
|
||||
Summary: Deep cloning of objects and arrays
|
||||
License: MIT
|
||||
URL: https://github.com/pvorb/node-clone
|
||||
Source0: https://registry.npmjs.org/clone/-/clone-%{version}.tgz
|
||||
BuildArch: noarch
|
||||
ExclusiveArch: %{nodejs_arches} noarch
|
||||
BuildRequires: nodejs-packaging
|
||||
%if 0%{?enable_tests}
|
||||
BuildRequires: nodeunit npm(underscore)
|
||||
%endif
|
||||
%description
|
||||
Offers foolproof deep cloning of variables in JavaScript.
|
||||
|
||||
%prep
|
||||
%setup -q -n package
|
||||
rm -rf node_modules/
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{nodejs_sitelib}/%{srcname}
|
||||
cp -pr package.json clone.js %{buildroot}%{nodejs_sitelib}/%{srcname}
|
||||
%nodejs_symlink_deps
|
||||
%if 0%{?enable_tests}
|
||||
|
||||
%check
|
||||
%nodejs_symlink_deps --check
|
||||
nodeunit test.js
|
||||
%endif
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%{nodejs_sitelib}/%{srcname}
|
||||
|
||||
%changelog
|
||||
* Mon Aug 17 2020 Anan Fu <fuanan3@huawei.com> - 1.0.2-1
|
||||
- package init
|
||||
@ -1,90 +0,0 @@
|
||||
%global enable_tests 1
|
||||
%global srcname clone
|
||||
|
||||
Name: nodejs-%{srcname}
|
||||
Version: 1.0.2
|
||||
Release: 7%{?dist}
|
||||
Summary: Deep cloning of objects and arrays
|
||||
License: MIT
|
||||
URL: https://github.com/pvorb/node-clone
|
||||
Source0: https://registry.npmjs.org/%{srcname}/-/%{srcname}-%{version}.tgz
|
||||
|
||||
BuildArch: noarch
|
||||
ExclusiveArch: %{nodejs_arches} noarch
|
||||
|
||||
BuildRequires: nodejs-packaging
|
||||
|
||||
%if 0%{?enable_tests}
|
||||
BuildRequires: nodeunit
|
||||
BuildRequires: npm(underscore)
|
||||
%endif
|
||||
|
||||
|
||||
%description
|
||||
Offers foolproof deep cloning of variables in JavaScript.
|
||||
|
||||
%prep
|
||||
%setup -q -n package
|
||||
rm -rf node_modules/
|
||||
|
||||
|
||||
%build
|
||||
#nothing to do
|
||||
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{nodejs_sitelib}/%{srcname}
|
||||
cp -pr package.json clone.js %{buildroot}%{nodejs_sitelib}/%{srcname}
|
||||
|
||||
%nodejs_symlink_deps
|
||||
|
||||
|
||||
%if 0%{?enable_tests}
|
||||
%check
|
||||
%nodejs_symlink_deps --check
|
||||
nodeunit test.js
|
||||
%endif
|
||||
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%{nodejs_sitelib}/%{srcname}
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Thu Nov 12 2015 Piotr Popieluch <piotr1212@gmail.com> - 1.0.2-1
|
||||
- Update to new version
|
||||
|
||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Fri Dec 19 2014 Piotr Popieluch <piotr1212@gmail.com> - 0.2.0-1
|
||||
- updated to latest upstream
|
||||
|
||||
* Sat Dec 6 2014 Piotr Popieluch <piotr1212@gmail.com> - 0.1.18-2
|
||||
- Added LICENSE to %%files
|
||||
- Added rm -rf node_modules to %%prep
|
||||
- Capitalized summary
|
||||
- Removed Group tag
|
||||
|
||||
* Fri Nov 21 2014 Piotr Popieluch <piotr1212@gmail.com> - 0.1.18-1
|
||||
- Initial package
|
||||
@ -1,4 +0,0 @@
|
||||
version_control: github
|
||||
src_repo: pvorb/node-clone
|
||||
tag_prefix: "^"
|
||||
seperator: "."
|
||||
Loading…
x
Reference in New Issue
Block a user