Sophie

Sophie

distrib > Mageia > 5 > x86_64 > by-pkgid > bfdc0b7fd12f0d947c38ce1a02a04804 > files > 1

nodejs-through-2.3.4-1.mga5.src.rpm

%{?nodejs_find_provides_and_requires}

%global enable_tests 0

Name:       nodejs-through
Version:    2.3.4
Release:    %mkrel 1
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(stream-spec)
BuildRequires:  npm(tape)
%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


%if 0%{?enable_tests}
%check
%nodejs_symlink_deps --check
for t in test/*.js; do
    %__nodejs "${t}"
done
%endif


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




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