|
|
304405 |
%{?scl:%scl_package nodejs-archy}
|
|
|
304405 |
%{!?scl:%global pkg_name %{name}}
|
|
|
304405 |
%{?nodejs_find_provides_and_requires}
|
|
|
304405 |
|
|
|
304405 |
|
|
|
304405 |
Name: %{?scl_prefix}nodejs-archy
|
|
|
27409e |
Version: 1.0.0
|
|
|
27409e |
Release: 1%{?dist}
|
|
|
304405 |
Summary: Renders nested hierarchies with unicode pipes
|
|
|
304405 |
License: MIT
|
|
|
304405 |
Group: System Environment/Libraries
|
|
|
304405 |
URL: https://github.com/substack/node-archy
|
|
|
304405 |
Source0: http://registry.npmjs.org/archy/-/archy-%{version}.tgz
|
|
|
304405 |
BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
304405 |
BuildArch: noarch
|
|
|
304405 |
|
|
|
304405 |
BuildRequires: %{?scl_prefix}nodejs-devel
|
|
|
304405 |
|
|
|
304405 |
%description
|
|
|
304405 |
Render nested hierarchies with unicode pipes, `npm ls` style.
|
|
|
304405 |
|
|
|
304405 |
%prep
|
|
|
304405 |
%setup -q -n package
|
|
|
304405 |
|
|
|
304405 |
%build
|
|
|
304405 |
#nothing to do
|
|
|
304405 |
|
|
|
304405 |
%install
|
|
|
304405 |
rm -rf %{buildroot}
|
|
|
304405 |
|
|
|
304405 |
mkdir -p %{buildroot}%{nodejs_sitelib}/archy
|
|
|
304405 |
cp -p index.js package.json %{buildroot}%{nodejs_sitelib}/archy
|
|
|
304405 |
|
|
|
304405 |
%nodejs_symlink_deps
|
|
|
304405 |
|
|
|
304405 |
# tests disabled until tap is packaged
|
|
|
304405 |
#%%check
|
|
|
304405 |
#%%tap test
|
|
|
304405 |
|
|
|
304405 |
%clean
|
|
|
304405 |
rm -rf %{buildroot}
|
|
|
304405 |
|
|
|
304405 |
%files
|
|
|
304405 |
%defattr(-,root,root,-)
|
|
|
304405 |
%{nodejs_sitelib}/archy
|
|
|
27409e |
%doc readme.markdown examples/*
|
|
|
304405 |
|
|
|
304405 |
%changelog
|
|
|
27409e |
* Mon Nov 30 2015 Tomas Hrcka <thrcka@redhat.com> - 1.0.0-1
|
|
|
27409e |
- New upstream release
|
|
|
27409e |
|
|
|
304405 |
* Thu Oct 17 2013 Tomas Hrcka thrcka@redhat.com - 0.0.2-8
|
|
|
304405 |
- replace provides and requires with macro
|
|
|
304405 |
|
|
|
304405 |
* Thu Apr 11 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0.0.2-7
|
|
|
304405 |
- Add support for software collections
|
|
|
304405 |
|
|
|
304405 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.2-6
|
|
|
304405 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
304405 |
|
|
|
304405 |
* Thu Jan 17 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.2-5
|
|
|
304405 |
- fix URL
|
|
|
304405 |
|
|
|
304405 |
* Tue Jan 08 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.2-4
|
|
|
304405 |
- add missing build section
|
|
|
304405 |
|
|
|
304405 |
* Mon Dec 31 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.2-3
|
|
|
304405 |
- clean up for submission
|
|
|
304405 |
|
|
|
304405 |
* Fri Apr 27 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.2-2
|
|
|
304405 |
- fix BuildRequires not present on
|
|
|
304405 |
|
|
|
304405 |
* Thu Mar 29 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.2-1
|
|
|
304405 |
- initial package
|