Blame SPECS/nodejs-proto-list.spec

d9b7a4
%{?scl:%scl_package nodejs-proto-list}
d9b7a4
%{!?scl:%global pkg_name %{name}}
d9b7a4
%{?nodejs_find_provides_and_requires}
d9b7a4
d9b7a4
Name:       %{?scl_prefix}nodejs-proto-list
d9b7a4
Version:    1.2.2
d9b7a4
Release:    5%{?dist}
d9b7a4
Summary:    A list of objects bound by prototype chain
d9b7a4
License:    MIT
d9b7a4
Group:      System Environment/Libraries
d9b7a4
URL:        https://github.com/isaacs/proto-list
d9b7a4
Source0:    http://registry.npmjs.org/proto-list/-/proto-list-%{version}.tgz
d9b7a4
BuildRoot:  %{_tmppath}/%{pkg_name}-%{version}-%{release}-root-%(%{__id_u} -n)
d9b7a4
BuildArch:  noarch
d9b7a4
d9b7a4
BuildRequires:  %{?scl_prefix}nodejs-devel
d9b7a4
#BuildRequires:  nodejs-tap
d9b7a4
d9b7a4
%description
d9b7a4
A list of objects bound by prototype chain.  Used for the Node.js package
d9b7a4
manager (npm) configuration.
d9b7a4
d9b7a4
%prep
d9b7a4
%setup -q -n package
d9b7a4
d9b7a4
%build
d9b7a4
#nothing to do
d9b7a4
d9b7a4
%install
d9b7a4
rm -rf %{buildroot}
d9b7a4
d9b7a4
mkdir -p %{buildroot}%{nodejs_sitelib}/proto-list
d9b7a4
cp -p package.json proto-list.js %{buildroot}%{nodejs_sitelib}/proto-list
d9b7a4
d9b7a4
%nodejs_symlink_deps
d9b7a4
d9b7a4
# We currently don't run tests because I'd have to file another ten or
d9b7a4
# so review reuqests for the node.js TAP testing framework and methinks there
d9b7a4
# are enough of those for now.  ;-)
d9b7a4
##%%check
d9b7a4
##%%nodejs proto-list.js
d9b7a4
d9b7a4
%clean
d9b7a4
rm -rf %{buildroot}
d9b7a4
d9b7a4
%files
d9b7a4
%defattr(-,root,root,-)
d9b7a4
%{nodejs_sitelib}/proto-list
d9b7a4
%doc LICENSE README.md
d9b7a4
d9b7a4
%changelog
d9b7a4
* Thu Oct 17 2013 Tomas Hrcka <thrcka@redhat.com> - 1.2.2-5
d9b7a4
- replace provides and requires with macro
d9b7a4
d9b7a4
* Thu Apr 11 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.2.2-4
d9b7a4
- Add support for software collections
d9b7a4
d9b7a4
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.2-3
d9b7a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
d9b7a4
d9b7a4
* Tue Jan 08 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.2.2-2
d9b7a4
- add missing build section
d9b7a4
d9b7a4
* Mon Dec 31 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.2.2-1
d9b7a4
- new upstream release 1.2.2
d9b7a4
- clean up for submission
d9b7a4
d9b7a4
* Fri Apr 27 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.0.0-4
d9b7a4
- bring in line with newer module packaging standards
d9b7a4
d9b7a4
* Fri Apr 27 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.0.0-3
d9b7a4
- guard Requires for F17 automatic depedency generation
d9b7a4
d9b7a4
* Sun Dec 18 2011 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.0.0-2
d9b7a4
- add Group to make EL5 happy
d9b7a4
d9b7a4
* Tue Aug 23 2011 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.0.0-1
d9b7a4
- initial package