Blame SPECS/nodejs-editor.spec

609aef
%{?scl:%scl_package nodejs-editor}
609aef
%{!?scl:%global pkg_name %{name}}
609aef
609aef
%{?nodejs_find_provides_and_requires}
609aef
609aef
Name:           %{?scl_prefix}nodejs-editor
609aef
Version:        1.0.0
609aef
Release:        2%{?dist}
609aef
Summary:        Launch the default text editor from Node.js programs
609aef
BuildArch:      noarch
609aef
ExclusiveArch: %{nodejs_arches} noarch
609aef
#package.json indicates MIT, but no license file included
609aef
#upstream notified in https://github.com/substack/node-editor/pull/5
609aef
#we're including a copy of the MIT license based off a copy from another
609aef
#project by the same author indicating the same license in order to comply
609aef
#with the terms of the MIT license
609aef
License:        MIT
609aef
URL:            https://github.com/substack/node-editor
609aef
Source0:        http://registry.npmjs.org/editor/-/editor-%{version}.tgz
609aef
Source1:        https://raw.github.com/tchollingsworth/node-editor/05d7fbfcf22329db9aae5c676b0721045e7974d5/LICENSE
609aef
BuildRequires:  %{?scl_prefix}nodejs-devel
609aef
609aef
%description
609aef
%{summary}.
609aef
609aef
%prep
609aef
%setup -q -n package
609aef
609aef
#copy LICENSE file to %%{_builddir} so it works with %%doc
609aef
cp %{SOURCE1} .
609aef
609aef
%build
609aef
#nothing to do
609aef
609aef
%install
609aef
mkdir -p %{buildroot}%{nodejs_sitelib}/editor
609aef
cp -pr index.js package.json %{buildroot}%{nodejs_sitelib}/editor
609aef
609aef
%nodejs_symlink_deps
609aef
609aef
%files
609aef
%{nodejs_sitelib}/editor
609aef
%doc README.markdown LICENSE example
609aef
609aef
%changelog
609aef
* Sun Feb 14 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.0.0-2
609aef
- rebuilt
609aef
609aef
* Mon Nov 30 2015 Tomas Hrcka <thrcka@redhat.com> - 1.0.0-1
609aef
- New upstream release
609aef
609aef
* Fri Jan 09 2015 Tomas Hrcka <thrcka@redhat.com> - 0.1.0-2
609aef
- New upstream release 0.1.0
609aef
609aef
* Thu Jan 16 2014 Tomas Hrcka <thrcka@redhat.com> - 0.0.5-1
609aef
- New upstream release 0.0.5
609aef
609aef
* Thu Nov 07 2013 Tomas Hrcka <thrcka@redhat.com> - 0.0.4-3.1
609aef
- Software collections support
609aef
609aef
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.4-3
609aef
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
609aef
609aef
* Sat Jun 22 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.4-2
609aef
- restrict to compatible arches
609aef
609aef
* Thu May 30 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.4-1
609aef
- initial package