Blame SPECS/nodejs-xdg-basedir.spec

225425
%{?scl:%scl_package nodejs-%{npm_name}}
225425
%{!?scl:%global pkg_name %{name}}
225425
225425
%{?nodejs_find_provides_and_requires}
225425
%global npm_name xdg-basedir
225425
225425
Summary:       Get XDG Base Directory paths
225425
Name:          %{?scl_prefix}nodejs-%{npm_name}
225425
Version:       2.0.0
225425
Release:       4%{?dist}
225425
License:       MIT
225425
URL:           https://github.com/sindresorhus/xdg-basedir
225425
Source0:       http://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz
225425
BuildRequires: %{?scl_prefix}runtime
225425
ExclusiveArch: %{nodejs_arches} noarch
225425
BuildArch:     noarch
225425
Provides:      %{?scl_prefix}nodejs-%{npm_name} = %{version}
225425
225425
%description
225425
Get XDG Base Directory paths.
225425
225425
%prep
225425
%setup -q -n package
225425
225425
%build
225425
225425
%install
225425
mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}
225425
cp -pr index.js package.json %{buildroot}%{nodejs_sitelib}/%{npm_name}
225425
225425
%nodejs_symlink_deps
225425
225425
%files
225425
%{!?_licensedir:%global license %doc}
225425
%doc readme.md
225425
%license license
225425
%{nodejs_sitelib}/%{npm_name}
225425
225425
%changelog
225425
* Tue Feb 16 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 2.0.0-4
225425
- Use macro in -runtime dependency
225425
225425
* Thu Jan 07 2016 Tomas Hrcka <thrcka@redhat.com> - 2.0.0-2
225425
- Enable scl macros
225425
225425
* Wed Dec 16 2015 Troy Dawson <tdawson@redhat.com> - 2.0.0-1
225425
- Initial package