|
|
23c417 |
%{?scl:%scl_package nodejs-init-package-json}
|
|
|
23c417 |
%{!?scl:%global pkg_name %{name}}
|
|
|
23c417 |
%{?nodejs_find_provides_and_requires}
|
|
|
23c417 |
|
|
|
23c417 |
Name: %{?scl_prefix}nodejs-init-package-json
|
|
|
23c417 |
Version: 1.9.4
|
|
|
23c417 |
Release: 1%{?dist}
|
|
|
23c417 |
Summary: A node module to get your node module started
|
|
|
23c417 |
BuildArch: noarch
|
|
|
23c417 |
ExclusiveArch: %{nodejs_arches} noarch
|
|
|
23c417 |
License: ISC
|
|
|
23c417 |
URL: https://github.com/npm/init-package-json
|
|
|
23c417 |
Source0: http://registry.npmjs.org/init-package-json/-/init-package-json-%{version}.tgz
|
|
|
23c417 |
|
|
|
23c417 |
BuildRequires: %{?scl_prefix}nodejs-devel
|
|
|
23c417 |
|
|
|
23c417 |
%description
|
|
|
23c417 |
A node module to get your node module started, by creating its package.json
|
|
|
23c417 |
metadata file.
|
|
|
23c417 |
|
|
|
23c417 |
%prep
|
|
|
23c417 |
%setup -q -n package
|
|
|
23c417 |
%nodejs_fixdep glob 7.x
|
|
|
23c417 |
|
|
|
23c417 |
%build
|
|
|
23c417 |
#nothing to do
|
|
|
23c417 |
|
|
|
23c417 |
%install
|
|
|
23c417 |
mkdir -p %{buildroot}%{nodejs_sitelib}/init-package-json
|
|
|
23c417 |
cp -pr default-input.js init-package-json.js package.json %{buildroot}%{nodejs_sitelib}/init-package-json
|
|
|
23c417 |
|
|
|
23c417 |
%nodejs_symlink_deps
|
|
|
23c417 |
|
|
|
23c417 |
%files
|
|
|
23c417 |
%{nodejs_sitelib}/init-package-json
|
|
|
23c417 |
%doc README.md example/example-basic.js example/example-default.js example/example-npm.js LICENSE
|
|
|
23c417 |
|
|
|
23c417 |
%changelog
|
|
|
23c417 |
* Wed Sep 21 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.9.4-1
|
|
|
23c417 |
- Updated with script
|
|
|
23c417 |
|
|
|
23c417 |
* Fri Apr 08 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.9.3-1
|
|
|
23c417 |
- Update
|
|
|
23c417 |
|
|
|
23c417 |
* Tue Feb 16 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.9.1-3
|
|
|
23c417 |
- Use macro in -runtime dependency
|
|
|
23c417 |
- correct License and URL, add license text to %%doc
|
|
|
23c417 |
|
|
|
23c417 |
* Sun Feb 14 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.9.1-2
|
|
|
23c417 |
- Rebuilt with updated metapackage
|
|
|
23c417 |
|
|
|
23c417 |
* Mon Nov 30 2015 Tomas Hrcka <thrcka@redhat.com> - 1.9.1-1
|
|
|
23c417 |
- New upstream release
|
|
|
23c417 |
|
|
|
23c417 |
* Fri Jan 09 2015 Tomas Hrcka <thrcka@redhat.com> - 1.0.0-1
|
|
|
23c417 |
- New upstream release 1.0.0
|
|
|
23c417 |
|
|
|
23c417 |
* Thu Jan 16 2014 Tomas Hrcka <thrcka@redhat.com> - 0.0.14-1
|
|
|
23c417 |
- New upstream release 0.0.14
|
|
|
23c417 |
|
|
|
23c417 |
* Thu Oct 17 2013 Tomas Hrcka <thrcka@redhat.com> - 0.0.10-2
|
|
|
23c417 |
- replace provides and requires with macro
|
|
|
23c417 |
|
|
|
23c417 |
|
|
|
23c417 |
* Sun Jun 23 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.10-1
|
|
|
23c417 |
- new upstream release 0.0.10
|
|
|
23c417 |
|
|
|
23c417 |
* Sat Jun 22 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.7-6
|
|
|
23c417 |
- restrict to compatible arches
|
|
|
23c417 |
|
|
|
23c417 |
* Mon Apr 15 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.7-5
|
|
|
23c417 |
- add macro for EPEL6 dependency generation
|
|
|
23c417 |
|
|
|
23c417 |
* Fri Apr 12 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0.0.7-5
|
|
|
23c417 |
- Add support for software collections
|
|
|
23c417 |
|
|
|
23c417 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.7-4
|
|
|
23c417 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
23c417 |
|
|
|
23c417 |
* Sun Jan 13 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.7-3
|
|
|
23c417 |
- use HTTP in Source0 instead of HTTPS
|
|
|
23c417 |
|
|
|
23c417 |
* Tue Jan 08 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.7-2
|
|
|
23c417 |
- add missing build section
|
|
|
23c417 |
- improve description
|
|
|
23c417 |
|
|
|
23c417 |
* Mon Dec 31 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.7-1
|
|
|
23c417 |
- initial package generated by npm2rpm
|