diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..291f33c --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/columnify-0.1.2.tgz diff --git a/.nodejs010-nodejs-columnify.metadata b/.nodejs010-nodejs-columnify.metadata new file mode 100644 index 0000000..6c49001 --- /dev/null +++ b/.nodejs010-nodejs-columnify.metadata @@ -0,0 +1 @@ +ab1a1f1e37b26ba4b87c6920fb717fe51c827042 SOURCES/columnify-0.1.2.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-columnify.spec b/SPECS/nodejs-columnify.spec new file mode 100644 index 0000000..648726e --- /dev/null +++ b/SPECS/nodejs-columnify.spec @@ -0,0 +1,50 @@ +%{?scl:%scl_package nodejs-columnify} +%{!?scl:%global pkg_name %{name}} + +# spec file for package nodejs-nodejs-columnify_0.1.2 + +%global npmname columnify +%{?nodejs_find_provides_and_requires} + +Name: %{?scl_prefix}nodejs-columnify +Version: 0.1.2 +Release: 1%{?dist} +Summary: Render data in text columns, supports in-column text-wrap. +Url: https://github.com/timoxley/columnify +Source0: http://registry.npmjs.org/columnify/-/columnify-0.1.2.tgz +License: MIT + +BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: %{?scl_prefix}nodejs-devel + +%description +Render data in text columns, supports in-column text-wrap. + +%prep +%setup -q -n package + +%build +#nothing to do + +%install +rm -rf %buildroot + +mkdir -p %{buildroot}%{nodejs_sitelib}/columnify +cp -pr index.js utils.js package.json %{buildroot}%{nodejs_sitelib}/columnify + +%nodejs_symlink_deps + +%clean +rm -rf %buildroot + +%files +%defattr(-,root,root,-) +%{nodejs_sitelib}/columnify + +%doc Readme.md + +%changelog +* Mon Feb 17 2014 Tomas Hrcka - 0.1.2-1 +- Initial build +