|
Jared K. Smith |
3929d95 |
%{?nodejs_find_provides_and_requires}
|
|
Jared K. Smith |
3929d95 |
|
|
Jared K. Smith |
3929d95 |
%global packagename md5-o-matic
|
|
Jared K. Smith |
3929d95 |
%global enable_tests 1
|
|
Jared K. Smith |
3929d95 |
|
|
Jared K. Smith |
3929d95 |
Name: nodejs-md5-o-matic
|
|
Jared K. Smith |
3929d95 |
Version: 0.1.1
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
781c684 |
Release: 7%{?dist}
|
|
Jared K. Smith |
3929d95 |
Summary: Fast and simple MD5 hashing utility with zero dependencies
|
|
Jared K. Smith |
3929d95 |
|
|
Jared K. Smith |
3929d95 |
License: MIT
|
|
Jared K. Smith |
3929d95 |
URL: https://github.com/trentmillar/md5-o-matic.git
|
|
Jared K. Smith |
3929d95 |
Source0: https://registry.npmjs.org/%{packagename}/-/%{packagename}-%{version}.tgz
|
|
Jared K. Smith |
3929d95 |
|
|
Jared K. Smith |
3929d95 |
|
|
Jared K. Smith |
3929d95 |
BuildArch: noarch
|
|
Jared K. Smith |
3929d95 |
%if 0%{?fedora} >= 19
|
|
Jared K. Smith |
3929d95 |
ExclusiveArch: %{nodejs_arches} noarch
|
|
Jared K. Smith |
3929d95 |
%else
|
|
Jared K. Smith |
3929d95 |
ExclusiveArch: %{ix86} x86_64 %{arm} noarch
|
|
Jared K. Smith |
3929d95 |
%endif
|
|
Jared K. Smith |
3929d95 |
|
|
Jared K. Smith |
3929d95 |
BuildRequires: nodejs-packaging
|
|
Jared K. Smith |
3929d95 |
%if 0%{?enable_tests}
|
|
Jared K. Smith |
3929d95 |
BuildRequires: mocha
|
|
Jared K. Smith |
3929d95 |
BuildRequires: npm(should)
|
|
Jared K. Smith |
3929d95 |
%endif
|
|
Jared K. Smith |
3929d95 |
|
|
Jared K. Smith |
3929d95 |
%description
|
|
Jared K. Smith |
3929d95 |
Fast and simple MD5 hashing utility with zero module dependencies. View the MD5
|
|
Jared K. Smith |
3929d95 |
Shootout results at http://jsperf.com/md5-shootout/39
|
|
Jared K. Smith |
3929d95 |
|
|
Jared K. Smith |
3929d95 |
|
|
Jared K. Smith |
3929d95 |
%prep
|
|
Jared K. Smith |
3929d95 |
%setup -q -n package
|
|
Jared K. Smith |
3929d95 |
|
|
Jared K. Smith |
3929d95 |
|
|
Jared K. Smith |
3929d95 |
%build
|
|
Jared K. Smith |
3929d95 |
# nothing to do!
|
|
Jared K. Smith |
3929d95 |
|
|
Jared K. Smith |
3929d95 |
%install
|
|
Jared K. Smith |
3929d95 |
mkdir -p %{buildroot}%{nodejs_sitelib}/%{packagename}
|
|
Jared K. Smith |
3929d95 |
cp -pr package.json lib/ \
|
|
Jared K. Smith |
3929d95 |
%{buildroot}%{nodejs_sitelib}/%{packagename}
|
|
Jared K. Smith |
3929d95 |
|
|
Jared K. Smith |
3929d95 |
%nodejs_symlink_deps
|
|
Jared K. Smith |
3929d95 |
|
|
Jared K. Smith |
3929d95 |
%check
|
|
Jared K. Smith |
3929d95 |
%nodejs_symlink_deps --check
|
|
Jared K. Smith |
3929d95 |
%{__nodejs} -e 'require("./")'
|
|
Jared K. Smith |
3929d95 |
%if 0%{?enable_tests}
|
|
Jared K. Smith |
3929d95 |
%{_bindir}/mocha -R spec
|
|
Jared K. Smith |
3929d95 |
%else
|
|
Jared K. Smith |
3929d95 |
%{_bindir}/echo "Tests disabled..."
|
|
Jared K. Smith |
3929d95 |
%endif
|
|
Jared K. Smith |
3929d95 |
|
|
Jared K. Smith |
3929d95 |
|
|
Jared K. Smith |
3929d95 |
%files
|
|
Jared K. Smith |
3929d95 |
%{!?_licensedir:%global license %doc}
|
|
Jared K. Smith |
3929d95 |
%doc *.md
|
|
Jared K. Smith |
3929d95 |
%license LICENSE
|
|
Jared K. Smith |
3929d95 |
%{nodejs_sitelib}/%{packagename}
|
|
Jared K. Smith |
3929d95 |
|
|
Jared K. Smith |
3929d95 |
|
|
Jared K. Smith |
3929d95 |
%changelog
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
781c684 |
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.1-7
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
781c684 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
781c684 |
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
f314ff4 |
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.1-6
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
f314ff4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
f314ff4 |
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
7036392 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.1-5
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
7036392 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
7036392 |
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
b049b38 |
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.1-4
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
b049b38 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
b049b38 |
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
e35b57b |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.1-3
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
e35b57b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
e35b57b |
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
1e91b05 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.1-2
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
1e91b05 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
![](https://seccdn.libravatar.org/avatar/66cca4ddfe914918eb13788577f8ad64d709ccf9f83b384b49228bb9a83a1533?s=16&d=retro) |
1e91b05 |
|
|
Jared K. Smith |
3929d95 |
* Tue Feb 9 2016 Jared Smith <jsmith@fedoraproject.org> - 0.1.1-1
|
|
Jared K. Smith |
3929d95 |
- Initial packaging
|