%{?nodejs_find_provides_and_requires} Name: nodejs-hawk Version: 3.1.0 Release: 1%{?dist} Summary: HTTP Hawk authentication scheme License: BSD Group: Development/Libraries URL: https://github.com/hueniverse/hawk Source0: http://registry.npmjs.org/hawk/-/hawk-%{version}.tgz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch ExclusiveArch: %{nodejs_arches} noarch BuildRequires: nodejs-devel %description Hawk is an HTTP authentication scheme using a message authentication code (MAC) algorithm to provide partial HTTP request cryptographic verification. %prep %setup -q -n package #fix perms chmod 0644 README.md LICENSE example/* images/* lib/* *.json %build #nothing to do %install rm -rf %{buildroot} mkdir -p %{buildroot}%{nodejs_sitelib}/hawk cp -pr lib *.json %{buildroot}%{nodejs_sitelib}/hawk %nodejs_symlink_deps #Yet Another Unpackaged Test Framework (lab) #%%check #lab -a code -t 100 -L %clean rm -rf %{buildroot} %files %{!?_licensedir:%global license %doc} %defattr(-,root,root,-) %{nodejs_sitelib}/hawk %doc README.md example images %license LICENSE %changelog * Thu Oct 29 2015 Jared Smith - 3.1.0-1 - Update to upstream 3.1.0 release * Wed Jun 17 2015 Fedora Release Engineering - 1.0.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 1.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Tue Jul 30 2013 T.C. Hollingsworth - 1.0.0-1 - new upstream release 1.0.0 * Sun Jun 23 2013 T.C. Hollingsworth - 0.15.0-1 - new upstream release 0.15.0 * Sat Jun 22 2013 T.C. Hollingsworth - 0.12.1-3 - restrict to compatible arches * Mon Apr 15 2013 T.C. Hollingsworth - 0.12.1-2 - add macro for EPEL6 dependency generation * Tue Apr 09 2013 T.C. Hollingsworth - 0.12.1-1 - new upstream release 0.12.1 * Mon Apr 08 2013 T.C. Hollingsworth - 0.11.1-2 - fix rpmlint warnings * Fri Apr 05 2013 T.C. Hollingsworth - 0.11.1-1 - initial package