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