diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..974ed26 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/init-package-json-0.0.14.tgz diff --git a/.nodejs010-nodejs-init-package-json.metadata b/.nodejs010-nodejs-init-package-json.metadata new file mode 100644 index 0000000..37b4470 --- /dev/null +++ b/.nodejs010-nodejs-init-package-json.metadata @@ -0,0 +1 @@ +bd5f7b2d73b54957388cca3ce61190340c8a05b7 SOURCES/init-package-json-0.0.14.tgz diff --git a/README.md b/README.md deleted file mode 100644 index ce46a88..0000000 --- a/README.md +++ /dev/null @@ -1,5 +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..7f88c6d --- /dev/null +++ b/SPECS/nodejs-init-package-json.spec @@ -0,0 +1,75 @@ +%{?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: 0.0.14 +Release: 1%{?dist} +Summary: A node module to get your node module started +BuildArch: noarch +ExclusiveArch: %{nodejs_arches} noarch + +Group: System Environment/Libraries +License: BSD +URL: https://github.com/isaacs/init-package-json +Source0: http://registry.npmjs.org/init-package-json/-/init-package-json-%{version}.tgz +BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-%{release}-root-%(%{__id_u} -n) + +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 + +%build +#nothing to do + +%install +rm -rf %buildroot +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 + +%clean +rm -rf %buildroot + +%files +%defattr(-,root,root,-) +%{nodejs_sitelib}/init-package-json +%doc README.md example/example-basic.js example/example-default.js example/example-npm.js +%changelog +* 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