%{?scl:%scl_package nodejs-cryptiles} %{!?scl:%global pkg_name %{name}} %{?nodejs_find_provides_and_requires} Name: %{?scl_prefix}nodejs-cryptiles Version: 0.2.2 Release: 2%{?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}/%{pkg_name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch ExclusiveArch: %{nodejs_arches} noarch BuildRequires: %{?scl_prefix}nodejs-devel %description %{summary}. %prep %setup -q -n package #fix perms chmod 0644 README.md LICENSE lib/* index.js 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 %defattr(-,root,root,-) %{nodejs_sitelib}/cryptiles %doc README.md LICENSE %changelog * Thu Oct 17 2013 Tomas Hrcka - 0.2.2-2 - replace provides and requires with macro * 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 * Fri Apr 12 2013 Stanislav Ochotnicky - 0.2.0-2 - Add support for software collections * Mon Apr 08 2013 T.C. Hollingsworth - 0.2.0-1 - initial package