Blame SPECS/nodejs-randomatic.spec

5fcf82
%{?scl:%scl_package nodejs-%{npm_name}}
5fcf82
%{!?scl:%global pkg_name %{name}}
5fcf82
5fcf82
%{?nodejs_find_provides_and_requires}
5fcf82
%global npm_name randomatic
5fcf82
5fcf82
Summary:       Generate randomized strings of a specified length, fast
5fcf82
Name:          %{?scl_prefix}nodejs-%{npm_name}
5fcf82
Version:       1.1.5
5fcf82
Release:       4%{?dist}
5fcf82
License:       MIT
5fcf82
URL:           https://github.com/jonschlinkert/randomatic
5fcf82
Source0:       http://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz
5fcf82
BuildRequires: %{?scl_prefix}nodejs-devel
5fcf82
ExclusiveArch: %{nodejs_arches} noarch
5fcf82
BuildArch:     noarch
5fcf82
5fcf82
%description
5fcf82
Generate randomized strings of a specified length, fast. 
5fcf82
Only the length is necessary, but you can optionally generate 
5fcf82
patterns using any combination of numeric, alpha-numeric, 
5fcf82
alphabetical, special or custom characters.
5fcf82
5fcf82
%prep
5fcf82
%setup -q -n package
5fcf82
chmod 644 *
5fcf82
5fcf82
%build
5fcf82
5fcf82
%install
5fcf82
mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}
5fcf82
cp -pr index.js package.json %{buildroot}%{nodejs_sitelib}/%{npm_name}
5fcf82
5fcf82
%nodejs_symlink_deps
5fcf82
5fcf82
%files
5fcf82
%doc README.md
5fcf82
%license LICENSE
5fcf82
%{nodejs_sitelib}/%{npm_name}
5fcf82
5fcf82
%changelog
5fcf82
* Tue Feb 16 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.1.5-4
5fcf82
- Use macro in -runtime dependency
5fcf82
5fcf82
* Sun Feb 14 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.1.5-3
5fcf82
- Rebuilt with updated metapackage
5fcf82
5fcf82
* Thu Jan 14 2016 Tomas Hrcka <thrcka@redhat.com> - 1.1.5-2
5fcf82
- Enable scl macros
5fcf82
5fcf82
* Wed Dec 16 2015 Troy Dawson <tdawson@redhat.com> - 1.1.5-1
5fcf82
- Initial package