Group :: Text tools
RPM: nanoblogger
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Name: nanoblogger
Version: 3.4
Release: alt1.rc2
Summary: small weblog engine for the UNIX command line
License: GPL
Group: Text tools
Url: http://nanoblogger.sourceforge.net/
Packager: Kirill Maslinsky <kirill at altlinux.org>
BuildArch: noarch
Source: %name-%version.tar
Source1: nb.1
Requires: url_handler
%description
NanoBlogger is a small weblog engine written in Bash for the command line. It uses common UNIX tools such as cat, grep, and sed to create static HTML content.
pros:
* highly configurable and extensible
* intuitive command line interface
* easy drafting, editing, and management of entries
* configurable amount of archiving by category, year, month, day, and entry
* pagination
* permanent and navigational links
* templates and CSS style sheets for full control over layout
* placeholders for easy template manipulation
* support for multiple weblogs
* support for multiple tags (categories)
* support for both relative and absolute links
* support for date manipulation of entries
* Atom syndication (comes with 1.0 format)
* RSS syndication (comes with RSS 1.0 and 2.0 formats)
* plugins for calendar, recent entries, weblog status, etc.
* plugins for text formatting (e.g. line breaks translate to HTML)
* global (nb.conf) and per-weblog (blog.conf) configuration
* intelligent build system that only rebuilds what's necessary
* simple cache system for extra boost in speed
* independent from java-script and server-side scripting (e.g. PHP)
* independent from external database (stores data in flat-files)
* includes user manual
* multilingual support
* multi-platform portability (just add bash and the required commands)
* modular code base
cons:
* slow (written in bash)
* no comments (only available as add-on)
* comes with a user manual
* not easily upgradable
%prep
%setup
%build
sed -i 's/%%version/%version/g' nb
%install
mkdir -p %buildroot/%_bindir
cp nb %buildroot/%_bindir
mkdir -p %buildroot/%_sysconfdir/%name
cp nb.conf %buildroot/%_sysconfdir/%name
mkdir -p %buildroot/%_datadir/%name
cp -a default/ lang/ lib/ moods/ plugins/ welcome-to-nb.txt %buildroot/%_datadir/%name
mkdir -p %buildroot/%_man1dir
cp %SOURCE1 %buildroot/%_man1dir
%files
%_bindir/nb
%_sysconfdir/%name
%_datadir/%name
%_man1dir/*
%doc ChangeLog README copyright docs/nanoblogger.html TODO
%changelog
…
Full changelog you can see here
Version: 3.4
Release: alt1.rc2
Summary: small weblog engine for the UNIX command line
License: GPL
Group: Text tools
Url: http://nanoblogger.sourceforge.net/
Packager: Kirill Maslinsky <kirill at altlinux.org>
BuildArch: noarch
Source: %name-%version.tar
Source1: nb.1
Requires: url_handler
%description
NanoBlogger is a small weblog engine written in Bash for the command line. It uses common UNIX tools such as cat, grep, and sed to create static HTML content.
pros:
* highly configurable and extensible
* intuitive command line interface
* easy drafting, editing, and management of entries
* configurable amount of archiving by category, year, month, day, and entry
* pagination
* permanent and navigational links
* templates and CSS style sheets for full control over layout
* placeholders for easy template manipulation
* support for multiple weblogs
* support for multiple tags (categories)
* support for both relative and absolute links
* support for date manipulation of entries
* Atom syndication (comes with 1.0 format)
* RSS syndication (comes with RSS 1.0 and 2.0 formats)
* plugins for calendar, recent entries, weblog status, etc.
* plugins for text formatting (e.g. line breaks translate to HTML)
* global (nb.conf) and per-weblog (blog.conf) configuration
* intelligent build system that only rebuilds what's necessary
* simple cache system for extra boost in speed
* independent from java-script and server-side scripting (e.g. PHP)
* independent from external database (stores data in flat-files)
* includes user manual
* multilingual support
* multi-platform portability (just add bash and the required commands)
* modular code base
cons:
* slow (written in bash)
* no comments (only available as add-on)
* comes with a user manual
* not easily upgradable
%prep
%setup
%build
sed -i 's/%%version/%version/g' nb
%install
mkdir -p %buildroot/%_bindir
cp nb %buildroot/%_bindir
mkdir -p %buildroot/%_sysconfdir/%name
cp nb.conf %buildroot/%_sysconfdir/%name
mkdir -p %buildroot/%_datadir/%name
cp -a default/ lang/ lib/ moods/ plugins/ welcome-to-nb.txt %buildroot/%_datadir/%name
mkdir -p %buildroot/%_man1dir
cp %SOURCE1 %buildroot/%_man1dir
%files
%_bindir/nb
%_sysconfdir/%name
%_datadir/%name
%_man1dir/*
%doc ChangeLog README copyright docs/nanoblogger.html TODO
%changelog
…
Full changelog you can see here