Sophie

Sophie

distrib > Mageia > 7 > i586 > by-pkgid > 4922d08e316bc8992c1257ee3be6d0c4 > files > 1

nodejs-through-2.3.8-2.mga7.src.rpm

%{?nodejs_find_provides_and_requires}

%global enable_tests 0

Name:       nodejs-through
Version:    2.3.8
Release:    %mkrel 2
Summary:    Simplified stream construction for Node.js
License:    MIT or ASL 2.0
Group:      System/Libraries
URL:        https://github.com/dominictarr/through
Source0:    http://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
* Wed Sep 19 2018 umeabot <umeabot> 2.3.8-2.mga7
  (not released yet)
+ 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