Blame SPECS/nodejs-aws-sign.spec

9dcd31
%{?scl:%scl_package nodejs-aws-sign}
9dcd31
%{!?scl:%global pkg_name %{name}}
9dcd31
%{?nodejs_find_provides_and_requires}
9dcd31
9dcd31
Name:       %{?scl_prefix}nodejs-aws-sign
9dcd31
Version:    0.3.0
9dcd31
Release:    2%{?dist}
9dcd31
Summary:    AWS signing for Node.js
9dcd31
# Apache 2.0 License added upstream, will appear in next release
9dcd31
# https://github.com/mikeal/aws-sign/blob/master/LICENSE
9dcd31
License:    ASL 2.0
9dcd31
Group:      Development/Libraries
9dcd31
URL:        https://github.com/mikeal/aws-sign
9dcd31
Source0:    http://registry.npmjs.org/aws-sign/-/aws-sign-%{version}.tgz
9dcd31
BuildRoot:  %{_tmppath}/%{pkg_name}-%{version}-%{release}-root-%(%{__id_u} -n)
9dcd31
BuildArch:  noarch
9dcd31
ExclusiveArch: %{nodejs_arches} noarch
9dcd31
9dcd31
BuildRequires:  %{?scl_prefix}nodejs-devel
9dcd31
9dcd31
%description
9dcd31
Simple module to calculate Authorization header for Amazon AWS REST requests.
9dcd31
9dcd31
%prep
9dcd31
%setup -q -n package
9dcd31
9dcd31
%build
9dcd31
#nothing to do
9dcd31
9dcd31
%install
9dcd31
rm -rf %{buildroot}
9dcd31
9dcd31
mkdir -p %{buildroot}%{nodejs_sitelib}/aws-sign
9dcd31
cp -pr index.js package.json %{buildroot}%{nodejs_sitelib}/aws-sign
9dcd31
9dcd31
%nodejs_symlink_deps
9dcd31
9dcd31
%clean
9dcd31
rm -rf %{buildroot}
9dcd31
9dcd31
%files
9dcd31
%defattr(-,root,root,-)
9dcd31
%{nodejs_sitelib}/aws-sign
9dcd31
9dcd31
%changelog
9dcd31
* Thu Oct 17 2013 Tomas Hrcka <thrcka@redhat.com> - 0.3.0-2
9dcd31
- replace provides and requires with macro
9dcd31
9dcd31
9dcd31
* Sat Jun 22 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.3.0-1
9dcd31
- new upstream release 0.3.0
9dcd31
9dcd31
* Sat Jun 22 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.2.0-3
9dcd31
- restrict to compatible arches
9dcd31
9dcd31
* Mon Apr 15 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.2.0-2
9dcd31
- add macro for EPEL6 dependency generation
9dcd31
9dcd31
* Fri Apr 12 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0.2.0-2
9dcd31
- Add support for software collections
9dcd31
9dcd31
* Fri Apr 05 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.2.0-1
9dcd31
- initial package