Blame SPECS/nodejs-init-package-json.spec

b2dd57
%{?scl:%scl_package nodejs-init-package-json}
b2dd57
%{!?scl:%global pkg_name %{name}}
b2dd57
%{?nodejs_find_provides_and_requires}
b2dd57
b2dd57
Name:           %{?scl_prefix}nodejs-init-package-json
b2dd57
Version:        0.0.14
b2dd57
Release:        1%{?dist}
b2dd57
Summary:        A node module to get your node module started
b2dd57
BuildArch:      noarch
b2dd57
ExclusiveArch: %{nodejs_arches} noarch
b2dd57
b2dd57
Group:          System Environment/Libraries
b2dd57
License:        BSD
b2dd57
URL:            https://github.com/isaacs/init-package-json
b2dd57
Source0:        http://registry.npmjs.org/init-package-json/-/init-package-json-%{version}.tgz
b2dd57
BuildRoot:      %{_tmppath}/%{pkg_name}-%{version}-%{release}-root-%(%{__id_u} -n)
b2dd57
b2dd57
BuildRequires:  %{?scl_prefix}nodejs-devel
b2dd57
b2dd57
%description
b2dd57
A node module to get your node module started, by creating its package.json
b2dd57
metadata file.
b2dd57
b2dd57
%prep
b2dd57
%setup -q -n package
b2dd57
b2dd57
%build
b2dd57
#nothing to do
b2dd57
b2dd57
%install
b2dd57
rm -rf %buildroot
b2dd57
mkdir -p %{buildroot}%{nodejs_sitelib}/init-package-json
b2dd57
cp -pr default-input.js init-package-json.js package.json %{buildroot}%{nodejs_sitelib}/init-package-json
b2dd57
b2dd57
%nodejs_symlink_deps
b2dd57
b2dd57
%clean
b2dd57
rm -rf %buildroot
b2dd57
b2dd57
%files
b2dd57
%defattr(-,root,root,-)
b2dd57
%{nodejs_sitelib}/init-package-json
b2dd57
%doc README.md example/example-basic.js  example/example-default.js  example/example-npm.js
b2dd57
%changelog
b2dd57
* Thu Jan 16 2014 Tomas Hrcka <thrcka@redhat.com> - 0.0.14-1
b2dd57
- New upstream release 0.0.14
b2dd57
b2dd57
* Thu Oct 17 2013 Tomas Hrcka <thrcka@redhat.com> - 0.0.10-2
b2dd57
- replace provides and requires with macro
b2dd57
b2dd57
b2dd57
* Sun Jun 23 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.10-1
b2dd57
- new upstream release 0.0.10
b2dd57
b2dd57
* Sat Jun 22 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.7-6
b2dd57
- restrict to compatible arches
b2dd57
b2dd57
* Mon Apr 15 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.7-5
b2dd57
- add macro for EPEL6 dependency generation
b2dd57
b2dd57
* Fri Apr 12 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0.0.7-5
b2dd57
- Add support for software collections
b2dd57
b2dd57
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.7-4
b2dd57
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
b2dd57
b2dd57
* Sun Jan 13 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.7-3
b2dd57
- use HTTP in Source0 instead of HTTPS
b2dd57
b2dd57
* Tue Jan 08 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.7-2
b2dd57
- add missing build section
b2dd57
- improve description
b2dd57
b2dd57
* Mon Dec 31 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.7-1
b2dd57
- initial package generated by npm2rpm