Blame SPECS/nodejs-event-stream.spec

209add
%{?scl:%scl_package nodejs-%{module_name}}
209add
%{!?scl:%global pkg_name %{pkg_name}}
209add
209add
%{?nodejs_find_provides_and_requires}
209add
# Disabled as  some modules are not in fedora
209add
%global enable_tests 0
209add
209add
%global module_name event-stream
209add
209add
Name:           %{?scl_prefix}nodejs-%{module_name}
209add
Version:        3.3.2
209add
Release:        6%{?dist}
209add
Summary:        Construct pipes of streams of events
209add
209add
License:        MIT
209add
URL:            https://github.com/dominictarr/event-stream
209add
Source0:        https://registry.npmjs.org/%{module_name}/-/%{module_name}-%{version}.tgz
209add
BuildArch:      noarch
209add
ExclusiveArch:  %{nodejs_arches} noarch
209add
209add
BuildRequires:  %{?scl_prefix}runtime
209add
209add
%if 0%{?enable_tests}
209add
BuildRequires:  %{?scl_prefix}npm(tape)
209add
BuildRequires:  %{?scl_prefix}npm(it-is)
209add
BuildRequires:  %{?scl_prefix}npm(asynct)
209add
BuildRequires:  %{?scl_prefix}npm(stream-spec)
209add
%endif
209add
209add
%description
209add
%{summary}.
209add
209add
%prep
209add
%setup -q -n package
209add
rm -rf node_modules
209add
209add
%nodejs_fixdep map-stream ">=0.1.0"
209add
%nodejs_fixdep split ">=0.3"
209add
%nodejs_fixdep stream-combiner ">=0.0.4"
209add
209add
%build
209add
# nothing to build
209add
209add
%install
209add
mkdir -p %{buildroot}%{nodejs_sitelib}/%{module_name}
209add
cp -pr package.json index.js %{buildroot}%{nodejs_sitelib}/%{module_name}
209add
209add
%nodejs_symlink_deps
209add
%if 0%{?enable_tests}
209add
209add
%check
209add
%nodejs_symlink_deps --check
209add
set -e; for t in test/*.js; do node $t; done
209add
%endif
209add
209add
%files
209add
%{!?_licensedir:%global license %doc}
209add
%doc readme.markdown examples
209add
%license LICENCE
209add
%{nodejs_sitelib}/%{module_name}
209add
209add
%changelog
209add
* Tue Feb 16 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 3.3.2-6
209add
- Use macro in -runtime dependency
209add
209add
* Sun Feb 14 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 3.3.2-5
209add
- Rebuilt with updated metapackage
209add
209add
* Thu Jan 07 2016 Tomas Hrcka <thrcka@redhat.com> - 3.3.2-3
209add
- Enable scl macros
209add
209add
* Thu Dec 17 2015 Troy Dawson <tdawson@redhat.com> - 3.3.2-1
209add
- Update to 3.3.2
209add
209add
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.2-2
209add
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
209add
209add
* Wed Feb 04 2015 Parag Nemade <pnemade AT redhat DOT com> - 3.2.2-1
209add
- update to 3.2.2 upstream release
209add
209add
* Thu Jan 08 2015 Parag Nemade <pnemade AT redhat DOT com> - 3.2.1-1
209add
- Update to 3.2.1
209add
209add
* Sun Dec 07 2014 Parag Nemade <pnemade AT redhat DOT com> - 3.1.7-1
209add
- Initial packaging