Blame SPECS/nodejs-columnify.spec

d078e5
%{?scl:%scl_package nodejs-columnify}
d078e5
%{!?scl:%global pkg_name %{name}}
d078e5
d078e5
%global npmname columnify
d078e5
%{?nodejs_find_provides_and_requires}
d078e5
d078e5
Name:           %{?scl_prefix}nodejs-columnify
d078e5
Version:        1.5.4
d078e5
Release:        1%{?dist}
d078e5
Summary:        Render data in text columns, supports in-column text-wrap.
d078e5
Url:            https://github.com/timoxley/columnify
d078e5
Source0:        http://registry.npmjs.org/columnify/-/columnify-%{version}.tgz
d078e5
License:        MIT
d078e5
ExclusiveArch:  %{nodejs_arches} noarch
d078e5
BuildArch:	    noarch
d078e5
BuildRequires:  %{?scl_prefix}nodejs-devel
d078e5
d078e5
%description
d078e5
Render data in text columns, supports in-column text-wrap.
d078e5
d078e5
%prep
d078e5
%setup -q -n package
d078e5
d078e5
%build
d078e5
#nothing to do
d078e5
d078e5
%install
d078e5
rm -rf %buildroot
d078e5
d078e5
mkdir -p %{buildroot}%{nodejs_sitelib}/columnify
d078e5
cp -pr index.js utils.js width.js columnify.js  package.json %{buildroot}%{nodejs_sitelib}/columnify
d078e5
d078e5
%nodejs_symlink_deps
d078e5
d078e5
%clean
d078e5
rm -rf %buildroot
d078e5
d078e5
%files
d078e5
%{nodejs_sitelib}/columnify
d078e5
%license LICENSE
d078e5
%doc Readme.md
d078e5
d078e5
%changelog
d078e5
* Thu Apr 07 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.5.4-1
d078e5
- Update to 1.5.4
d078e5
d078e5
* Tue Feb 16 2016 Tomas Hrcka <thrcka@redhat.com> - 1.3.2-5
d078e5
- Fix dependency on strip-ansi 
d078e5
d078e5
* Fri Jan 09 2015 Tomas Hrcka <thrcka@redhat.com> - 1.3.2-3
d078e5
- New upstream release 1.3.2
d078e5
d078e5
* Mon Feb 17 2014 Tomas Hrcka <thrcka@redhat.com> - 0.1.2-1
d078e5
- Initial build 
d078e5