From 394183d13669c72fde74f08a544353470c7c6210 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Dec 16 2015 15:38:38 +0000 Subject: import nodejs010-nodejs-dezalgo-1.0.2-3.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..730359b --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/dezalgo-1.0.2.tgz diff --git a/.nodejs010-nodejs-dezalgo.metadata b/.nodejs010-nodejs-dezalgo.metadata new file mode 100644 index 0000000..aaba30c --- /dev/null +++ b/.nodejs010-nodejs-dezalgo.metadata @@ -0,0 +1 @@ +2bc8b5a1683131764a98def7e4aa22105a688a5a SOURCES/dezalgo-1.0.2.tgz diff --git a/README.md b/README.md deleted file mode 100644 index 98f42b4..0000000 --- a/README.md +++ /dev/null @@ -1,4 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/nodejs-dezalgo.spec b/SPECS/nodejs-dezalgo.spec new file mode 100644 index 0000000..d22ff3c --- /dev/null +++ b/SPECS/nodejs-dezalgo.spec @@ -0,0 +1,74 @@ +%{?scl:%scl_package nodejs-dezalgo} +%{!?scl:%global pkg_name %{name}} + +# spec file for package nodejs-nodejs-dezalgo + +%global npm_name dezalgo +%{?nodejs_find_provides_and_requires} + +%global enable_tests 0 + +Name: %{?scl_prefix}nodejs-dezalgo +Version: 1.0.2 +Release: 3%{?dist} +Summary: Contain async insanity so that the dark pony lord doesn't eat souls +Url: https://github.com/npm/dezalgo +Source0: https://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz +License: ISC + +BuildArch: noarch +ExclusiveArch: %{nodejs_arches} noarch + +BuildRequires: %{?scl_prefix}nodejs-devel + +%if 0%{?enable_tests} +BuildRequires: %{?scl_prefix}npm(tap) +%endif + +Requires: %{?scl_prefix}npm(asap) +Requires: %{?scl_prefix}npm(wrappy) + +%description +Contain async insanity so that the dark pony lord doesn't eat souls + +%prep +%setup -q -n package + +%build +#nothing to do + +%install +mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name} + +cp -pr package.json dezalgo.js \ + %{buildroot}%{nodejs_sitelib}/%{npm_name} + +%{nodejs_symlink_deps} + +%if 0%{?enable_tests} + +%check +%{nodejs_symlink_deps} --check +tap test/*.js +%endif + +%files +%{nodejs_sitelib}/dezalgo + +%doc README.md +%doc LICENSE + +%changelog +* Thu Nov 26 2015 Tomas Hrcka - 1.0.2-3 +- Enable scl macros + +* Wed Jun 17 2015 Fedora Release Engineering - 1.0.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Mon May 25 2015 Zuzana Svetlikova - 1.0.2-1 +- New upstream release +- removed unnecessary %%buildroot from %%install and %%clean +- added %%license + +* Wed May 13 2015 Zuzana Svetlikova - 1.0.1-1 +- Initial build