%{?nodejs_find_provides_and_requires} %global enable_tests 1 Name: nodejs-ini Version: 1.3.4 Release: 1%{?dist} Summary: An INI parser/serializer for node.js License: MIT Group: System Environment/Libraries URL: https://github.com/isaacs/proto-list Source0: http://registry.npmjs.org/ini/-/ini-%{version}.tgz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch ExclusiveArch: %{nodejs_arches} noarch BuildRequires: nodejs-devel %if 0%{?enable_tests} BuildRequires: npm(tap) %endif %description An INI file parser and serializer for node.js. %prep %setup -q -n package %build #nothing to do %install rm -rf %{buildroot} mkdir -p %{buildroot}%{nodejs_sitelib}/ini cp -p ini.js package.json %{buildroot}%{nodejs_sitelib}/ini %nodejs_symlink_deps # We currently don't run tests because I'd have to file another ten or # so review reuqests for the node.js TAP testing framework and methinks there # are enough of those for now. ;-) %if 0%{?enable_tests} %check %nodejs_symlink_deps --check %{_bindir}/tap test/*.js %endif %clean rm -rf %{buildroot} %files %{!?_licensedir:%global license %doc} %defattr(-,root,root,-) %{nodejs_sitelib}/ini %doc README.md %license LICENSE %changelog * Sun Oct 25 2015 Jared Smith - 1.3.4-1 - Update to upstream 1.3.4 release * Wed Jun 17 2015 Fedora Release Engineering - 1.1.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 1.1.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 1.1.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Sat Jun 22 2013 T.C. Hollingsworth - 1.1.0-3 - restrict to compatible arches * Mon Apr 15 2013 T.C. Hollingsworth - 1.1.0-2 - add macro for EPEL6 dependency generation * Sat Feb 09 2013 T.C. Hollingsworth - 1.1.0-1 - new upstream release 1.1.0 * Tue Jan 08 2013 T.C. Hollingsworth - 1.0.5-2 - add missing build section * Mon Dec 31 2012 T.C. Hollingsworth - 1.0.5-1 - new upstream release 1.0.5 - clean up for submission * Fri Apr 27 2012 T.C. Hollingsworth - 1.0.2-2 - guard Requires for F17 automatic depedency generation * Sat Feb 25 2012 T.C. Hollingsworth - 1.0.2-1 - new upstream release 1.0.2 * Sun Dec 18 2011 T.C. Hollingsworth - 1.0.1-2 - add Group to make EL5 happy * Tue Oct 25 2011 T.C. Hollingsworth - 1.0.1-1 - new upstream release * Tue Aug 23 2011 T.C. Hollingsworth - 1.0.0-1 - initial package