]>
Commit | Line | Data |
---|---|---|
e14c8d8a | 1 | Summary: UnRTF - converter from RTF to other formats |
feeedf23 | 2 | Summary(pl.UTF-8): UnRTF - konwerter z RTF do innych formatów |
e14c8d8a | 3 | Name: unrtf |
f154b8ad | 4 | Version: 0.21.9 |
e14c8d8a | 5 | Release: 1 |
3e6a0a0b | 6 | License: GPL v3+ |
e14c8d8a | 7 | Group: Applications/Text |
f6d68d59 | 8 | Source0: http://ftp.gnu.org/gnu/unrtf/%{name}-%{version}.tar.gz |
f154b8ad | 9 | # Source0-md5: e2724018429d7710f2c72771705f6b37 |
e14c8d8a JB |
10 | URL: http://www.gnu.org/software/unrtf/unrtf.html |
11 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
12 | ||
13 | %description | |
14 | The program unrtf is a converter from Rich Text Format (RTF) to a | |
15 | growing number of document formats. At present it supports HyperText | |
16 | Markup Language (HTML), plain text, text with VT100 codes, and LaTeX. | |
17 | All output formats except HTML are "alpha" i.e. limited and | |
18 | development has just begun. However with HTML, the program supports | |
19 | tables, fonts, hyperlinks, and paragraph alignment. Font support | |
20 | includes face and size changes, as well as typical attributes such as | |
21 | italic, bold, underlining, strikethrough, smallcaps, allcaps, expand, | |
22 | compress and both foreground and background colors. Images are always | |
23 | stored to separate files in the current directory, or they can be | |
24 | ignored. | |
25 | ||
55101f0e | 26 | %description -l pl.UTF-8 |
e14c8d8a | 27 | Program unrtf to konwerter z formatu RTF (Rich Text Format) do coraz |
55101f0e | 28 | większej liczby formatów dokumentów. Aktualnie obsługiwane są |
e14c8d8a | 29 | HyperText Markup Language (HTML), czysty tekst, tekst z kodami VT100 |
55101f0e JR |
30 | oraz LaTeX. Wszystkie formaty wyjściowe z wyjątkiem HTML-a są w stanie |
31 | "alpha", czyli ograniczone i ich obsługa dopiero zaczęła być tworzona. | |
32 | Jednak przy użyciu HTML-a program obsługuje tabele, fonty, odnośniki i | |
33 | wyrównania paragrafów. Obsługa fontów obejmuje zmiany kroju i | |
34 | rozmiaru, a także typowe atrybuty, takie jak kursywa, pogrubienie, | |
35 | podkreślenie, przekreślenie i kolor tła. Obrazki są zapisywane w | |
36 | oddzielnych plikach w bieżącym katalogu, albo mogą być ignorowane. | |
e14c8d8a JB |
37 | |
38 | %prep | |
7c798311 | 39 | %setup -q |
e14c8d8a JB |
40 | |
41 | %build | |
f154b8ad AG |
42 | %{__aclocal} |
43 | %{__autoconf} | |
44 | %{__automake} | |
e5e48dd6 JB |
45 | %configure |
46 | %{__make} | |
e14c8d8a JB |
47 | |
48 | %install | |
49 | rm -rf $RPM_BUILD_ROOT | |
50 | ||
e5e48dd6 JB |
51 | %{__make} install \ |
52 | DESTDIR=$RPM_BUILD_ROOT | |
e14c8d8a JB |
53 | |
54 | %clean | |
55 | rm -rf $RPM_BUILD_ROOT | |
56 | ||
57 | %files | |
58 | %defattr(644,root,root,755) | |
a0d40a8d | 59 | %doc AUTHORS ChangeLog NEWS README |
e14c8d8a | 60 | %attr(755,root,root) %{_bindir}/unrtf |
2cad6af9 | 61 | %{_datadir}/unrtf |
e14c8d8a | 62 | %{_mandir}/man1/unrtf.1* |