]> git.pld-linux.org Git - packages/unrtf.git/blob - unrtf.spec
c4c69a0a7a761546d13d9dde7ff87da540161bca
[packages/unrtf.git] / unrtf.spec
1 Summary:        UnRTF - converter from RTF to other formats
2 Summary(pl.UTF-8):      UnRTF - konwerter z RTF do innych formatów
3 Name:           unrtf
4 Version:        0.21.9
5 Release:        1
6 License:        GPL v3+
7 Group:          Applications/Text
8 Source0:        http://ftp.gnu.org/gnu/unrtf/%{name}-%{version}.tar.gz
9 # Source0-md5:  e2724018429d7710f2c72771705f6b37
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
26 %description -l pl.UTF-8
27 Program unrtf to konwerter z formatu RTF (Rich Text Format) do coraz
28 większej liczby formatów dokumentów. Aktualnie obsługiwane są
29 HyperText Markup Language (HTML), czysty tekst, tekst z kodami VT100
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.
37
38 %prep
39 %setup -q
40
41 %build
42 %{__aclocal}
43 %{__autoconf}
44 %{__automake}
45 %configure
46 %{__make}
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50
51 %{__make} install \
52         DESTDIR=$RPM_BUILD_ROOT
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %files
58 %defattr(644,root,root,755)
59 %doc AUTHORS ChangeLog NEWS README
60 %attr(755,root,root) %{_bindir}/unrtf
61 %{_datadir}/unrtf
62 %{_mandir}/man1/unrtf.1*
This page took 0.078468 seconds and 2 git commands to generate.