diff --git a/.gitignore b/.gitignore index e69de29..be549b2 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/archy-0.0.2.tgz diff --git a/nodejs-archy.spec b/nodejs-archy.spec new file mode 100644 index 0000000..c0ae118 --- /dev/null +++ b/nodejs-archy.spec @@ -0,0 +1,57 @@ +Name: nodejs-archy +Version: 0.0.2 +Release: 5%{?dist} +Summary: Renders nested hierarchies with unicode pipes +License: MIT +Group: System Environment/Libraries +URL: https://github.com/substack/node-archy +Source0: http://registry.npmjs.org/archy/-/archy-%{version}.tgz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch + +BuildRequires: nodejs-devel + +%description +Render nested hierarchies with unicode pipes, `npm ls` style. + +%prep +%setup -q -n package + +%build +#nothing to do + +%install +rm -rf %{buildroot} + +mkdir -p %{buildroot}%{nodejs_sitelib}/archy +cp -p index.js package.json %{buildroot}%{nodejs_sitelib}/archy + +%nodejs_symlink_deps + +# tests disabled until tap is packaged +#%%check +#%%tap test + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root,-) +%{nodejs_sitelib}/archy +%doc README.markdown examples + +%changelog +* Thu Jan 17 2013 T.C. Hollingsworth - 0.0.2-5 +- fix URL + +* Tue Jan 08 2013 T.C. Hollingsworth - 0.0.2-4 +- add missing build section + +* Mon Dec 31 2012 T.C. Hollingsworth - 0.0.2-3 +- clean up for submission + +* Fri Apr 27 2012 T.C. Hollingsworth - 0.0.2-2 +- fix BuildRequires not present on - 0.0.2-1 +- initial package diff --git a/sources b/sources index e69de29..781ecb2 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +382ccc6cdaa38b4eadadcc259faf1931 archy-0.0.2.tgz