Sophie

Sophie

distrib > Mageia > cauldron > i586 > media > core-release-src > by-pkgid > 2872d9d3544cb397104c30e30886f987 > files > 1

nodejs-through-2.3.8-5.mga9.src.rpm

%{?nodejs_find_provides_and_requires}

%global enable_tests 0

Name:       nodejs-through
Version:    2.3.8
Release:    %mkrel 5
Summary:    Simplified stream construction for Node.js
License:    MIT or ASL 2.0
Group:      System/Libraries
URL:        https://github.com/dominictarr/through
Source0:    https://registry.npmjs.org/through/-/through-%{version}.tgz

BuildArch:  noarch

BuildRequires:  nodejs-packaging

%if 0%{?enable_tests}
BuildRequires:  npm(tape)
BuildRequires:  npm(from)
#BuildRequires:  npm(stream-spec)
%endif

%description
%{summary}.


%prep
%setup -q -n package


%build
#nothing to do


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

%nodejs_symlink_deps


%check
%nodejs_symlink_deps --check
%__nodejs -e "require('./')"
%if 0%{?enable_tests}
# requires npm(stream-spec)
rm test/index.js
tape test/*.js
%endif


%files
%doc readme.markdown
%license LICENSE.APACHE2 LICENSE.MIT
%{nodejs_sitelib}/through




%changelog
* Tue Mar 22 2022 umeabot <umeabot> 2.3.8-5.mga9
+ Revision: 1819788
- Mageia 9 Mass Rebuild

* Tue May 05 2020 tv <tv> 2.3.8-4.mga8
+ Revision: 1580178
- rebuild w/o rich deps

* Wed Feb 12 2020 umeabot <umeabot> 2.3.8-3.mga8
+ Revision: 1492644
- Mageia 8 Mass Rebuild

* Wed Sep 19 2018 umeabot <umeabot> 2.3.8-2.mga7
+ Revision: 1265352
- Mageia 7 Mass Rebuild

* Sun May 22 2016 tv <tv> 2.3.8-1.mga6
+ Revision: 1017702
- new release

* Mon Feb 08 2016 umeabot <umeabot> 2.3.4-2.mga6
+ Revision: 950391
- Mageia 6 Mass Rebuild

* Tue Oct 28 2014 tv <tv> 2.3.4-1.mga5
+ Revision: 794230
- imported package nodejs-through


* Tue Oct 28 2014 Thierry Vignaud <tv@mageia.org> 2.3.4-1.mga5
- import from FC

* Mon May 27 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 2.3.4-1
- initial package