Blame SPECS/nodejs-npmlog.spec

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