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/.nodejs010-nodejs-char-spinner.metadata b/.nodejs010-nodejs-char-spinner.metadata new file mode 100644 index 0000000..290b7c9 --- /dev/null +++ b/.nodejs010-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..0df60a2 --- /dev/null +++ b/SPECS/nodejs-char-spinner.spec @@ -0,0 +1,42 @@ +%{?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: 2%{?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: nodejs010 +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 Jan 13 2015 Tomas Hrcka - 1.0.1-2 +- Remove undefined macro + +* Mon Jan 12 2015 Tomas Hrcka - 1.0.1-1 +- Initial build +