From 20d865401796c80afa0d9f910aa8187a0459a5cf Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: May 31 2016 08:58:38 +0000 Subject: import rh-nodejs4-nodejs-read-1.0.5-2.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2d8b51a --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/read-1.0.5.tgz diff --git a/.rh-nodejs4-nodejs-read.metadata b/.rh-nodejs4-nodejs-read.metadata new file mode 100644 index 0000000..7c2f6f3 --- /dev/null +++ b/.rh-nodejs4-nodejs-read.metadata @@ -0,0 +1 @@ +007a3d169478aa710a491727e453effb92e76203 SOURCES/read-1.0.5.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-read.spec b/SPECS/nodejs-read.spec new file mode 100644 index 0000000..525c52a --- /dev/null +++ b/SPECS/nodejs-read.spec @@ -0,0 +1,87 @@ +%{?scl:%scl_package nodejs-read} +%{!?scl:%global pkg_name %{name}} + + +%{?nodejs_find_provides_and_requires} + +Name: %{?scl_prefix}nodejs-read +Version: 1.0.5 +Release: 2%{?dist} +Summary: An implementation of read(1) for node programs +License: BSD +Group: Development/Libraries +URL: https://github.com/isaacs/read +Source0: http://registry.npmjs.org/read/-/read-%{version}.tgz +BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch +ExclusiveArch: %{nodejs_arches} noarch + +BuildRequires: %{?scl_prefix}nodejs-devel + +%description +A method for reading user input from stdin in node.js. Similar to readline's +"question()" method, but with a few more features. + +%prep +%setup -q -n package + +%build +#nothing to do + +%install +rm -rf %{buildroot} + +mkdir -p %{buildroot}%{nodejs_sitelib}/read +cp -pr lib package.json %{buildroot}%{nodejs_sitelib}/read + +%nodejs_symlink_deps + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root,-) +%{nodejs_sitelib}/read +%doc LICENCE README.md example + +%changelog +* Sun Feb 14 2016 Zuzana Svetlikova - 1.0.5-2 +- rebuilt + +* Tue Jul 30 2013 T.C. Hollingsworth - 1.0.5-1 +- new upstream release 1.0.5 + +* Sat Jun 22 2013 T.C. Hollingsworth - 1.0.4-8 +- restrict to compatible arches + +* Fri May 03 2013 Stanislav Ochotnicky - 1.0.4-7 +- Fix dist macro usage + +* Mon Apr 15 2013 T.C. Hollingsworth - 1.0.4-6 +- add macro for EPEL6 dependency generation + +* Fri Apr 12 2013 Stanislav Ochotnicky - 1.0.4-6 +- Add support for software collections + +* Thu Feb 14 2013 Fedora Release Engineering - 1.0.4-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Thu Jan 10 2013 T.C. Hollingsworth - 1.0.4-4 +- add missing build section + +* Mon Jan 07 2013 T.C. Hollingsworth - 1.0.4-2 +- fix description +- add no-op build section + +* Mon Dec 31 2012 T.C. Hollingsworth - 1.0.4-1 +- new upstream release 1.0.4 +- clean up for submission + +* Fri Apr 27 2012 T.C. Hollingsworth - 0.0.2-2 +- guard Requires for F17 automatic depedency generation + +* Mon Apr 02 2012 T.C. Hollingsworth - 0.0.2-1 +- New upstream release 0.0.2 + +* Sat Jan 21 2012 T.C. Hollingsworth - 0.0.1-1 +- initial package