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