From d9b7a43eb9573ccb2c9f63607fda28466bb82226 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Jun 09 2014 08:34:01 +0000 Subject: import nodejs010-nodejs-proto-list-1.2.2-5.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e9aeae1 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/proto-list-1.2.2.tgz diff --git a/.nodejs010-nodejs-proto-list.metadata b/.nodejs010-nodejs-proto-list.metadata new file mode 100644 index 0000000..763b515 --- /dev/null +++ b/.nodejs010-nodejs-proto-list.metadata @@ -0,0 +1 @@ +48b88798261ec2c4a785720cdfec6200d57d3326 SOURCES/proto-list-1.2.2.tgz diff --git a/README.md b/README.md deleted file mode 100644 index ce46a88..0000000 --- a/README.md +++ /dev/null @@ -1,5 +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-proto-list.spec b/SPECS/nodejs-proto-list.spec new file mode 100644 index 0000000..8d43aa0 --- /dev/null +++ b/SPECS/nodejs-proto-list.spec @@ -0,0 +1,78 @@ +%{?scl:%scl_package nodejs-proto-list} +%{!?scl:%global pkg_name %{name}} +%{?nodejs_find_provides_and_requires} + +Name: %{?scl_prefix}nodejs-proto-list +Version: 1.2.2 +Release: 5%{?dist} +Summary: A list of objects bound by prototype chain +License: MIT +Group: System Environment/Libraries +URL: https://github.com/isaacs/proto-list +Source0: http://registry.npmjs.org/proto-list/-/proto-list-%{version}.tgz +BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch + +BuildRequires: %{?scl_prefix}nodejs-devel +#BuildRequires: nodejs-tap + +%description +A list of objects bound by prototype chain. Used for the Node.js package +manager (npm) configuration. + +%prep +%setup -q -n package + +%build +#nothing to do + +%install +rm -rf %{buildroot} + +mkdir -p %{buildroot}%{nodejs_sitelib}/proto-list +cp -p package.json proto-list.js %{buildroot}%{nodejs_sitelib}/proto-list + +%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. ;-) +##%%check +##%%nodejs proto-list.js + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root,-) +%{nodejs_sitelib}/proto-list +%doc LICENSE README.md + +%changelog +* Thu Oct 17 2013 Tomas Hrcka - 1.2.2-5 +- replace provides and requires with macro + +* Thu Apr 11 2013 Stanislav Ochotnicky - 1.2.2-4 +- Add support for software collections + +* Thu Feb 14 2013 Fedora Release Engineering - 1.2.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Tue Jan 08 2013 T.C. Hollingsworth - 1.2.2-2 +- add missing build section + +* Mon Dec 31 2012 T.C. Hollingsworth - 1.2.2-1 +- new upstream release 1.2.2 +- clean up for submission + +* Fri Apr 27 2012 T.C. Hollingsworth - 1.0.0-4 +- bring in line with newer module packaging standards + +* Fri Apr 27 2012 T.C. Hollingsworth - 1.0.0-3 +- guard Requires for F17 automatic depedency generation + +* Sun Dec 18 2011 T.C. Hollingsworth - 1.0.0-2 +- add Group to make EL5 happy + +* Tue Aug 23 2011 T.C. Hollingsworth - 1.0.0-1 +- initial package