Sophie

Sophie

distrib > Mageia > 5 > i586 > media > core-updates-src > by-pkgid > 30987c1ef50c9bb665211a1b07544105 > files > 2

nodejs-invert-kv-1.0.0-1.mga5.src.rpm

%{?nodejs_find_provides_and_requires}

Name:           nodejs-invert-kv
Version:        1.0.0
Release:        %mkrel 1
Summary:        Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}
License:        MIT
Group:          Development/Other
Url:            https://github.com/sindresorhus/invert-kv
Source0:        http://registry.npmjs.org/invert-kv/-/invert-kv-%{version}.tgz
BuildRequires:  nodejs
BuildRequires:  nodejs-packaging
BuildArch:      noarch


%description
Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}

%prep
%setup -q -n package

%build
#nothing to do

%install
mkdir -p %{buildroot}%{nodejs_sitelib}/invert-kv
cp -pr  index.js package.json %{buildroot}%{nodejs_sitelib}/invert-kv

%{nodejs_symlink_deps}

%files
%doc readme.md
%{nodejs_sitelib}/invert-kv



%changelog
* Thu Nov 05 2015 spuhler <spuhler> 1.0.0-1.mga5
+ Revision: 897953
- needed for uglify-js

* Fri Oct 30 2015 spuhler <spuhler> 1.0.0-1.mga6
+ Revision: 896776
- imported package nodejs-invert-kv