|
|
7c6fe6 |
%{?scl:%scl_package nodejs-promzard}
|
|
|
7c6fe6 |
%{!?scl:%global pkg_name %{name}}
|
|
|
7c6fe6 |
%{?nodejs_find_provides_and_requires}
|
|
|
7c6fe6 |
|
|
|
7c6fe6 |
Name: %{?scl_prefix}nodejs-promzard
|
|
|
7c6fe6 |
Version: 0.2.0
|
|
|
7c6fe6 |
Release: 7%{?dist}
|
|
|
7c6fe6 |
Summary: A prompting wizard for building files from specialized PromZard modules
|
|
|
7c6fe6 |
BuildArch: noarch
|
|
|
7c6fe6 |
|
|
|
7c6fe6 |
Group: System Environment/Libraries
|
|
|
7c6fe6 |
# license will be included in next upstream release
|
|
|
7c6fe6 |
# # https://raw.github.com/isaacs/promzard/master/LICENSE
|
|
|
7c6fe6 |
License: BSD
|
|
|
7c6fe6 |
URL: https://github.com/isaacs/promzard
|
|
|
7c6fe6 |
Source0: http://registry.npmjs.org/promzard/-/promzard-%{version}.tgz
|
|
|
7c6fe6 |
BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
7c6fe6 |
|
|
|
7c6fe6 |
BuildRequires: %{?scl_prefix}nodejs-devel
|
|
|
7c6fe6 |
|
|
|
7c6fe6 |
%description
|
|
|
7c6fe6 |
A prompting wizard for building files from specialized PromZard modules.
|
|
|
7c6fe6 |
|
|
|
7c6fe6 |
The goal is a nice drop-in enhancement for `npm init`.
|
|
|
7c6fe6 |
|
|
|
7c6fe6 |
%prep
|
|
|
7c6fe6 |
%setup -q -n package
|
|
|
7c6fe6 |
|
|
|
7c6fe6 |
%build
|
|
|
7c6fe6 |
#nothing to do
|
|
|
7c6fe6 |
|
|
|
7c6fe6 |
%install
|
|
|
7c6fe6 |
rm -rf %buildroot
|
|
|
7c6fe6 |
mkdir -p %{buildroot}%{nodejs_sitelib}/promzard
|
|
|
7c6fe6 |
cp -pr package.json promzard.js %{buildroot}%{nodejs_sitelib}/promzard
|
|
|
7c6fe6 |
|
|
|
7c6fe6 |
%nodejs_symlink_deps
|
|
|
7c6fe6 |
|
|
|
7c6fe6 |
%clean
|
|
|
7c6fe6 |
rm -rf %buildroot
|
|
|
7c6fe6 |
|
|
|
7c6fe6 |
%files
|
|
|
7c6fe6 |
%defattr(-,root,root,-)
|
|
|
7c6fe6 |
%{nodejs_sitelib}/promzard
|
|
|
7c6fe6 |
%doc example README.md
|
|
|
7c6fe6 |
|
|
|
7c6fe6 |
%changelog
|
|
|
7c6fe6 |
* Tue Mar 04 2014 Tomas Hrcka <thrcka@redhat.com> - 0.2.0-7
|
|
|
7c6fe6 |
- Add missing nodejs_symlink_deps macro
|
|
|
7c6fe6 |
|
|
|
7c6fe6 |
* Thu Oct 17 2013 Tomas Hrcka <thrcka@redhat.com> - 0.2.0-6
|
|
|
7c6fe6 |
- replace provides and requires with macro
|
|
|
7c6fe6 |
|
|
|
7c6fe6 |
* Fri Apr 12 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0.2.0-5
|
|
|
7c6fe6 |
- Add support for software collections
|
|
|
7c6fe6 |
|
|
|
7c6fe6 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0-4
|
|
|
7c6fe6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
7c6fe6 |
|
|
|
7c6fe6 |
* Mon Jan 07 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.2.0-2
|
|
|
7c6fe6 |
- fix summary, description, license
|
|
|
7c6fe6 |
|
|
|
7c6fe6 |
* Mon Dec 31 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.2.0-1
|
|
|
7c6fe6 |
- initial package generated by npm2rpm
|