|
|
b7b2c4 |
%{?scl:%scl_package nodejs-npmlog}
|
|
|
b7b2c4 |
%{!?scl:%global pkg_name %{name}}
|
|
|
b7b2c4 |
%{?nodejs_find_provides_and_requires}
|
|
|
b7b2c4 |
|
|
|
b7b2c4 |
Name: %{?scl_prefix}nodejs-npmlog
|
|
|
b7b2c4 |
Version: 0.0.6
|
|
|
b7b2c4 |
Release: 1%{?dist}
|
|
|
b7b2c4 |
Summary: Logger for npm
|
|
|
b7b2c4 |
BuildArch: noarch
|
|
|
b7b2c4 |
ExclusiveArch: %{nodejs_arches} noarch
|
|
|
b7b2c4 |
|
|
|
b7b2c4 |
Group: System Environment/Libraries
|
|
|
b7b2c4 |
License: BSD
|
|
|
b7b2c4 |
URL: https://github.com/isaacs/npmlog
|
|
|
b7b2c4 |
Source0: https://registry.npmjs.org/npmlog/-/npmlog-%{version}.tgz
|
|
|
b7b2c4 |
BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
b7b2c4 |
|
|
|
b7b2c4 |
BuildRequires: %{?scl_prefix}nodejs-devel
|
|
|
b7b2c4 |
|
|
|
b7b2c4 |
%description
|
|
|
b7b2c4 |
The logger utility that npm uses.
|
|
|
b7b2c4 |
|
|
|
b7b2c4 |
This logger is very basic. It does the logging for npm. It supports custom
|
|
|
b7b2c4 |
levels and colored output.
|
|
|
b7b2c4 |
|
|
|
b7b2c4 |
%prep
|
|
|
b7b2c4 |
%setup -q -n package
|
|
|
b7b2c4 |
|
|
|
b7b2c4 |
%nodejs_fixdep ansi 0.2
|
|
|
b7b2c4 |
|
|
|
b7b2c4 |
%build
|
|
|
b7b2c4 |
#nothing to do
|
|
|
b7b2c4 |
|
|
|
b7b2c4 |
%install
|
|
|
b7b2c4 |
rm -rf %buildroot
|
|
|
b7b2c4 |
mkdir -p %{buildroot}%{nodejs_sitelib}/npmlog
|
|
|
b7b2c4 |
cp -pr package.json log.js %{buildroot}%{nodejs_sitelib}/npmlog
|
|
|
b7b2c4 |
|
|
|
b7b2c4 |
%nodejs_symlink_deps
|
|
|
b7b2c4 |
|
|
|
b7b2c4 |
%clean
|
|
|
b7b2c4 |
rm -rf %buildroots
|
|
|
b7b2c4 |
|
|
|
b7b2c4 |
%files
|
|
|
b7b2c4 |
%defattr(-,root,root,-)
|
|
|
b7b2c4 |
%{nodejs_sitelib}/npmlog
|
|
|
b7b2c4 |
%doc LICENSE README.md example.js
|
|
|
b7b2c4 |
|
|
|
b7b2c4 |
%changelog
|
|
|
b7b2c4 |
* Thu Jan 16 2014 Tomas Hrcka <thrcka@redhat.com> - 0.0.6-1
|
|
|
b7b2c4 |
- New upstream release 0.0.6
|
|
|
b7b2c4 |
|
|
|
b7b2c4 |
* Thu Oct 17 2013 Tomas Hrcka <thrcka@redhat.com> - 0.0.4-2
|
|
|
b7b2c4 |
- replace provides and requires with macro
|
|
|
b7b2c4 |
|
|
|
b7b2c4 |
* Sat Jul 13 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.4-1
|
|
|
b7b2c4 |
- new upstream release 0.0.4
|
|
|
b7b2c4 |
|
|
|
b7b2c4 |
* Sun Jun 23 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.3-1
|
|
|
b7b2c4 |
- new upstream release 0.0.3
|
|
|
b7b2c4 |
|
|
|
b7b2c4 |
* Sat Jun 22 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.2-5
|
|
|
b7b2c4 |
- restrict to compatible arches
|
|
|
b7b2c4 |
|
|
|
b7b2c4 |
* Mon Apr 15 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.2-4
|
|
|
b7b2c4 |
- add macro for EPEL6 dependency generation
|
|
|
b7b2c4 |
|
|
|
b7b2c4 |
* Fri Apr 12 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0.0.2-4
|
|
|
b7b2c4 |
- Add support for software collections
|
|
|
b7b2c4 |
|
|
|
b7b2c4 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.2-3
|
|
|
b7b2c4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
b7b2c4 |
|
|
|
b7b2c4 |
* Tue Jan 08 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.2-2
|
|
|
b7b2c4 |
- add missing build section
|
|
|
b7b2c4 |
- minor description improvement
|
|
|
b7b2c4 |
|
|
|
b7b2c4 |
* Mon Dec 31 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.2-1
|
|
|
b7b2c4 |
- initial package generated by npm2rpm
|