Blame SPECS/nodejs-abbrev.spec

07e5b3
%{?scl:%scl_package nodejs-abbrev}
07e5b3
%{!?scl:%global pkg_name %{name}}
07e5b3
07e5b3
%{?nodejs_find_provides_and_requires}
07e5b3
07e5b3
Name:       %{?scl_prefix}nodejs-abbrev
22fa77
Version:    1.0.5
22fa77
Release:    1%{?dist}
07e5b3
Group:      Development/Libraries
07e5b3
Summary:    Abbreviation calculator for Node.js
07e5b3
License:    MIT
07e5b3
URL:        https://github.com/isaacs/abbrev-js
07e5b3
Source0:    http://registry.npmjs.org/abbrev/-/abbrev-%{version}.tgz
07e5b3
BuildRoot:  %{_tmppath}/%{pkg_name}-%{version}-%{release}-root-%(%{__id_u} -n)
07e5b3
BuildArch:  noarch
07e5b3
ExclusiveArch: %{nodejs_arches} noarch
07e5b3
07e5b3
BuildRequires:  %{?scl_prefix}nodejs-devel
07e5b3
07e5b3
%description
07e5b3
Calculate the set of unique abbreviations for a given set of strings.
07e5b3
07e5b3
%prep
07e5b3
%setup -q -n package
07e5b3
07e5b3
%build
07e5b3
#nothing to do
07e5b3
07e5b3
%install
07e5b3
rm -rf %{buildroot}
07e5b3
07e5b3
mkdir -p %{buildroot}%{nodejs_sitelib}/abbrev
22fa77
cp -pr abbrev.js package.json %{buildroot}%{nodejs_sitelib}/abbrev
07e5b3
07e5b3
%nodejs_symlink_deps
07e5b3
07e5b3
%clean
07e5b3
rm -rf %{buildroot}
07e5b3
07e5b3
%check
07e5b3
%{?scl:scl enable %{scl} "}
22fa77
node abbrev.js
07e5b3
%{?scl: "}
07e5b3
07e5b3
%files
07e5b3
%defattr(-,root,root,-)
07e5b3
%{nodejs_sitelib}/abbrev
07e5b3
%doc README.md LICENSE
07e5b3
07e5b3
%changelog
22fa77
* Wed Jan 07 2015 Tomas Hrcka <thrcka@redhat.com> - 1.0.5-1
22fa77
- New upstream release 1.0.5
22fa77
07e5b3
* Tue Oct 22 2013 Tomas Hrcka <thrcka@redhat.com> - 1.0.4-7
07e5b3
- enable collection when running tests 
07e5b3
07e5b3
* Sat Jun 22 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.0.4-6
07e5b3
- restrict to compatible arches
07e5b3
07e5b3
* Fri May 03 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.0.4-5
07e5b3
- Run unit tests as part of build
07e5b3
07e5b3
* Mon Apr 15 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.0.4-4
07e5b3
- add macro for EPEL6 dependency generation
07e5b3
07e5b3
* Fri Apr 12 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.0.4-4
07e5b3
- Add support for software collections
07e5b3
07e5b3
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.4-3
07e5b3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
07e5b3
07e5b3
* Sun Jan 13 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.0.4-2
07e5b3
- fix missing dist macro in Release
07e5b3
07e5b3
* Thu Jan 10 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.0.4-1
07e5b3
- new upstream release 1.0.4
07e5b3
- include newly added LICENSE file
07e5b3
07e5b3
* Tue Jan 08 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.0.3-5
07e5b3
- add missing build section
07e5b3
07e5b3
* Mon Dec 31 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.0.3-4
07e5b3
- clean up for submission
07e5b3
07e5b3
* Fri Apr 27 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.0.3-3
07e5b3
- guard Requires for F17 automatic depedency generation
07e5b3
07e5b3
* Sat Jan 21 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.0.3-2
07e5b3
- missing Group field for EL5
07e5b3
07e5b3
* Sat Jan 21 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.0.3-1
07e5b3
- new upstream release 1.0.3
07e5b3
07e5b3
* Mon Aug 22 2011 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.0.2-1
07e5b3
- initial package