Name: nodejs-ronn Version: 0.3.8 Release: 6%{?dist} Summary: Markdown to roff/html converter License: MIT Group: System Environment/Libraries URL: https://github.com/kapouer/ronnjs Source0: http://registry.npmjs.org/ronn/-/ronn-%{version}.tgz # unbundle markdown # https://github.com/kapouer/ronnjs/pull/13 Patch1: nodejs-ronn-unbundle-markdown.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: nodejs-devel %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 %patch1 -p1 %build #nothing to do %install rm -rf %{buildroot} 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_symlink_deps %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %{nodejs_sitelib}/ronn %{_bindir}/ronn %doc README.md LICENSE CHANGES TODO %changelog * 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