Name: nodejs-node-markdown
Version: 0.1.1
Release: 3%{?dist}
Summary: Parse markdown syntax with Node.js
License: BSD
URL: https://github.com/andris9/node-markdown
Source0: http://registry.npmjs.org/node-markdown/-/node-markdown-%{version}.tgz
BuildArch: noarch
ExclusiveArch: %{nodejs_arches} noarch
BuildRequires: nodejs-packaging
Requires: npm(showdown)
%description
Based on showdown parser and parses markdown syntax into HTML code.
%prep
%setup -q -n package
rm -rf node_modules lib/vendor
%build
%install
mkdir -p %{buildroot}/%{nodejs_sitelib}/node-markdown
cp -pr package.json lib %{buildroot}/%{nodejs_sitelib}/node-markdown
mkdir -p %{buildroot}/%{nodejs_sitelib}/node-markdown/lib/vendor
ln -sf %{nodejs_sitelib}/showdown %{buildroot}/%{nodejs_sitelib}/node-markdown/lib/vendor
%nodejs_symlink_deps
%files
%doc LICENSE README.md examples
%{nodejs_sitelib}/node-markdown
%changelog
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Tue Jul 16 2013 Tom Hughes <tom@compton.nu> - 0.1.1-2
- Link showdown to lib/vendor instead of patching paths
- Update to latest nodejs packaging standards
* Sun Feb 10 2013 Tom Hughes <tom@compton.nu> - 0.1.1-1
- Initial build of 0.1.1