Summary: UnRTF - converter from RTF to other formats Summary(pl.UTF-8): UnRTF - konwerter z RTF do innych formatów Name: unrtf Version: 0.21.10 Release: 1 License: GPL v3+ Group: Applications/Text Source0: http://ftp.gnu.org/gnu/unrtf/%{name}-%{version}.tar.gz # Source0-md5: cbd1ae563240e383d0773bb049887d3f URL: http://www.gnu.org/software/unrtf/unrtf.html BuildRequires: autoconf >= 2.59 BuildRequires: automake BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description The program unrtf is a converter from Rich Text Format (RTF) to a growing number of document formats. At present it supports HyperText Markup Language (HTML), plain text, text with VT100 codes, and LaTeX. All output formats except HTML are "alpha" i.e. limited and development has just begun. However with HTML, the program supports tables, fonts, hyperlinks, and paragraph alignment. Font support includes face and size changes, as well as typical attributes such as italic, bold, underlining, strikethrough, smallcaps, allcaps, expand, compress and both foreground and background colors. Images are always stored to separate files in the current directory, or they can be ignored. %description -l pl.UTF-8 Program unrtf to konwerter z formatu RTF (Rich Text Format) do coraz większej liczby formatów dokumentów. Aktualnie obsługiwane są HyperText Markup Language (HTML), czysty tekst, tekst z kodami VT100 oraz LaTeX. Wszystkie formaty wyjściowe z wyjątkiem HTML-a są w stanie "alpha", czyli ograniczone i ich obsługa dopiero zaczęła być tworzona. Jednak przy użyciu HTML-a program obsługuje tabele, fonty, odnośniki i wyrównania paragrafów. Obsługa fontów obejmuje zmiany kroju i rozmiaru, a także typowe atrybuty, takie jak kursywa, pogrubienie, podkreślenie, przekreślenie i kolor tła. Obrazki są zapisywane w oddzielnych plikach w bieżącym katalogu, albo mogą być ignorowane. %prep %setup -q %build %{__aclocal} %{__autoconf} %{__automake} %configure %{__make} %install rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc AUTHORS ChangeLog NEWS README %attr(755,root,root) %{_bindir}/unrtf %{_datadir}/unrtf %{_mandir}/man1/unrtf.1*