]> git.pld-linux.org Git - packages/unrtf.git/blob - unrtf.spec
38260577ac535d7ca9ffea6fa8732c01d54d4252
[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 BuildRequires:  autoconf >= 2.53
12 BuildRequires:  automake
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 The program unrtf is a converter from Rich Text Format (RTF) to a
17 growing number of document formats. At present it supports HyperText
18 Markup Language (HTML), plain text, text with VT100 codes, and LaTeX.
19 All output formats except HTML are "alpha" i.e. limited and
20 development has just begun. However with HTML, the program supports
21 tables, fonts, hyperlinks, and paragraph alignment. Font support
22 includes face and size changes, as well as typical attributes such as
23 italic, bold, underlining, strikethrough, smallcaps, allcaps, expand,
24 compress and both foreground and background colors. Images are always
25 stored to separate files in the current directory, or they can be
26 ignored.
27
28 %description -l pl.UTF-8
29 Program unrtf to konwerter z formatu RTF (Rich Text Format) do coraz
30 większej liczby formatów dokumentów. Aktualnie obsługiwane są
31 HyperText Markup Language (HTML), czysty tekst, tekst z kodami VT100
32 oraz LaTeX. Wszystkie formaty wyjściowe z wyjątkiem HTML-a są w stanie
33 "alpha", czyli ograniczone i ich obsługa dopiero zaczęła być tworzona.
34 Jednak przy użyciu HTML-a program obsługuje tabele, fonty, odnośniki i
35 wyrównania paragrafów. Obsługa fontów obejmuje zmiany kroju i
36 rozmiaru, a także typowe atrybuty, takie jak kursywa, pogrubienie,
37 podkreślenie, przekreślenie i kolor tła. Obrazki są zapisywane w
38 oddzielnych plikach w bieżącym katalogu, albo mogą być ignorowane.
39
40 %prep
41 %setup -q
42
43 %build
44 %{__aclocal}
45 %{__autoconf}
46 %{__automake}
47 %configure
48 %{__make}
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52
53 %{__make} install \
54         DESTDIR=$RPM_BUILD_ROOT
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files
60 %defattr(644,root,root,755)
61 %doc AUTHORS ChangeLog NEWS README
62 %attr(755,root,root) %{_bindir}/unrtf
63 %{_datadir}/unrtf
64 %{_mandir}/man1/unrtf.1*
This page took 0.052119 seconds and 2 git commands to generate.