From 2b12cf7b0cb294afa6bbe2cfd25876db731adace Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Jun 09 2014 08:33:31 +0000 Subject: import nodejs010-nodejs-npmconf-0.1.12-1.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..40da6bd --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/npmconf-0.1.12.tgz diff --git a/.nodejs010-nodejs-npmconf.metadata b/.nodejs010-nodejs-npmconf.metadata new file mode 100644 index 0000000..14f2c25 --- /dev/null +++ b/.nodejs010-nodejs-npmconf.metadata @@ -0,0 +1 @@ +7b89bbbb93fbbc449d7fac109e8164b47d105e90 SOURCES/npmconf-0.1.12.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-npmconf.spec b/SPECS/nodejs-npmconf.spec new file mode 100644 index 0000000..8f86766 --- /dev/null +++ b/SPECS/nodejs-npmconf.spec @@ -0,0 +1,93 @@ +%{?scl:%scl_package nodejs-npmconf} +%{!?scl:%global pkg_name %{name}} +%{?nodejs_find_provides_and_requires} + +Name: %{?scl_prefix}nodejs-npmconf +Version: 0.1.12 +Release: 1%{?dist} +Summary: npm configuration module + +Group: System Environment/Libraries +License: BSD +URL: https://github.com/isaacs/npmconf +Source0: http://registry.npmjs.org/npmconf/-/npmconf-%{version}.tgz +BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: %{?scl_prefix}nodejs-devel + +BuildArch: noarch +%if 0%{?fedora} >= 19 +ExclusiveArch: %{nodejs_arches} noarch +%else +ExclusiveArch: %{ix86} x86_64 %{arm} noarch +%endif + + +%description +If you are interested in interacting with the config settings that npm +uses, then use this module. + +However, if you are writing a new Node.js program, and want +configuration functionality similar to what npm has, but for your +own thing, then the author recommends rc. This module is for compatibility +use only. + +%prep +%setup -q -n package + +%build +#nothing to do + +%install +rm -rf %buildroot +mkdir -p %{buildroot}%{nodejs_sitelib}/npmconf +cp -pr package.json npmconf.js config-defs.js %{buildroot}%{nodejs_sitelib}/npmconf + +%nodejs_symlink_deps + +%clean +rm -rf %buildroot + +%files +%defattr(-,root,root,-) +%{nodejs_sitelib}/npmconf +%doc README.md LICENSE + +%changelog +* Thu Jan 16 2014 Tomas Hrcka - 0.1.12-1 +- New upstream release 0.1.12 + +* Thu Oct 17 2013 Tomas Hrcka - 0.1.3-2 +- replace provides and requires with macro + +* Sat Sep 07 2013 Jamie Nguyen - 0.1.3-1 +- update to upstream release 0.1.3 +- add ExclusiveArch logic + +* Tue Jul 30 2013 T.C. Hollingsworth - 0.1.2-1 +- new upstream release 0.1.2 + +* Sun Jun 23 2013 T.C. Hollingsworth - 0.1.1-1 +- new upstream release 0.1.1 + +* Sat Jun 22 2013 T.C. Hollingsworth - 0.0.23-3 +- restrict to compatible arches + +* Mon Apr 15 2013 T.C. Hollingsworth - 0.0.23-2 +- add macro for EPEL6 dependency generation + +* Fri Apr 12 2013 Stanislav Ochotnicky - 0.0.23-2 +- Add support for software collections + +* Sat Feb 09 2013 T.C. Hollingsworth - 0.0.23-1 +- new upstream release 0.0.23 + +* Thu Jan 17 2013 T.C. Hollingsworth - 0.0.16-3 +- fix spelling in description + +* Tue Jan 08 2013 T.C. Hollingsworth - 0.0.16-2 +- add missing build section +- improve summary/description + +* Mon Dec 31 2012 T.C. Hollingsworth - 0.0.16-1 +- initial package generated by npm2rpm