%{?nodejs_find_provides_and_requires} Name: nodejs-cryptiles Version: 2.0.4 # Can't update to 2.0.5, because that requres NodeJS 4 Release: 3%{?dist} Summary: General purpose cryptography utilities for Node.js License: BSD Group: Development/Libraries URL: https://github.com/hueniverse/cryptiles Source0: http://registry.npmjs.org/cryptiles/-/cryptiles-%{version}.tgz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch %if 0%{?fedora} >= 19 ExclusiveArch: %{nodejs_arches} noarch %else ExclusiveArch: %{ix86} x86_64 %{arm} noarch %endif BuildRequires: nodejs-devel %description %{summary}. %prep %setup -q -n package #fix perms chmod 0644 README.md LICENSE lib/* package.json %build #nothing to do %install rm -rf %{buildroot} mkdir -p %{buildroot}%{nodejs_sitelib}/cryptiles cp -pr lib/ index.js package.json %{buildroot}%{nodejs_sitelib}/cryptiles %nodejs_symlink_deps #Yet Another Unpackaged Test Framework (lab) #%%check #make test %clean rm -rf %{buildroot} %files %{!?_licensedir:%global license %doc} %defattr(-,root,root,-) %{nodejs_sitelib}/cryptiles %doc README.md %license LICENSE %changelog * Fri Oct 30 2015 Jared Smith - 2.0.4-3 - Fix missing files * Fri Oct 30 2015 Jared Smith - 2.0.4-1 - Update to upstream 2.0.4 release * Wed Jun 17 2015 Fedora Release Engineering - 0.2.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.2.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Tue Jul 30 2013 T.C. Hollingsworth - 0.2.2-1 - new upstream release 0.2.2 * Sat Jun 22 2013 T.C. Hollingsworth - 0.2.1-1 - new upstream release 0.2.1 * Sat Jun 22 2013 T.C. Hollingsworth - 0.2.0-3 - restrict to compatible arches * Mon Apr 15 2013 T.C. Hollingsworth - 0.2.0-2 - add macro for EPEL6 dependency generation * Mon Apr 08 2013 T.C. Hollingsworth - 0.2.0-1 - initial package