diff --git a/.gitignore b/.gitignore deleted file mode 100644 index c03049c..0000000 --- a/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/ronn-0.3.8.tgz -/ronn-0.4.0.tgz diff --git a/README.md b/README.md deleted file mode 100644 index 1315656..0000000 --- a/README.md +++ /dev/null @@ -1,26 +0,0 @@ -# nodejs-ronn - -nodejs-ronn is deprecated upstream, npm(opts) has gone away, and -nodejs-markdown is going away. The suggested node based replacement is -marked-man. - -I have adopted nodejs-marked and updated to a supported version (1.1.0). -marked-man currently only works with marked-0.7.0 or earlier. -I have submitted a bug upstream: - -https://github.com/kapouer/marked-man/issues/28#issuecomment-648449738 - -Meanwhile, I am using pandoc where that is available. To use pandoc -on a man page designed for ronn I preprocess with - -``` - for i in *.md; - sed -i -e'1,1 s/^/% /' -e'1,1 s/--/|/' -e'2,2d' $i - done -``` - -Pandoc is not available on epel8, so I am using rubygen-ronn. - -I am also considering asciidoc, but haven't tried it yet with -existing man pages. - diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..5204a84 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +Orphaned for 6+ weeks diff --git a/nodejs-ronn.spec b/nodejs-ronn.spec deleted file mode 100644 index a4147f9..0000000 --- a/nodejs-ronn.spec +++ /dev/null @@ -1,123 +0,0 @@ -%{?nodejs_find_provides_and_requires} - -Name: nodejs-ronn -Version: 0.4.0 -Release: 17%{?dist} -Summary: Markdown to roff/html converter -License: MIT -URL: https://github.com/kapouer/ronnjs -Source0: https://registry.npmjs.org/ronn/-/ronn-%{version}.tgz -Patch0: puts.patch - -BuildArch: noarch -%if 0%{?fedora} >= 19 -ExclusiveArch: %{nodejs_arches} noarch -%else -ExclusiveArch: %{ix86} x86_64 %{arm} noarch -%endif - -BuildRequires: nodejs-packaging - -%description -JavaScript port of ronn, using markdown-js to produce roff man pages. Not fully -compatible with ronn, although it aims to be, wherever possible. - -%prep -%setup -q -n package -%patch0 -p3 -b .puts - -%build -#nothing to do - -%install -mkdir -p %{buildroot}%{nodejs_sitelib}/ronn -cp -pr bin lib package.json %{buildroot}%{nodejs_sitelib}/ronn - -mkdir -p %{buildroot}%{_bindir} -ln -s ../lib/node_modules/ronn/bin/ronn.js %{buildroot}%{_bindir}/ronn-nodejs - -%nodejs_symlink_deps - -%files -%{nodejs_sitelib}/ronn -%{_bindir}/ronn-nodejs -%doc README.md CHANGES TODO -%license LICENSE - -%changelog -* Tue Jul 28 2020 Fedora Release Engineering - 0.4.0-17 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Wed May 20 2020 Stuart Gathman - 0.4.0-16 -- Patch obsolete puts calls to use console - -* Wed Jan 29 2020 Fedora Release Engineering - 0.4.0-15 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - -* Thu Jul 25 2019 Fedora Release Engineering - 0.4.0-14 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Fri Feb 01 2019 Fedora Release Engineering - 0.4.0-13 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Fri Jul 13 2018 Fedora Release Engineering - 0.4.0-12 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Thu Feb 08 2018 Fedora Release Engineering - 0.4.0-11 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Thu Jul 27 2017 Fedora Release Engineering - 0.4.0-10 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Fri Feb 10 2017 Fedora Release Engineering - 0.4.0-9 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Sun Feb 07 2016 Piotr Popieluch - 0.4.0-8 -- cleanup spec - -* Thu Feb 04 2016 Fedora Release Engineering - 0.4.0-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Wed Jun 17 2015 Fedora Release Engineering - 0.4.0-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Sat Jun 07 2014 Fedora Release Engineering - 0.4.0-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - -* Fri Jan 03 2014 T.C. Hollingsworth - 0.4.0-4 -- add macro to invoke dependency generator on EL6 - -* Sun Jul 28 2013 Jamie Nguyen - 0.4.0-3 -- restrict to compatible arches - -* Wed Jun 05 2013 T.C. Hollingsworth - 0.4.0-2 -- rename executable so as not to conflict with rubygem-ronn - -* Tue Apr 16 2013 T.C. Hollingsworth - 0.4.0-1 -- new upstream release 0.4.0 -- markdown now unbundled upstream - -* Wed Mar 20 2013 T.C. Hollingsworth - 0.3.8-6 -- fix require on markdown - -* Sat Mar 16 2013 T.C. Hollingsworth - 0.3.8-5 -- unbundle markdown - -* Tue Jan 08 2013 T.C. Hollingsworth - 0.3.8-4 -- add missing build section -- capitalize summary - -* Mon Dec 31 2012 T.C. Hollingsworth - 0.3.8-3 -- clean up for submission - -* Fri Apr 27 2012 T.C. Hollingsworth - 0.3.8-2 -- guard Requires for F17 automatic depedency generation - -* Sat Feb 25 2012 T.C. Hollingsworth - 0.3.8-1 -- new upstream release 0.3.8 - -* Sun Dec 18 2011 T.C. Hollingsworth - 0.3.7-2 -- add Group to make EL5 happy - -* Thu Nov 17 2011 T.C. Hollingsworth - 0.3.7-1 -- initial package diff --git a/puts.patch b/puts.patch deleted file mode 100644 index 0979f3c..0000000 --- a/puts.patch +++ /dev/null @@ -1,26 +0,0 @@ -diff -up ./node_modules/ronn/bin/ronn.js.puts ./node_modules/ronn/bin/ronn.js ---- ./node_modules/ronn/bin/ronn.js.puts 2019-08-03 18:32:03.560415945 -0400 -+++ ./node_modules/ronn/bin/ronn.js 2019-08-03 18:33:18.600372936 -0400 -@@ -2,7 +2,8 @@ - - var RONN_VERSION = "0.4.0"; - --var sys = require('util'); -+var console = require('console'); -+var sys = { 'puts': console.log, 'debug': console.error }; - var fs = require('fs'); - var path = require('path'); - var opts = require('opts'); -diff -up ./node_modules/ronn/lib/ronn.js.puts ./node_modules/ronn/lib/ronn.js ---- ./node_modules/ronn/lib/ronn.js.puts 2019-08-03 18:32:11.703523935 -0400 -+++ ./node_modules/ronn/lib/ronn.js 2019-08-03 18:33:02.578184733 -0400 -@@ -4,7 +4,8 @@ - */ - - var md = require('markdown').markdown; --var sys = require('util'); -+var console = require('console'); -+var sys = { 'puts': console.log, 'debug': console.error }; - - /* exports Ronn class - * usage : diff --git a/sources b/sources deleted file mode 100644 index 24cbe22..0000000 --- a/sources +++ /dev/null @@ -1,2 +0,0 @@ -05402ce769fa0ff3f920103ae7d21d9f ronn-0.3.8.tgz -0756c3ad1252870cfc689c1e04e13196 ronn-0.4.0.tgz