From 24d9402829986b990f5717d43b6228f16c057001 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Jun 09 2014 08:31:39 +0000 Subject: import nodejs010-nodejs-config-chain-1.1.8-2.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..040ed8a --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/config-chain-1.1.8.tgz diff --git a/.nodejs010-nodejs-config-chain.metadata b/.nodejs010-nodejs-config-chain.metadata new file mode 100644 index 0000000..8bdc308 --- /dev/null +++ b/.nodejs010-nodejs-config-chain.metadata @@ -0,0 +1 @@ +0943d0b7227213a20d4eaff4434f4a1c0a052cad SOURCES/config-chain-1.1.8.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-config-chain.spec b/SPECS/nodejs-config-chain.spec new file mode 100644 index 0000000..95dcee4 --- /dev/null +++ b/SPECS/nodejs-config-chain.spec @@ -0,0 +1,80 @@ +%{?scl:%scl_package nodejs-config-chain} +%{!?scl:%global pkg_name %{name}} + +%{?nodejs_find_provides_and_requires} + +Name: %{?scl_prefix}nodejs-config-chain +Version: 1.1.8 +Release: 2%{?dist} +Summary: Handle configuration once and for all +BuildArch: noarch +ExclusiveArch: %{nodejs_arches} noarch + +Group: System Environment/Libraries +License: MIT +URL: https://github.com/dominictarr/config-chain +Source0: http://registry.npmjs.org/config-chain/-/config-chain-%{version}.tgz +BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: %{?scl_prefix}nodejs-devel + +%description +Use this module to load all your configurations. + +%prep +%setup -q -n package + +%build +#nothing to do + +%install +rm -rf %buildroot +mkdir -p %{buildroot}%{nodejs_sitelib}/config-chain +cp -pr package.json index.js %{buildroot}%{nodejs_sitelib}/config-chain + +#fix permissions on non-executable main javascript code file +chmod 0644 %{buildroot}%{nodejs_sitelib}/config-chain/index.js + +%nodejs_symlink_deps + +%clean +rm -rf %buildroot + +%files +%defattr(-,root,root,-) +%{nodejs_sitelib}/config-chain +%doc LICENCE readme.markdown + +%changelog +* Tue Mar 04 2014 Tomas Hrcka - 1.1.8-2 +- Add missing nodejs_symlink_deps macro + +* Thu Jan 16 2014 Tomas Hrcka - 1.1.8-1 +- New upstream release 1.1.8 + +* Thu Oct 17 2013 Tomas Hrcka - 1.1.7-2 +- replace provides and requires with macro + +* Sat Jun 22 2013 T.C. Hollingsworth - 1.1.7-1 +- new upstream release 1.1.7 + +* Sat Jun 22 2013 T.C. Hollingsworth - 1.1.5-3 +- restrict to compatible arches + +* Mon Apr 15 2013 T.C. Hollingsworth - 1.1.5-2 +- add macro for EPEL6 dependency generation + +* Fri Apr 12 2013 Stanislav Ochotnicky - 1.1.5-2 +- Add support for software collections + +* Sat Feb 09 2013 T.C. Hollingsworth - 1.1.5-1 +- new upstream release 1.1.5 + +* Thu Jan 17 2013 T.C. Hollingsworth - 1.1.3-3 +- fix permissions + +* Tue Jan 08 2013 T.C. Hollingsworth - 1.1.3-2 +- add missing build section + +* Mon Dec 31 2012 T.C. Hollingsworth - 1.1.3-1 +- initial package generated by npm2rpm