%{?nodejs_find_provides_and_requires} Name: nodejs-sntp Version: 2.0.0 Release: 1%{?dist} Summary: SNTP v4 client (RFC4330) for Node.js License: BSD Group: Development/Libraries URL: https://github.com/hueniverse/sntp Source0: http://registry.npmjs.org/sntp/-/sntp-%{version}.tgz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch ExclusiveArch: %{nodejs_arches} noarch BuildRequires: nodejs-devel %description An SNTP v4 client (RFC4330) for Node.js. Simply connects to the NTP or SNTP server requested and returns the server time along with the round-trip duration and clock offset. To adjust the local time to the NTP time, add the returned time offset to the local time. %prep %setup -q -n package #drop exec bit from everything chmod 0644 README.md LICENSE examples/* lib/* %build #nothing to do %install rm -rf %{buildroot} mkdir -p %{buildroot}%{nodejs_sitelib}/sntp cp -pr lib package.json %{buildroot}%{nodejs_sitelib}/sntp %nodejs_symlink_deps #Yet Another Unpackaged Test Framework (lab) #%%check #make test %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %{nodejs_sitelib}/sntp %doc README.md LICENSE examples %changelog * Tue Nov 10 2015 Jared Smith - 2.0.0-1 - Update to upstream 2.0.0 release * Fri Oct 30 2015 Jared Smith - 1.0.9-1 - Update to upstream 1.0.9 release * Wed Jun 17 2015 Fedora Release Engineering - 0.2.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.2.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 0.2.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Sun Jun 23 2013 T.C. Hollingsworth - 0.2.4-1 - new upstream release 0.2.4 * Sat Jun 22 2013 T.C. Hollingsworth - 0.2.1-3 - restrict to compatible arches * Mon Apr 15 2013 T.C. Hollingsworth - 0.2.1-2 - add macro for EPEL6 dependency generation * Tue Apr 09 2013 T.C. Hollingsworth - 0.2.1-1 - new upstream release 0.2.1 * Mon Apr 08 2013 T.C. Hollingsworth - 0.2.0-2 - fix rpmlint warnings * Fri Apr 05 2013 T.C. Hollingsworth - 0.2.0-1 - initial package