diff --git a/nodejs-grunt-contrib-clean-0.7.0.tar.gz b/nodejs-grunt-contrib-clean-0.7.0.tar.gz new file mode 100644 index 0000000..3edeab5 Binary files /dev/null and b/nodejs-grunt-contrib-clean-0.7.0.tar.gz differ diff --git a/nodejs-grunt-contrib-clean.spec b/nodejs-grunt-contrib-clean.spec new file mode 100644 index 0000000..ab90399 --- /dev/null +++ b/nodejs-grunt-contrib-clean.spec @@ -0,0 +1,47 @@ +%{?nodejs_find_provides_and_requires} +%global enable_tests 1 +Name: nodejs-grunt-contrib-clean +Version: 0.7.0 +Release: 1 +Summary: A Grunt plugin to clean files and folders +License: MIT +URL: https://github.com/gruntjs/grunt-contrib-clean +Source0: https://github.com/gruntjs/grunt-contrib-clean/archive/v%{version}/%{name}-%{version}.tar.gz +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: npm(grunt-cli) npm(grunt-contrib-nodeunit) npm(rimraf) +%endif +%description +%{summary}. + +%prep +%autosetup -p 1 -n grunt-contrib-clean-%{version} + +%build + +%install +mkdir -p %{buildroot}%{nodejs_sitelib}/grunt-contrib-clean +cp -pr package.json tasks/ \ + %{buildroot}%{nodejs_sitelib}/grunt-contrib-clean +%nodejs_symlink_deps +%if 0%{?enable_tests} + +%check +%nodejs_symlink_deps --check +/usr/bin/grunt nodeunit +%endif + +%files +%doc AUTHORS CHANGELOG CONTRIBUTING.md README.md docs/ +%license LICENSE-MIT +%{nodejs_sitelib}/grunt-contrib-clean + +%changelog +* Thu Aug 20 2020 Anan Fu - 0.7.0-1 +- package init diff --git a/nodejs-grunt-contrib-clean.spec.old b/nodejs-grunt-contrib-clean.spec.old new file mode 100644 index 0000000..c5fb1cd --- /dev/null +++ b/nodejs-grunt-contrib-clean.spec.old @@ -0,0 +1,90 @@ +%{?nodejs_find_provides_and_requires} + +%global enable_tests 1 + +Name: nodejs-grunt-contrib-clean +Version: 0.7.0 +Release: 7%{?dist} +Summary: A Grunt plugin to clean files and folders +License: MIT +URL: https://github.com/gruntjs/grunt-contrib-clean +Source0: https://github.com/gruntjs/grunt-contrib-clean/archive/v%{version}/%{name}-%{version}.tar.gz +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: npm(grunt-cli) +BuildRequires: npm(grunt-contrib-nodeunit) +BuildRequires: npm(rimraf) +%endif + +%description +%{summary}. + + +%prep +%autosetup -p 1 -n grunt-contrib-clean-%{version} + + +%build +#nothing to do + + +%install +mkdir -p %{buildroot}%{nodejs_sitelib}/grunt-contrib-clean +cp -pr package.json tasks/ \ + %{buildroot}%{nodejs_sitelib}/grunt-contrib-clean + +%nodejs_symlink_deps + + +%if 0%{?enable_tests} +%check +%nodejs_symlink_deps --check +/usr/bin/grunt nodeunit +%endif + + +%files +%doc AUTHORS CHANGELOG CONTRIBUTING.md README.md docs/ +%license LICENSE-MIT +%{nodejs_sitelib}/grunt-contrib-clean + + +%changelog +* Fri Feb 01 2019 Fedora Release Engineering - 0.7.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 0.7.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Thu Feb 08 2018 Fedora Release Engineering - 0.7.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 0.7.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 0.7.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Thu Feb 04 2016 Fedora Release Engineering - 0.7.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Sun Jan 17 2016 Tom Hughes - 0.7.0-1 +- Update to 0.7.0 upstream release + +* Wed Jun 17 2015 Fedora Release Engineering - 0.5.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 0.5.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Thu Mar 13 2014 Jamie Nguyen - 0.5.0-1 +- initial package diff --git a/nodejs-grunt-contrib-clean.yaml b/nodejs-grunt-contrib-clean.yaml new file mode 100644 index 0000000..ef64269 --- /dev/null +++ b/nodejs-grunt-contrib-clean.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: gruntjs/grunt-contrib-clean +tag_prefix: "^" +seperator: "."