diff --git a/docco.1 b/docco.1 deleted file mode 100644 index 99c0047..0000000 --- a/docco.1 +++ /dev/null @@ -1,30 +0,0 @@ -.TH DOCCO "1" "March 2013" "docco 0.6.1" "User Commands" -.SH NAME -docco \- The Quick and Dirty Literate Programming Documentation Generator -.SH SYNOPSIS -Usage: docco [\fIoptions\fR] <\fIfilePattern\fR> ... -.SH DESCRIPTION -Docco is a quick-and-dirty documentation generator, written in Literate CoffeeScript. It produces an HTML document that displays your comments intermingled with your code. All prose is passed through Markdown, and code is passed through Pygments syntax highlighting. -.SH OPTIONS -.TP -\fB\-h\fR, \fB\-\-help\fR -output usage information -.TP -\fB\-V\fR, \fB\-\-version\fR -output the version number -.TP -\fB\-c\fR, \fB\-\-css\fR [file] -use a custom css file -.TP -\fB\-o\fR, \fB\-\-output\fR [path] -use a custom output path -.TP -\fB\-t\fR, \fB\-\-template\fR [file] -use a custom .jst template -.SH AUTHORS -The main author of docco is Jeremy Ashkenas <\fBjashkenas@gmail.com\fR>. -For a more complete list of contributors, see the GitHub page at -<\fBhttps://github.com/jashkenas/docco\fR>. -.SH "REPORTING BUGS" -Please report bugs on the GitHub issue tracker: -<\fBhttps://github.com/jashkenas/docco/issues\fR>. diff --git a/docco.spec b/docco.spec index 3e27120..72ef2ec 100644 --- a/docco.spec +++ b/docco.spec @@ -8,14 +8,12 @@ Name: docco Version: 0.6.2 -Release: 5%{?dist} +Release: 6%{?dist} Summary: The Quick and Dirty Literate Programming Documentation Generator License: MIT Group: System Environment/Libraries URL: http://jashkenas.github.com/docco/ Source0: http://registry.npmjs.org/docco/-/docco-%{version}.tgz -# Include our own man page. -Source20: docco.1 BuildArch: noarch %if 0%{?fedora} >= 19 @@ -45,12 +43,15 @@ code is passed through Pygments syntax highlighting. %prep %setup -q -n package +%nodejs_fixdep commander '~2.1' +%nodejs_fixdep marked '~0.2' +%nodejs_fixdep underscore '~1.6' %build %nodejs_symlink_deps --check # Build docco.js -cake build +/usr/bin/cake build # Build the documentation. ./bin/docco --layout linear docco.litcoffee # Remove bundled web fonts. @@ -80,9 +81,6 @@ mkdir -p %{buildroot}%{docs} ln -sf %{_datadir}/docco/resources \ %{buildroot}%{docs}/resources -mkdir -p %{buildroot}%{_mandir}/man1 -install -p -D -m0644 %{SOURCE20} %{buildroot}%{_mandir}/man1/docco.1 - %nodejs_symlink_deps @@ -92,10 +90,12 @@ install -p -D -m0644 %{SOURCE20} %{buildroot}%{_mandir}/man1/docco.1 %{nodejs_sitelib}/docco %{_bindir}/docco %{_datadir}/docco -%{_mandir}/man1/docco.1* %changelog +* Fri Apr 18 2014 Jamie Nguyen - 0.6.2-6 +- fix versioned dependencies + * Sun Aug 04 2013 Jamie Nguyen - 0.6.2-5 - add conditional for new unversioned docdir introduced in f20