Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37039968
en ru br
Репозитории ALT
S:1.3.2a-alt2.qa1
5.1: 1.3.2a-alt2
4.1: 1.3.2a-alt2
4.0: 1.3.2a-alt2
3.0: 1.3.2a-alt1.1
www.altlinux.org/Changes

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

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

Name: html2text
Version: 1.3.2a
Release: alt2.qa1

Summary: An HTML-to-text converter
License: GPL
Group: Text tools
Url: http://www.mbayer.de/html2text/
Packager: Dmitry V. Levin <ldv at altlinux.org>

Source: ftp://ftp.ibiblio.org/pub/linux/apps/www/converters/%name-%version.tar.bz2
Patch: %name-1.3.2a-alt-urlistream-get.patch

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
%patch -p1
%__gzip -d *.[15].gz

%build
./configure
%make_build DEBUG="%optflags"
%__bzip2 -9kf CHANGES

%install
%__mkdir_p %buildroot%_bindir
%__install -pD -m755 %name %buildroot%_bindir/%name
%__install -pD -m644 %name.1 %buildroot%_man1dir/%name.1
%__install -pD -m644 %{name}rc.5 %buildroot%_man5dir/%{name}rc.5

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

%changelog

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

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