Blame SPECS/nodejs-text-table.spec

7e15b1
%{?scl:%scl_package nodejs-text-table}
7e15b1
%{!?scl:%global pkg_name %{name}}
7e15b1
7e15b1
# spec file for package nodejs-nodejs-text-table_0.2.0
7e15b1
7e15b1
%global npmname text-table
7e15b1
%{?nodejs_find_provides_and_requires}
7e15b1
7e15b1
Name:           %{?scl_prefix}nodejs-text-table
7e15b1
Version:        0.2.0
7e15b1
Release:        1%{?dist}
7e15b1
Summary:        borderless text tables with alignment
7e15b1
Url:            https://github.com/substack/text-table
7e15b1
Source0:        http://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz
7e15b1
License:        MIT
7e15b1
7e15b1
BuildRoot:      %{_tmppath}/%{pkg_name}-%{version}-%{release}-root-%(%{__id_u} -n)
7e15b1
7e15b1
BuildRequires:  %{?scl_prefix}nodejs-devel
7e15b1
7e15b1
# cyclic? BuildRequires: %{?scl_prefix}npm(cli-color@0.2.3)
7e15b1
# cyclic? BuildRequires: %{?scl_prefix}npm(tap@0.4.0)
7e15b1
# cyclic? BuildRequires: %{?scl_prefix}npm(tape@1.0.2)
7e15b1
7e15b1
%description
7e15b1
borderless text tables with alignment
7e15b1
7e15b1
%prep
7e15b1
%setup -q -n package
7e15b1
7e15b1
%build
7e15b1
#nothing to do
7e15b1
7e15b1
%install
7e15b1
rm -rf %buildroot
7e15b1
7e15b1
mkdir -p %{buildroot}%{nodejs_sitelib}/text-table
7e15b1
cp -pr index.js package.json %{buildroot}%{nodejs_sitelib}/text-table
7e15b1
%nodejs_symlink_deps
7e15b1
7e15b1
%clean
7e15b1
rm -rf %buildroot
7e15b1
7e15b1
%files
7e15b1
%defattr(-,root,root,-)
7e15b1
%{nodejs_sitelib}/text-table
7e15b1
7e15b1
%doc LICENSE readme.markdown
7e15b1
7e15b1
%changelog
7e15b1
* Wed Feb 12 2014 Tomas Hrcka <thrcka@redhat.com>
7e15b1
- Initial package build
7e15b1