Blame SPECS/nodejs-npmconf.spec

2b12cf
%{?scl:%scl_package nodejs-npmconf}
2b12cf
%{!?scl:%global pkg_name %{name}}
2b12cf
%{?nodejs_find_provides_and_requires}
2b12cf
2b12cf
Name:           %{?scl_prefix}nodejs-npmconf
b29127
Version:        1.1.8
b29127
Release:        2%{?dist}
2b12cf
Summary:        npm configuration module
2b12cf
2b12cf
Group:          System Environment/Libraries
2b12cf
License:        BSD
2b12cf
URL:            https://github.com/isaacs/npmconf
2b12cf
Source0:        http://registry.npmjs.org/npmconf/-/npmconf-%{version}.tgz
2b12cf
BuildRoot:      %{_tmppath}/%{pkg_name}-%{version}-%{release}-root-%(%{__id_u} -n)
2b12cf
2b12cf
BuildRequires:  %{?scl_prefix}nodejs-devel
2b12cf
2b12cf
BuildArch:  noarch
2b12cf
%if 0%{?fedora} >= 19
2b12cf
ExclusiveArch: %{nodejs_arches} noarch
2b12cf
%else
2b12cf
ExclusiveArch: %{ix86} x86_64 %{arm} noarch
2b12cf
%endif
2b12cf
2b12cf
2b12cf
%description
2b12cf
If you are interested in interacting with the config settings that npm
2b12cf
uses, then use this module.
2b12cf
2b12cf
However, if you are writing a new Node.js program, and want
2b12cf
configuration functionality similar to what npm has, but for your
2b12cf
own thing, then the author recommends rc. This module is for compatibility
2b12cf
use only.
2b12cf
2b12cf
%prep
2b12cf
%setup -q -n package
2b12cf
2b12cf
%build
2b12cf
#nothing to do
2b12cf
2b12cf
%install
2b12cf
rm -rf %buildroot
2b12cf
mkdir -p %{buildroot}%{nodejs_sitelib}/npmconf
b29127
cp -pr package.json npmconf.js config-defs.js lib/ %{buildroot}%{nodejs_sitelib}/npmconf
2b12cf
2b12cf
%nodejs_symlink_deps
2b12cf
2b12cf
%clean
2b12cf
rm -rf %buildroot
2b12cf
2b12cf
%files
2b12cf
%defattr(-,root,root,-)
2b12cf
%{nodejs_sitelib}/npmconf
2b12cf
%doc README.md LICENSE
2b12cf
2b12cf
%changelog
b29127
* Tue Jan 13 2015 Tomas Hrcka <thrcka@redhat.com> - 1.1.8-2
b29127
- Add missing sources from new version
b29127
b29127
* Thu Jan 08 2015 Tomas Hrcka <thrcka@redhat.com> - 1.1.8-1
b29127
- New upstream release 1.1.8
b29127
2b12cf
* Thu Jan 16 2014 Tomas Hrcka <thrcka@redhat.com> - 0.1.12-1
2b12cf
- New upstream release 0.1.12
2b12cf
2b12cf
* Thu Oct 17 2013 Tomas Hrcka <thrcka@redhat.com> - 0.1.3-2
2b12cf
- replace provides and requires with macro
2b12cf
2b12cf
* Sat Sep 07 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 0.1.3-1
2b12cf
- update to upstream release 0.1.3
2b12cf
- add ExclusiveArch logic
2b12cf
2b12cf
* Tue Jul 30 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.1.2-1
2b12cf
- new upstream release 0.1.2
2b12cf
2b12cf
* Sun Jun 23 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.1.1-1
2b12cf
- new upstream release 0.1.1
2b12cf
2b12cf
* Sat Jun 22 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.23-3
2b12cf
- restrict to compatible arches
2b12cf
2b12cf
* Mon Apr 15 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.23-2
2b12cf
- add macro for EPEL6 dependency generation
2b12cf
2b12cf
* Fri Apr 12 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0.0.23-2 
2b12cf
- Add support for software collections
2b12cf
2b12cf
* Sat Feb 09 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.23-1
2b12cf
- new upstream release 0.0.23
2b12cf
2b12cf
* Thu Jan 17 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.16-3
2b12cf
- fix spelling in description
2b12cf
2b12cf
* Tue Jan 08 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.16-2
2b12cf
- add missing build section
2b12cf
- improve summary/description
2b12cf
2b12cf
* Mon Dec 31 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.16-1
2b12cf
- initial package generated by npm2rpm