Blame SPECS/nodejs-wcwidth.spec

39cb2f
%{?scl:%scl_package nodejs-wcwidth}
39cb2f
%{!?scl:%global pkg_name %{name}}
39cb2f
%{?nodejs_find_provides_and_requires}
39cb2f
39cb2f
Name:           %{?scl_prefix}nodejs-wcwidth
39cb2f
Version:        1.0.0
39cb2f
Release:        7%{?dist}
39cb2f
Summary:        Port of C's wcwidth() and wcswidth()
39cb2f
License:        MIT
39cb2f
Url:            https://github.com/mycoboco/wcwidth.js
39cb2f
Source:         http://registry.npmjs.org/wcwidth/-/wcwidth-%{version}.tgz
39cb2f
BuildRequires:  %{?scl_prefix}runtime
39cb2f
Requires:		%{?scl_prefix}runtime
39cb2f
BuildArch:      noarch
39cb2f
ExclusiveArch:  %{ix86} x86_64 %{arm} noarch
39cb2f
39cb2f
%description
39cb2f
Determine columns needed for a fixed-size wide-character string.
39cb2f
39cb2f
%prep
39cb2f
%setup -q -n package
39cb2f
39cb2f
%build
39cb2f
39cb2f
%install
39cb2f
mkdir -p %{buildroot}%{nodejs_sitelib}/wcwidth
39cb2f
cp -pr package.json index.js combining.js \
39cb2f
        %{buildroot}%{nodejs_sitelib}/wcwidth/
39cb2f
39cb2f
%nodejs_symlink_deps
39cb2f
39cb2f
%files
39cb2f
%doc docs/index.md LICENSE Readme.md
39cb2f
%{nodejs_sitelib}/wcwidth
39cb2f
39cb2f
%changelog
39cb2f
* Tue Feb 16 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.0.0-7
39cb2f
- Use macro in -runtime dependency
39cb2f
39cb2f
* Tue Feb 16 2016 Tomas Hrcka <thrcka@redhat.com> - 1.0.0-6
39cb2f
- Fix hardcoded dependency on metapackage
39cb2f
39cb2f
* Tue Jul 21 2015 Tomas Hrcka <thrcka@redhat.com> - 1.0.0-4
39cb2f
- Add missing build require 
39cb2f
39cb2f
* Mon Jul 20 2015 Tomas Hrcka <thrcka@redhat.com> - 1.0.0-3
39cb2f
- Fix url, Resolves: RHBZ#1210384
39cb2f
39cb2f
* Mon Jan 12 2015 Tomas Hrcka <thrcka@redhat.com> - 1.0.0-2
39cb2f
- Initial build
39cb2f