]> git.pld-linux.org Git - SPECS.git/blob - lout.spec
SPECS updated Sat 31 Jul 21:27:02 CEST 2021
[SPECS.git] / lout.spec
1 Summary:        The Lout document formatting language
2 Summary(es.UTF-8):      Sistema de formateado de texto
3 Summary(pl.UTF-8):      Lout - język formatowania dokumentów
4 Summary(pt_BR.UTF-8):   Sistema de formatação de texto
5 Name:           lout
6 Version:        3.31
7 Release:        1
8 License:        GPL
9 Group:          Applications/Publishing
10 Source0:        ftp://ftp.cs.usyd.edu.au/jeff/lout/%{name}-%{version}.tar.gz
11 # Source0-md5:  8cc03412d5c26c208811877b89ad3174
12 Patch0:         %{name}-makefile.patch
13 URL:            http://snark.ptc.spbu.ru/~uwe/lout/lout.html
14 Obsoletes:      lout-doc
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 Lout is a high-level language for document formatting. Lout reads a
19 high-level description of a document (similar in style to LaTeX) and
20 can produce a PostScript(TM) file for printing or produce plain text.
21 Lout supports the typesetting of documents which contain floating
22 figures, table, diagrams, rotated and scaled text or graphics,
23 footnotes, running headers, footers, an index, a table of contents and
24 bibliography, cross-references, mathematical equations and statistical
25 graphs. Lout can be extended with definitions that should be easier to
26 write than other languages, since Lout is a high-level language. Lout
27 supports (with hyphenation) a variety of languages: Czech, Danish,
28 Dutch, English, Finnish, French, German, Norwegian, Russian,
29 Slovenian, Spanish and Swedish.
30
31 Install the lout package if you'd like to try the Lout document
32 formatting system. Unless you're already a Lout expert, you'll
33 probably want to also install the lout-doc package, which contains the
34 documentation for Lout.
35
36 %description -l es.UTF-8
37 El sistema lout lee una descripción de altonivel de un documento
38 similar en estilo al LaTeX y produce un archivo PostScript, que puede
39 ser impreso en muchas impresoras laser y dispositivos gráficos de
40 display. También se encuentra disponible la salida en formato texto.
41 Lout ofrece muchas características avanzadas, incluyendo optimización
42 de saltos de párrafos y páginas, separación automática, inclusión y
43 creación de archivos PsotScript EPS, formatos de ecuaciones, tablas,
44 gráficos, rotación y escalonamiento, índices ordenados, banco de datos
45 bibliográficos, documentos de múltiples idiomas que incluye separación
46 (soporta la mayoría de los idiomas europeos, incluso el ruso),
47 formatos de programas C/C++, y mucho más. Todo listo para usar.
48
49 %description -l pl.UTF-8
50 Lout to język wysokiego poziomu do formatowania dokumentów. Lout czyta
51 opis dokumentu (w stylu przypominającym LaTeX) i może wyprodukować
52 plik PostScript(TM) do wydruku lub czysty tekst. Obsługuje składanie
53 dokumentów zawierających rysunki, diagramy, obracany lub skalowany
54 tekst lub grafikę, przypisy, nagłówki, stopki, indeks, spis treści
55 oraz bibliografię, odnośniki, równania matematyczne i wykresy
56 statystyczne. Lout może być rozszerzany przez definicje, co ułatwia
57 pisane w stosunku do innych języków, ponieważ Lout jest językiem
58 wysokiego poziomu. Lout wspiera (z dzieleniem wyrazów) wiele języków:
59 angielski, czeski, duński, fiński, francuski, hiszpański, holenderski,
60 niemiecki, norweski, rosyjski, słoweński i szwedzki.
61
62 %description -l pt_BR.UTF-8
63 O sistema lout lê uma descrição de alto nível de um documento similar
64 em estilo ao LaTeX e produz um arquivo PostScript, que pode ser
65 impresso em muitas impressoras laser e dispositivos gráficos de
66 display. Saída em formato texto também esta disponível. Lout oferece
67 muitas características avançadas, incluindo otimização de quebras de
68 parágrafos e páginas, hifenização automática, inclusão e geração de
69 arquivos PostScript EPS, formatação de equações, tabelas, diagramas,
70 rotação e escalamento, índices ordenados, bancos de dados
71 bibliográficos, headers e paginação par-ímpar, referência cruzada
72 automática, documentos de múltiplos idiomas incluindo hifenização (a
73 maioria dos idiomas europeus são suportados, inclusive russo),
74 formatação de programas C/C++, e muito mais, tudo pronto para usar.
75
76 %prep
77 %setup -q
78 %patch0 -p1
79
80 %build
81 %{__make} lout prg2lout \
82         COPTS="-ansi -pedantic -Wall %{rpmcflags}" \
83         CC="%{__cc}"
84
85 # process each document three times, to get proper crossreferences
86 cd doc/design
87 ../../lout -I../../include -D../../data -C../../maps -F../../font -H../../hyph all -o ../../design.ps
88 ../../lout -I../../include -D../../data -C../../maps -F../../font -H../../hyph all -o ../../design.ps
89 ../../lout -I../../include -D../../data -C../../maps -F../../font -H../../hyph all -o ../../design.ps
90 cd ../expert
91 ../../lout -I../../include -D../../data -C../../maps -F../../font -H../../hyph all -o ../../expert.ps
92 ../../lout -I../../include -D../../data -C../../maps -F../../font -H../../hyph all -o ../../expert.ps
93 ../../lout -I../../include -D../../data -C../../maps -F../../font -H../../hyph all -o ../../expert.ps
94 cd ../slides
95 ../../lout -I../../include -D../../data -C../../maps -F../../font -H../../hyph all -o ../../slides.ps
96 ../../lout -I../../include -D../../data -C../../maps -F../../font -H../../hyph all -o ../../slides.ps
97 ../../lout -I../../include -D../../data -C../../maps -F../../font -H../../hyph all -o ../../slides.ps
98 cd ../user
99 # PATH needed for prg2lout filter
100 PATH="../..:$PATH" \
101 ../../lout -I../../include -D../../data -C../../maps -F../../font -H../../hyph all -o ../../user.ps
102 PATH="../..:$PATH" \
103 ../../lout -I../../include -D../../data -C../../maps -F../../font -H../../hyph all -o ../../user.ps
104 PATH="../..:$PATH" \
105 ../../lout -I../../include -D../../data -C../../maps -F../../font -H../../hyph all -o ../../user.ps
106
107 %install
108 rm -rf $RPM_BUILD_ROOT
109 install -d $RPM_BUILD_ROOT{%{_bindir},%{_prefix}/lib,%{_mandir}/man1}
110
111 %{__make} install installman \
112         DESTDIR=$RPM_BUILD_ROOT
113
114 %clean
115 rm -rf $RPM_BUILD_ROOT
116
117 %files
118 %defattr(644,root,root,755)
119 %doc blurb README maillist whatsnew *.ps
120 %attr(755,root,root) %{_bindir}/*
121 %{_prefix}/lib/lout
122 %{_mandir}/man1/*.1*
This page took 0.086968 seconds and 3 git commands to generate.