Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37523210
en ru br
Репозитории ALT
S:3.4-alt1.rc2
5.1: 3.4-alt1.rc2
www.altlinux.org/Changes

Группа :: Работа с текстами
Пакет: nanoblogger

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   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

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin