%{?nodejs_find_provides_and_requires}
%global enable_tests 0
Name: nodejs-i18n-transform
Version: 2.1.3
Release: 1%{?dist}
Summary: i18n transforms to a json object.
License: MIT
URL: https://github.com/andyroyle/i18n-transform
Source: http://registry.npmjs.org/i18n-transform/-/i18n-transform-%{version}.tgz
BuildArch: noarch
BuildRequires: nodejs-packaging
Requires: npm(hoek)
ExclusiveArch: %{nodejs_arches} noarch
%if 0%{?enable_tests}
BuildRequires: npm(grunt)
BuildRequires: npm(grunt-cli)
BuildRequires: npm(grunt-mocha-test)
BuildRequires: npm(grunt-contrib-jshint)
BuildRequires: npm(should)
%endif
%description
i18n transforms to a json object.
%prep
%setup -q -n package
%nodejs_fixdep hoek
%build
#nothing to do
%install
mkdir -p %{buildroot}%{nodejs_sitelib}/i18n-transform
cp -pr Gruntfile.js index.js package.json lib/ \
%{buildroot}%{nodejs_sitelib}/i18n-transform
%check
%if 0%{?enable_tests}
%check
grunt
%endif
%files
%doc LICENSE README.md tests/
%{nodejs_sitelib}/i18n-transform
%changelog
* Mon Oct 17 2016 Anish Patil <anish.developer@gmail.com> - 2.1.3-1
- Upstream has released new tarball
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Thu Sep 18 2014 Anish Patil <apatil@redhat.com> - 1.1.1-1
- Upstream has released new tarball
* Tue Aug 19 2014 Anish Patil <apatil@redhat.com> - 1.0.2-1
- Upstream has released new tarball
* Tue Jul 22 2014 Anish Patil <apatil@redhat.com> - 1.0.1-2
- Incorporated package review comments
* Fri May 09 2014 Anish Patil <apatil@redhat.com> - 1.0.1-1
- Initial package