4507600
# Tests disabled due to missing dependencies
4507600
%global enable_tests 0
4507600
%global srcname fg-lodash
4507600
4507600
Name:           nodejs-%{srcname}
4507600
Version:        0.0.2
4507600
Release:        1%{?dist}
4507600
Summary:        FG variant of lodash
4507600
License:        MIT
4507600
URL:            https://github.com/FGRibreau/lodash
4507600
Source0:        https://registry.npmjs.org/%{srcname}/-/%{srcname}-%{version}.tgz
4507600
4507600
BuildArch:      noarch
4507600
ExclusiveArch:  %{nodejs_arches} noarch
4507600
4507600
BuildRequires:  nodejs-packaging
4507600
4507600
%if 0%{?enable_tests}
4507600
BuildRequires:  npm(gulp)
4507600
BuildRequires:  npm(gulp-jasmine)
4507600
BuildRequires:  npm(gulp-jshint)
4507600
%endif
4507600
4507600
%description
4507600
%{summary}.
4507600
4507600
%prep
4507600
%setup -q -n package
4507600
rm -rf node_modules
4507600
%nodejs_fixdep underscore.string '2.3.x'
4507600
4507600
%build
4507600
#nothing to do
4507600
4507600
%install
4507600
mkdir -p %{buildroot}%{nodejs_sitelib}/%{srcname}
4507600
cp -pr package.json index.js %{buildroot}%{nodejs_sitelib}/%{srcname}
4507600
4507600
%nodejs_symlink_deps
4507600
4507600
%if 0%{?enable_tests}
4507600
%check
4507600
%nodejs_symlink_deps --check
4507600
gulp
4507600
%endif
4507600
4507600
%files
4507600
%doc README.md
4507600
%license LICENSE
4507600
%{nodejs_sitelib}/%{srcname}
4507600
4507600
%changelog
4507600
* Fri Aug 28 2015 Piotr Popieluch <piotr1212@gmail.com> - 0.0.2-1
4507600
- Initial package