diff --git a/nodejs-grunt-legacy-log.spec b/nodejs-grunt-legacy-log.spec new file mode 100644 index 0000000..3a3df38 --- /dev/null +++ b/nodejs-grunt-legacy-log.spec @@ -0,0 +1,43 @@ +%{?nodejs_find_provides_and_requires} +Name: nodejs-grunt-legacy-log +Version: 1.0.2 +Release: 1 +Summary: The Grunt 0.4.x logger +License: MIT +URL: https://github.com/gruntjs/grunt-legacy-log +Source0: https://github.com/gruntjs/grunt-legacy-log/archive/v%{version}.tar.gz +BuildArch: noarch +ExclusiveArch: %{nodejs_arches} noarch +BuildRequires: nodejs-packaging +BuildRequires: npm(nodeunit) npm(colors) npm(grunt-legacy-log-utils) npm(hooker) npm(lodash) +BuildRequires: npm(underscore.string) +%description +%{summary}. + +%prep +%autosetup -n grunt-legacy-log-%{version} +%nodejs_fixdep colors "^1.1.2" +%nodejs_fixdep lodash "^3.10.1" +%nodejs_fixdep underscore.string "^2.3.1" +rm -rf node_modules + +%build + +%install +mkdir -p %{buildroot}%{nodejs_sitelib}/grunt-legacy-log +cp -pr package.json index.js %{buildroot}%{nodejs_sitelib}/grunt-legacy-log +%nodejs_symlink_deps + +%check +%nodejs_symlink_deps --check +FORCE_COLOR=1 %{nodejs_sitelib}/nodeunit/bin/nodeunit test/index.js + +%files +%{!?_licensedir:%global license %doc} +%doc README.md CHANGELOG +%license LICENSE-MIT +%{nodejs_sitelib}/grunt-legacy-log + +%changelog +* Thu Aug 20 2020 Anan Fu - 1.0.2-1 +- package init diff --git a/nodejs-grunt-legacy-log.yaml b/nodejs-grunt-legacy-log.yaml new file mode 100644 index 0000000..1fdf7f1 --- /dev/null +++ b/nodejs-grunt-legacy-log.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: gruntjs/grunt-legacy-log +tag_prefix: "^v" +seperator: "." diff --git a/v1.0.2.tar.gz b/v1.0.2.tar.gz new file mode 100644 index 0000000..acb9012 Binary files /dev/null and b/v1.0.2.tar.gz differ