From e0a162e7c53a9b73ddee89913241dfd9e23e8166 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: May 31 2016 09:02:43 +0000 Subject: import rh-nodejs4-nodejs-npmlog-2.0.0-2.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ababa83 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/npmlog-2.0.0.tgz diff --git a/.rh-nodejs4-nodejs-npmlog.metadata b/.rh-nodejs4-nodejs-npmlog.metadata new file mode 100644 index 0000000..8ae23b4 --- /dev/null +++ b/.rh-nodejs4-nodejs-npmlog.metadata @@ -0,0 +1 @@ +4076c200a3dda51133e6f3cf052130105f78bbdf SOURCES/npmlog-2.0.0.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-npmlog.spec b/SPECS/nodejs-npmlog.spec new file mode 100644 index 0000000..18cee85 --- /dev/null +++ b/SPECS/nodejs-npmlog.spec @@ -0,0 +1,90 @@ +%{?scl:%scl_package nodejs-npmlog} +%{!?scl:%global pkg_name %{name}} +%{?nodejs_find_provides_and_requires} + +Name: %{?scl_prefix}nodejs-npmlog +Version: 2.0.0 +Release: 2%{?dist} +Summary: Logger for npm +BuildArch: noarch +ExclusiveArch: %{nodejs_arches} noarch + +Group: System Environment/Libraries +License: BSD +URL: https://github.com/isaacs/npmlog +Source0: https://registry.npmjs.org/npmlog/-/npmlog-%{version}.tgz +BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: %{?scl_prefix}nodejs-devel + +%description +The logger utility that npm uses. + +This logger is very basic. It does the logging for npm. It supports custom +levels and colored output. + +%prep +%setup -q -n package + + +%build +#nothing to do + +%install +rm -rf %buildroot +mkdir -p %{buildroot}%{nodejs_sitelib}/npmlog +cp -pr package.json log.js %{buildroot}%{nodejs_sitelib}/npmlog + +%nodejs_symlink_deps + +%clean +rm -rf %buildroots + +%files +%defattr(-,root,root,-) +%{nodejs_sitelib}/npmlog +%doc LICENSE README.md example.js + +%changelog +* Sun Feb 14 2016 Zuzana Svetlikova - 2.0.0-2 +- rebuilt + +* Mon Nov 30 2015 Tomas Hrcka - 2.0.0-1 +- Rebase to new upstream release + +* Thu Jul 23 2015 Tomas Hrcka - 0.1.1-2 +- Remove macro that handles deps + +* Thu Jan 08 2015 Tomas Hrcka - 0.1.1-1 +- New upstream release 0.1.1 + +* Thu Jan 16 2014 Tomas Hrcka - 0.0.6-1 +- New upstream release 0.0.6 + +* Thu Oct 17 2013 Tomas Hrcka - 0.0.4-2 +- replace provides and requires with macro + +* Sat Jul 13 2013 T.C. Hollingsworth - 0.0.4-1 +- new upstream release 0.0.4 + +* Sun Jun 23 2013 T.C. Hollingsworth - 0.0.3-1 +- new upstream release 0.0.3 + +* Sat Jun 22 2013 T.C. Hollingsworth - 0.0.2-5 +- restrict to compatible arches + +* Mon Apr 15 2013 T.C. Hollingsworth - 0.0.2-4 +- add macro for EPEL6 dependency generation + +* Fri Apr 12 2013 Stanislav Ochotnicky - 0.0.2-4 +- Add support for software collections + +* Thu Feb 14 2013 Fedora Release Engineering - 0.0.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Tue Jan 08 2013 T.C. Hollingsworth - 0.0.2-2 +- add missing build section +- minor description improvement + +* Mon Dec 31 2012 T.C. Hollingsworth - 0.0.2-1 +- initial package generated by npm2rpm