%{?nodejs_find_provides_and_requires} %global enable_tests 0 Name: nodejs-grunt-contrib-concat Version: 0.4.0 Release: 9%{?dist} Summary: Concatenate files with grunt License: MIT Group: System Environment/Libraries URL: https://github.com/gruntjs/grunt-contrib-concat Source0: http://registry.npmjs.org/grunt-contrib-concat/-/grunt-contrib-concat-%{version}.tgz # Source1 is generated by running Source10, which pulls from the upstream # version control repository. Source1: tests-v%{version}.tar.bz2 Source10: dl-tests.sh Source20: https://raw.githubusercontent.com/gruntjs/grunt-contrib-concat/0e1832eeaf3da7afc46cb792b0abdf7ffdbc14fe/Gruntfile.js 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(chalk) BuildRequires: npm(grunt-cli) BuildRequires: npm(grunt-contrib-clean) BuildRequires: npm(grunt-contrib-internal) BuildRequires: npm(grunt-contrib-nodeunit) %endif %description %{summary}. %prep %setup -q -n package %setup -q -T -D -a 1 -n package cp -p %{SOURCE20} . %nodejs_fixdep chalk ^1.1.1 %build #nothing to do %install mkdir -p %{buildroot}%{nodejs_sitelib}/grunt-contrib-concat cp -pr package.json tasks/ \ %{buildroot}%{nodejs_sitelib}/grunt-contrib-concat %nodejs_symlink_deps %if 0%{?enable_tests} %check %nodejs_symlink_deps --check /usr/bin/grunt test %endif %files %doc LICENSE-MIT README.md %{nodejs_sitelib}/grunt-contrib-concat %changelog * Fri Jul 13 2018 Fedora Release Engineering - 0.4.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Feb 08 2018 Fedora Release Engineering - 0.4.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 0.4.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 0.4.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Feb 22 2016 Tom Hughes - 0.4.0-5 - Update npm(chalk) dependency * Thu Feb 04 2016 Fedora Release Engineering - 0.4.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 0.4.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.4.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun Apr 20 2014 Jamie Nguyen - 0.4.0-1 - update to upstream release 0.4.0 * Fri Jun 21 2013 Jamie Nguyen - 0.3.0-1 - initial package