Blame SPECS/nodejs-text-table.spec

8c14fa
%{?scl:%scl_package nodejs-text-table}
8c14fa
%{!?scl:%global pkg_name %{name}}
8c14fa
8c14fa
# spec file for package nodejs-nodejs-text-table_0.2.0
8c14fa
8c14fa
%global npmname text-table
8c14fa
%{?nodejs_find_provides_and_requires}
8c14fa
8c14fa
Name:           %{?scl_prefix}nodejs-text-table
8c14fa
Version:        0.2.0
8c14fa
Release:        3%{?dist}
8c14fa
Summary:        Borderless text tables with alignment
8c14fa
Url:            https://github.com/substack/text-table
8c14fa
Source0:        http://registry.npmjs.org/text-table/-/text-table-%{version}.tgz
8c14fa
License:        MIT
8c14fa
8c14fa
BuildArch:      noarch
8c14fa
8c14fa
%if 0%{?fedora} >= 19
8c14fa
ExclusiveArch:  %{nodejs_arches} noarch
8c14fa
%else
8c14fa
ExclusiveArch:  %{ix86} x86_64 %{arm} noarch
8c14fa
%endif
8c14fa
8c14fa
BuildRequires:  %{?scl_prefix}nodejs-devel
8c14fa
8c14fa
# cyclic? BuildRequires: %{?scl_prefix}npm(cli-color@0.2.3)
8c14fa
# cyclic? BuildRequires: %{?scl_prefix}npm(tap@0.4.0)
8c14fa
# cyclic? BuildRequires: %{?scl_prefix}npm(tape@1.0.2)
8c14fa
8c14fa
%description
8c14fa
Borderless text tables with alignment
8c14fa
8c14fa
%prep
8c14fa
%setup -q -n package
8c14fa
8c14fa
%build
8c14fa
#nothing to do
8c14fa
8c14fa
%install
8c14fa
mkdir -p %{buildroot}%{nodejs_sitelib}/text-table
8c14fa
cp -pr index.js package.json %{buildroot}%{nodejs_sitelib}/text-table
8c14fa
%nodejs_symlink_deps
8c14fa
8c14fa
%files
8c14fa
%{nodejs_sitelib}/text-table
8c14fa
%doc LICENSE readme.markdown
8c14fa
8c14fa
%changelog
8c14fa
* Sun Feb 14 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 0.2.0-3
8c14fa
- Rebuilt with new metapackage
8c14fa
- add missing BuildArch and ExclusiveArch
8c14fa
8c14fa
* Wed Feb 12 2014 Tomas Hrcka <thrcka@redhat.com>
8c14fa
- Initial package build
8c14fa