diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e5b3604 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/char-spinner-1.0.1.tgz diff --git a/.rh-nodejs4-nodejs-char-spinner.metadata b/.rh-nodejs4-nodejs-char-spinner.metadata new file mode 100644 index 0000000..290b7c9 --- /dev/null +++ b/.rh-nodejs4-nodejs-char-spinner.metadata @@ -0,0 +1 @@ +e6ea67bd247e107112983b7ab0479ed362800081 SOURCES/char-spinner-1.0.1.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-char-spinner.spec b/SPECS/nodejs-char-spinner.spec new file mode 100644 index 0000000..d31f3e9 --- /dev/null +++ b/SPECS/nodejs-char-spinner.spec @@ -0,0 +1,48 @@ +%{?scl:%scl_package nodejs-char-spinner} +%{!?scl:%global pkg_name %{name}} + +%nodejs_find_provides_and_requires +Name: %{?scl_prefix}nodejs-char-spinner +Version: 1.0.1 +Release: 4%{?dist} +Summary: Node.js char spinner +License: ISC +Group: Development/Languages/Other +Url: https://github.com/isaacs/char-spinner +Source: http://registry.npmjs.org/char-spinner/-/char-spinner-%{version}.tgz +BuildRequires: %{?scl_prefix}runtime +BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-build +BuildArch: noarch +ExclusiveArch: %{ix86} x86_64 %{arm} noarch + +%description +Put a little spinner on process.stderr, as unobtrusively as possible. + +%prep +%setup -q -n package + +%build + +%install +mkdir -p %{buildroot}%{nodejs_sitelib}/char-spinner +cp -pr package.json spin.js \ + %{buildroot}%{nodejs_sitelib}/char-spinner + +%files +%defattr(-,root,root,-) +%doc README.md LICENSE +%{nodejs_sitelib}/char-spinner + +%changelog +* Tue Feb 16 2016 Zuzana Svetlikova - 1.0.1-4 +- Use macro in -runtime dependency + +* Sun Feb 14 2016 Zuzana Svetlikova - 1.0.1-3 +- Rebuilt with updated metapackage + +* Tue Jan 13 2015 Tomas Hrcka - 1.0.1-2 +- Remove undefined macro + +* Mon Jan 12 2015 Tomas Hrcka - 1.0.1-1 +- Initial build +