diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c6970ef --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/editor-1.0.0.tgz diff --git a/.rh-nodejs6-nodejs-editor.metadata b/.rh-nodejs6-nodejs-editor.metadata new file mode 100644 index 0000000..8d9ea26 --- /dev/null +++ b/.rh-nodejs6-nodejs-editor.metadata @@ -0,0 +1 @@ +60c7f87bd62bcc6a894fa8ccd6afb7823a24f742 SOURCES/editor-1.0.0.tgz diff --git a/README.md b/README.md deleted file mode 100644 index 98f42b4..0000000 --- a/README.md +++ /dev/null @@ -1,4 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SOURCES/LICENSE b/SOURCES/LICENSE new file mode 100644 index 0000000..2778bed --- /dev/null +++ b/SOURCES/LICENSE @@ -0,0 +1,21 @@ +Copyright 2013 James Halliday (mail@substack.net) + +This project is free software released under the MIT/X11 license: + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/SPECS/nodejs-editor.spec b/SPECS/nodejs-editor.spec new file mode 100644 index 0000000..6b4ac68 --- /dev/null +++ b/SPECS/nodejs-editor.spec @@ -0,0 +1,68 @@ +%{?scl:%scl_package nodejs-editor} +%{!?scl:%global pkg_name %{name}} + +%{?nodejs_find_provides_and_requires} + +Name: %{?scl_prefix}nodejs-editor +Version: 1.0.0 +Release: 2%{?dist} +Summary: Launch the default text editor from Node.js programs +BuildArch: noarch +ExclusiveArch: %{nodejs_arches} noarch +#package.json indicates MIT, but no license file included +#upstream notified in https://github.com/substack/node-editor/pull/5 +#we're including a copy of the MIT license based off a copy from another +#project by the same author indicating the same license in order to comply +#with the terms of the MIT license +License: MIT +URL: https://github.com/substack/node-editor +Source0: http://registry.npmjs.org/editor/-/editor-%{version}.tgz +Source1: https://raw.github.com/tchollingsworth/node-editor/05d7fbfcf22329db9aae5c676b0721045e7974d5/LICENSE +BuildRequires: %{?scl_prefix}nodejs-devel + +%description +%{summary}. + +%prep +%setup -q -n package + +#copy LICENSE file to %%{_builddir} so it works with %%doc +cp %{SOURCE1} . + +%build +#nothing to do + +%install +mkdir -p %{buildroot}%{nodejs_sitelib}/editor +cp -pr index.js package.json %{buildroot}%{nodejs_sitelib}/editor + +%nodejs_symlink_deps + +%files +%{nodejs_sitelib}/editor +%doc README.markdown LICENSE example + +%changelog +* Sun Feb 14 2016 Zuzana Svetlikova - 1.0.0-2 +- rebuilt + +* Mon Nov 30 2015 Tomas Hrcka - 1.0.0-1 +- New upstream release + +* Fri Jan 09 2015 Tomas Hrcka - 0.1.0-2 +- New upstream release 0.1.0 + +* Thu Jan 16 2014 Tomas Hrcka - 0.0.5-1 +- New upstream release 0.0.5 + +* Thu Nov 07 2013 Tomas Hrcka - 0.0.4-3.1 +- Software collections support + +* Sat Aug 03 2013 Fedora Release Engineering - 0.0.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Sat Jun 22 2013 T.C. Hollingsworth - 0.0.4-2 +- restrict to compatible arches + +* Thu May 30 2013 T.C. Hollingsworth - 0.0.4-1 +- initial package