Репозиторий ALT Linux backports/2.4
Последнее обновление: 9 июля 2008 | Пакетов: 497 | Посещений: 1485804
 поиск   регистрация   авторизация 
 
Группа :: Работа с текстами
Пакет: html2text

 Главная   Изменения   Спек   Патчи   Загрузить   Bugs and FR 

Name: html2text
Version: 1.3.2a
Release: alt0.M24.1

Summary: An HTML-to-text converter
License: GPL
Group: Text tools
Url: http://userpage.fu-berlin.de/~mbayer/tools/%name.html

Source: ftp://ftp.ibiblio.org/pub/linux/apps/www/converters/%name-%version.tar.bz2

BuildRequires: gcc-c++

%description
html2text is a command line utility that converts HTML documents into
plain text.
Each HTML document is read from standard input or a (local or remote)
URI, and formatted into a stream of plain text characters that is written
to standard output or into an output-file.  The program preserves the
original positions of table fields and accepts also syntactically
incorrect input, attempting to interpret it "reasonably".  The rendering
is largely customisable through an RC file.

%description -l de
html2text ist ein Programm fuer die Kommandozeile, das HTML-Dateien in
reinen Text umwandelt.
Die HTML-Dateien koennen von Standard Input gelesen werden, als lokale
Dateien vorliegen oder ueber Hypertext Transfer Protocol (HTTP) von
anderen Rechnern geladen werden; die Ausgabe erfolgt auf Standard Output
oder in eine Datei.  html2text setzt Tabellen moeglichst getreu um und
toleriert auch syntaktisch unkorrektes HTML.  Die Art der Umsetzung
urspruenglicher Formatierungen ist dabei weitgehend durch eine
Konfigurationsdatei beeinflussbar.

%prep
%setup -q
gunzip *.[15].gz

%build
./configure
%make_build DEBUG="$RPM_OPT_FLAGS"
bzip2 -9kf CHANGES

%install
mkdir -p $RPM_BUILD_ROOT%prefix/bin
%__install -pD -m755 %name $RPM_BUILD_ROOT%_bindir/%name
%__install -pD -m644 %name.1 $RPM_BUILD_ROOT%_man1dir/%name.1
%__install -pD -m644 %{name}rc.5 $RPM_BUILD_ROOT%_man5dir/%{name}rc.5

%files
%_bindir/*
%_mandir/man?/*
%doc CHANGES.bz2 CREDITS KNOWN_BUGS README RELEASE_NOTES TODO

%changelog

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

 
design & coding: Vladimir Lettiev aka crux © 2004-2005