Debian Codegraph @

admin/abntex.spec

raw
1 # $Header: /home/cvsroot/abntex/admin/abntex.spec,v 1.6 2006/09/10 00:32:03 gweber Exp $
2 %define VERSION ABNTEXVERSION
3 %define rel ABNTEXRELEASE
4 %define texdir /usr/share/texmf
5 %define lyxdir /usr/share/lyx
6 %define bindir /usr/local/bin
7 Summary: LaTeX macros for writing documents following the ABNT norms.
8 Summary(pt_BR): Macros para LaTeX que implementam normas da ABNT.
9 Name: abntex
10 Version: %VERSION
11 Release: %rel
12 License: LPPL
13 Group: TeX
14 URL: http://abntex.codigolivre.org.br
15 Source: abntex-%{version}-%{rel}.tar.gz
16 Requires: tetex
17 %if %suse_version > 800
18 BuildRequires: tetex, te_latex, lyx
19 %endif
20 %description
21 With the abnTeX macros you will be able to write LaTeX
22 documents which conform to several norms from ABNT
23 (Brazilian Association for Technical Norms). In addition there
24 are macros for writing automated lists of abbreviations and
25 symbols and a style for writing patent applications for INPI.
26 You can also use these style with LyX.
27
28 %description -l pt_BR
29 As macros abnTeX possibilitam escrever documentos latex
30 em conformidade com as diversas normas da ABNT (Associação
31 Brasileira de Normas Técnicas). Além disso estão incluídas
32 macros para a confeção automatizada de listas de abreviaturas
33 e símbolos e um estilo para escrever requerimentos de patentes
34 para o INPI. Você também pode usar esses estilos com LyX.
35
36
37 %package doc
38 Summary: Precomipled (dvi, ps, pdf) documentation for the abnTeX macro package.
39 Summary(pt_BR): Documentação precompilada (dvi, ps, pdf) para o pacote de macros abnTeX.
40 Group: TeX
41
42 %description doc
43 Ready-to-use precompiled dvi, pdf, ps documentation of the abnTeX package.
44
45 %description doc -l pt_BR
46 Documentação em dvi, pdf, ps precompilado pronto para uso
47 do pacote abnTeX.
48
49 %package lyx
50 Requires: abntex >= %version, lyx >= 1.1
51 Summary: abnTeX layout styles for the use with LyX.
52 Summary(pt_BR): Estilos abnTeX para uso com LyX.
53 Group: Editors
54
55 %description lyx
56 abnTeX layout styles for the use with LyX.
57
58 %description lyx -l pt_BR
59 Estilos abnTeX para uso com LyX.
60
61 %changelog
62 * Sat Sep 9 2006 Gerald Weber <[email protected]>
63 abnt.cls
64 - Corrigido erro de digitação reportado nos bugs 200450 e 200451
65
66 tabela-simbolos.sty
67 - Corrigido erro na definição de \Bsymboltable, bug 200435
68 - inicializado o contador Ocorrencias em 1000, bug 200435
69
70 tabela-simbolos-doc.tex
71 - Removido \usepackage{html}
72
73 %changelog
74 * Fri May 30 2003 Gerald Weber <[email protected]>
75 Corrigido o bug 137.
76
77 * Tue Mar 19 2003 Gerald Weber <[email protected]>
78 Adicionado o pacote lyx.
79
80 %changelog
81 * Tue Nov 27 2002 Gerald Weber <[email protected]>
82 Correção de bug na classe abnt.cls.
83
84 * Tue Nov 19 2002 Gerald Weber <[email protected]>
85 First release as rpm package.
86
87 %prep
88 rm -rf $RPM_BUILD_DIR/%{name}-%{version}
89 %setup
90 %build
91 make doc
92
93 %install
94 make install
95
96 %post
97 texhash
98
99 %files
100 %defattr(-, root, root)
101 %doc LEIAME LEIAME.linux LEIAME.make LEIAME.administracao
102 %{texdir}/bibtex/bib/abntex
103 %{texdir}/bibtex/bst/abntex
104 %{texdir}/doc/bibtex/abntex
105 %{texdir}/doc/latex/abntex
106 %{texdir}/makeindex/abntex
107 %{texdir}/tex/latex/abntex
108 %{bindir}/geratss
109
110 %files doc
111 %defattr(-, root, root)
112 %doc compiled.docs/*
113
114 %files lyx
115 %defattr(-, root, root)
116 %{lyxdir}/layouts/abnt.layout
117
118
119 %postun
120 texhash