Blob Blame History Raw
%{?nodejs_find_provides_and_requires}

Name:           nodejs-charm
Version:        0.1.2
Release:        3%{?dist}
Summary:        ANSI control sequences for terminal cursor hopping and colors
BuildArch:      noarch
%if 0%{?fedora} >= 19
ExclusiveArch: %{nodejs_arches} noarch
%else
ExclusiveArch: %{ix86} x86_64 %{arm} noarch
%endif

Group:          System Environment/Libraries
#no license file included; "MIT" indicated in package.json
License:        MIT
URL:            https://github.com/substack/node-charm
Source0:        http://registry.npmjs.org/charm/-/charm-%{version}.tgz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  nodejs-packaging

%description
Uses ANSI control sequences to write colors and cursor positions to terminals.

%prep
%setup -q -n package

%build
#nothing to do

%install
rm -rf %buildroot

mkdir -p %{buildroot}%{nodejs_sitelib}/charm
cp -pr package.json index.js lib %{buildroot}%{nodejs_sitelib}/charm

%nodejs_symlink_deps

%clean
rm -rf %buildroot

%files
%defattr(-,root,root,-)
%{nodejs_sitelib}/charm
%doc README.markdown example

%changelog
* Sat Jul 06 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 0.1.2-3
- fix compatible arches for f18/el6

* Fri Jul 05 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 0.1.2-2
- restrict to compatible arches

* Mon Apr 15 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.1.2-1
- new upstream release 0.1.2

* Mon Apr 15 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.1.0-3
- add macro to enable dependency generation on EPEL6

* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild

* Tue Jan 08 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.1.0-1
- initial package generated by npm2rpm