Blob Blame History Raw
%{?nodejs_find_provides_and_requires}

Name:           nodejs-asap
Version:        2.0.3
Release:        3%{?dist}
Summary:        High-priority task queue for Node.js and browser
License:        MIT
Group:          System Environment/Libraries
URL:            https://github.com/kriskowal/asap
Source0:        https://github.com/kriskowal/asap/archive/v%{version}/asap-%{version}.tar.gz
BuildArch:      noarch

%if 0%{?fedora} >= 19
ExclusiveArch:  %{nodejs_arches} noarch
%else
ExclusiveArch:  %{ix86} x86_64 %{arm} noarch
%endif

BuildRequires:  nodejs-packaging

%description
%{summary}.

%prep
%setup -q -n asap-%{version}


%build
#nothing to do


%install
mkdir -p %{buildroot}%{nodejs_sitelib}/asap
cp -pr package.json asap.js raw.js \
    %{buildroot}%{nodejs_sitelib}/asap
%nodejs_symlink_deps


%check
%{nodejs_symlink_deps} --check
%__nodejs test/asap-test.js


%files
%doc README.md CHANGES.md CONTRIBUTING.md
%license LICENSE.md
%{nodejs_sitelib}/asap


%changelog
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild

* Sun Jan 17 2016 Tom Hughes <tom@compton.nu> - 2.0.3-2
- Include raw.js in built package

* Sun Jan 17 2016 Tom Hughes <tom@compton.nu> - 2.0.3-1
- Update to 2.0.3 upstream release
- Enable tests

* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild

* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild

* Sun Mar 02 2014 Jamie Nguyen <jamielinux@fedoraproject.org> - 1.0.0-1
- initial package