Sophie

Sophie

distrib > Mageia > cauldron > x86_64 > by-pkgid > ffcc76398627b848f851040af20cf4db > files > 2

nodejs-isstream-0.1.2-4.mga9.src.rpm

%global npm_name isstream
%global enable_tests 1

Name: nodejs-%{npm_name}
Version: 0.1.2
Release: %mkrel 4
Summary: Determine if an object is a Stream
License: MIT
Group: Development/Other
URL: https://github.com/rvagg/isstream
Source0: https://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz
BuildRequires: nodejs-packaging
BuildArch: noarch

%description
%{summary}

%prep
%setup -q -n package

%build
# Nothing to do here

%install
mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}
cp -pfr isstream.js %{buildroot}%{nodejs_sitelib}/%{npm_name}
cp -pfr package.json %{buildroot}%{nodejs_sitelib}/%{npm_name}
cp -pfr test.js %{buildroot}%{nodejs_sitelib}/%{npm_name}

%nodejs_symlink_deps

%if 0%{?enable_tests}
%check
%{nodejs_symlink_deps} --check
%endif

%files
%{nodejs_sitelib}/%{npm_name}
%license LICENSE.md
%doc README.md



%changelog
* Tue Mar 22 2022 umeabot <umeabot> 0.1.2-4.mga9
+ Revision: 1818534
- Mageia 9 Mass Rebuild

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

* Thu Sep 20 2018 umeabot <umeabot> 0.1.2-2.mga7
+ Revision: 1280539
- Mageia 7 Mass Rebuild

* Wed May 02 2018 kekepower <kekepower> 0.1.2-1.mga7
+ Revision: 1224784
- imported package nodejs-isstream