diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..112d943 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/text-table-0.2.0.tgz diff --git a/.nodejs010-nodejs-text-table.metadata b/.nodejs010-nodejs-text-table.metadata new file mode 100644 index 0000000..9bd6557 --- /dev/null +++ b/.nodejs010-nodejs-text-table.metadata @@ -0,0 +1 @@ +7f5ee823ae805207c00af2df4a84ec3fcfa570b4 SOURCES/text-table-0.2.0.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-text-table.spec b/SPECS/nodejs-text-table.spec new file mode 100644 index 0000000..a2a8b16 --- /dev/null +++ b/SPECS/nodejs-text-table.spec @@ -0,0 +1,53 @@ +%{?scl:%scl_package nodejs-text-table} +%{!?scl:%global pkg_name %{name}} + +# spec file for package nodejs-nodejs-text-table_0.2.0 + +%global npmname text-table +%{?nodejs_find_provides_and_requires} + +Name: %{?scl_prefix}nodejs-text-table +Version: 0.2.0 +Release: 1%{?dist} +Summary: borderless text tables with alignment +Url: https://github.com/substack/text-table +Source0: http://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz +License: MIT + +BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: %{?scl_prefix}nodejs-devel + +# cyclic? BuildRequires: %{?scl_prefix}npm(cli-color@0.2.3) +# cyclic? BuildRequires: %{?scl_prefix}npm(tap@0.4.0) +# cyclic? BuildRequires: %{?scl_prefix}npm(tape@1.0.2) + +%description +borderless text tables with alignment + +%prep +%setup -q -n package + +%build +#nothing to do + +%install +rm -rf %buildroot + +mkdir -p %{buildroot}%{nodejs_sitelib}/text-table +cp -pr index.js package.json %{buildroot}%{nodejs_sitelib}/text-table +%nodejs_symlink_deps + +%clean +rm -rf %buildroot + +%files +%defattr(-,root,root,-) +%{nodejs_sitelib}/text-table + +%doc LICENSE readme.markdown + +%changelog +* Wed Feb 12 2014 Tomas Hrcka +- Initial package build +