Sophie

Sophie

distrib > Mageia > 9 > armv7hl > media > core-release-src > by-pkgid > 750294c954bd292c938f3bff033f3674 > files > 2

nodejs-string-dot-prototype-dot-repeat-0.2.0-6.mga9.src.rpm

%{?nodejs_find_provides_and_requires}

%global packagename string.prototype.repeat
%global enable_tests 1

Name:		nodejs-string-dot-prototype-dot-repeat
Version:	0.2.0
Release:	%mkrel 6
Group:          Development/Java
Summary:	A robust & optimized `String.prototype.repeat` polyfill

License:	MIT
URL:		https://github.com/mathiasbynens/String.prototype.repeat.git
Source0:	https://registry.npmjs.org/%{packagename}/-/%{packagename}-%{version}.tgz
# The test files are not included in the npm tarball.
# Source1 is generated by running Source10, which pulls from the upstream
# version control repository.
Source1:	tests-%{version}.tar.bz2
Source10:	dl-tests.sh


BuildArch:	noarch

BuildRequires:	nodejs-packaging
%if 0%{?enable_tests}
#BuildRequires:	
%endif

Requires:	nodejs

%description
A robust & optimized `String.prototype.repeat` polyfill, based on the
ECMAScript 6 specification.


%prep
%setup -q -n package
# setup the tests
%setup -q -T -D -a 1 -n package



%build
# nothing to do!

%install
mkdir -p %{buildroot}%{nodejs_sitelib}/%{packagename}
cp -pr package.json *.js \
	%{buildroot}%{nodejs_sitelib}/%{packagename}

%nodejs_symlink_deps

%if 0%{?enable_tests}
%check
%nodejs_symlink_deps --check
%{__nodejs} -e 'require("./")'
%{__nodejs} tests/tests.js
%endif


%files
%{!?_licensedir:%global license %doc}
%doc *.md
%license LICENSE-MIT.txt
%{nodejs_sitelib}/%{packagename}





%changelog
* Tue Mar 22 2022 umeabot <umeabot> 0.2.0-6.mga9
+ Revision: 1816977
- Mageia 9 Mass Rebuild

* Wed Feb 12 2020 umeabot <umeabot> 0.2.0-5.mga8
+ Revision: 1492639
- Mageia 8 Mass Rebuild
+ pterjan <pterjan>
- Drop ExclusiveArch preventing building this noarch package on aarch64 machines

* Wed Sep 19 2018 umeabot <umeabot> 0.2.0-4.mga7
+ Revision: 1265346
- Mageia 7 Mass Rebuild

* Tue May 16 2017 neoclust <neoclust> 0.2.0-3.mga6
+ Revision: 1102191
- imported package nodejs-string-dot-prototype-dot-repeat


* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild

* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild

* Tue Dec 15 2015 Jared Smith <jsmith@fedoraproject.org> - 0.2.0-1
- Initial packaging