]> git.pld-linux.org Git - packages/doxygen.git/blob - doxygen.spec
- updated to 1.4.1
[packages/doxygen.git] / doxygen.spec
1 #
2 # Conditional build:
3 %bcond_without qt       # without doxywizard (qt-based)
4 #
5 Summary:        Doxygen is the documentation system for C/C++
6 Summary(es):    Doxygen es el sistema de documentación para C/C++
7 Summary(pl):    System dokumentowania dla C/C++
8 Summary(pt_BR): Um sistema de documentação para C/C++
9 Summary(ru):    óÉÓÔÅÍÁ ÄÏËÕÍÅÎÔÉÒÏ×ÁÎÉÑ ÄÌÑ C ÔÁ C++
10 Summary(uk):    óÉÓÔÅÍÁ ÄÏËÕÍÅÎÔÕ×ÁÎÎÑ ÄÌÑ C ÔÁ C++
11 Name:           doxygen
12 Version:        1.4.1
13 Release:        1
14 Epoch:          1
15 License:        GPL
16 Group:          Development/Tools
17 Source0:        ftp://ftp.stack.nl/pub/users/dimitri/%{name}-%{version}.src.tar.gz
18 # Source0-md5:  b0ea863bb3ccc757264f784a36519ddb
19 Patch0:         %{name}-system-libpng.patch
20 Patch1:         %{name}-qt-dirs.patch
21 Patch2:         %{name}-lib64.patch
22 URL:            http://www.doxygen.org/
23 BuildRequires:  flex
24 BuildRequires:  ghostscript
25 BuildRequires:  ghostscript-fonts-std
26 BuildRequires:  libpng-devel
27 BuildRequires:  libstdc++-devel
28 %{?with_qt:BuildRequires:       qt-devel >= 2.1.0}
29 BuildRequires:  tetex-format-latex
30 BuildRequires:  tetex-format-pdflatex
31 BuildRequires:  tetex-plain-misc
32 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
34 # because of qt
35 %define         _noautoreqdep   libGL.so.1 libGLU.so.1
36
37 %description
38 Doxygen is a documentation system for C, C++ and IDL. It can generate
39 an on-line class browser (in HTML) and/or an off-line reference manual
40 (in LaTeX) from a set of documented source files. There is also
41 support for generating man pages and for converting the generated
42 output into Postscript, hyperlinked PDF or compressed HTML. The
43 documentation is extracted directly from the sources.
44
45 Doxygen can also be configured to extract the code-structure from
46 undocumented source files. This can be very useful to quickly find
47 your way in large source distributions.
48
49 %description -l es
50 Doxygen es un sistema de documentación para C, C++ e IDL. Es capaz de
51 generar un navegador on-line entre clases (en HTML) y-o un manual
52 off-line de referencia (en LaTeX) a partir de un conjunto de ficheros
53 de código fuente documentados. También hay soporte para generar
54 páginas man y para convertir la generada salida an Postscript, PDF con
55 hiperenlaces o HTML comprimido. La documentación se extrae
56 directamente de los fuentes.
57
58 Doxygen puede también ser configurado a extraer la estructura del
59 código de código fuente que carece de documentación. Eso puede ser muy
60 útil para orientarse rápidamente en distribuciones grandes de código
61 fuente.
62
63 %description -l pl
64 Doxygen to system dokumentowania dla C, C++ i IDL. Mo¿e generowaæ
65 dokumentacjê klas on-line (w HTML-u) lub podrêcznik off-line (w
66 LaTeXu) z zestawu udokumentowanych plików ¼ród³owych. Ma tak¿e
67 mo¿liwo¶æ generowania stron man i konwersji na Postscript, PDF z
68 hiper³±czami oraz skompresowany HTML. Dokumentacja jest wyci±gana
69 bezpo¶rednio ze ¼róde³.
70
71 Doxygen mo¿e byæ skonfigurowany tak¿e do wyci±gania struktury kodu z
72 nieudokumentowanych plików ¼ród³owych. Mo¿e byæ to przydatne do
73 szybkiego odnalezienia siê w du¿ych ¼ród³ach.
74
75 %description -l pt_BR
76 Doxygen é uma sistema de documentação para C e C++ que gera um class
77 browser on-line (em HTML) e/ou um manual de referencia off-line (em
78 LaTeX) a partir de um conjunto de fontes documentados. A documentação
79 é extraida diretamente a partir dos fontes.
80
81 %description -l ru
82 Doxygen - ÜÔÏ ÓÉÓÔÅÍÁ ÄÏËÕÍÅÎÔÉÒÏ×ÁÎÉÑ ÄÌÑ C, C++ É IDL. ïÎÁ ÍÏÖÅÔ
83 ÓÏÚÄÁÔØ ÏÎÌÁÊÎÏ×ÙÊ ÂÒÏÕÚÅÒ ËÌÁÓÓÏ× (× HTML) É/ÉÌÉ ÏÆÆÌÁÊÎÏ×ÙÊ
84 ÓÐÒÁ×ÏÞÎÉË (× LaTeX) ÉÚ ÎÁÂÏÒÁ ÄÏËÕÍÅÎÔÉÒÏ×ÁÎÎÙÈ ÆÁÊÌÏ×. åÓÔØ ÔÁËÖÅ
85 ÐÏÄÄÅÒÖËÁ ÓÏÚÄÁÎÉÑ man-ÓÔÒÁÎÉàɠËÏÎ×ÅÒÔÁÃÉÉ ÓÇÅÎÅÒÉÒÏ×ÁÎÎÏÇÏ ×Ù×ÏÄÁ ×
86 Postscript, PDF Ó ÇÉÐÅÒÓÓÙÌËÁÍÉ É ËÏÍÐÒÅÓÓÉÒÏ×ÁÎÎÙÊ HTML. äÏËÕÍÅÎÔÁÃÉÑ
87 ÉÚ×ÌÅËÁÅÔÓÑ ÎÅÐÏÓÒÅÄÓÔ×ÅÎÎÏ ÉÚ ÉÓÈÏÄÎÙÈ ÆÁÊÌÏ×.
88
89 Doxygen ÍÏÖÎÏ ÔÁËÖÅ ÓËÏÎÆÉÇÕÒÉÒÏ×ÁÔØ ÄÌÑ ÐÏÌÕÞÅÎÉÑ ÓÔÒÕËÔÕÒÙ ËÏÄÁ ÉÚ
90 ÎÅÌÏËÕÍÅÎÔÉÒÏ×ÁÎÎÙÈ ÉÓÈÏÄÎÙÈ ÆÁÊÌÏ×. üÔÏ ÍÏÖÅÔ ÂÙÔØ ÏÞÅÎØ ÐÏÌÅÚÎÙÍ ÄÌÑ
91 ÔÏÇÏ, ÞÔÏÂÙ ÂÙÓÔÏ ÒÁÚÏÂÒÁÔØÓÑ × ÂÏÌØÛÏÍ ÐÒÏÅËÔÅ.
92
93 %description -l uk
94 Doxygen - ÃÅ ÓÉÓÔÅÍÁ ÄÏËÕÍÅÎÔÕ×ÁÎÎÑ ÄÌÑ C, C++ ÔÁ IDL. ÷ÏÎÁ ÍÏÖÅ
95 ÓÔ×ÏÒÉÔÉ ÏÎÌÁÊÎÏ×ÉÊ ÂÒÏÕÚÅÒ ËÌÁӦנ(× HTML) ÔÁ/ÞÉ ÏÆÆÌÁÊÎÏ×ÉÊ ÄÏצÄÎÉË
96 (× LaTeX) Ú ÎÁÂÏÒÕ ÄÏËÕÍÅÎÔÏ×ÁÎÉÈ ×ÉȦÄÎÉÈ ÆÁÊ̦×. ´ ÔÁËÏ֠ЦÄÔÒÉÍËÁ
97 ÄÌÑ ÓÔ×ÏÒÅÎÎÑ man-ÓÔÏÒ¦ÎÏË ÔÁ ËÏÎ×ÅÒÔÁ槠ÚÇÅÎÅÒÏ×ÁÎÏÇÏ ×É×ÏÄÕ ×
98 Postscript, PDF Ú Ç¦ÐÅÒ̦ÎËÁÍÉ ÔÁ ËÏÍÐÒÅÓÏ×ÁÎÉÊ HTML. äÏËÕÍÅÎÔÁæÑ
99 ×ÉÄÏÂÕ×Á¤ÔØÓÑ ÂÅÚÐÏÓÅÒÄÎØÏ Ú ×ÉȦÄÎÉÈ ÆÁÊ̦×.
100
101 Doxygen ÍÏÖÎÁ ÔÁËÏÖ ÚËÏÎƦÇÕÒÕ×ÁÔÉ ÄÌÑ ÏÔÒÉÍÁÎÎÑ ÓÔÒÕËÔÕÒÉ ËÏÄÕ Ú
102 ÎÅÄÏËÕÍÅÎÔÏ×ÁÎÉÈ ×ÉȦÄÎÉÈ ÆÁÊ̦×. ãÅ ÍÏÖÅ ÂÕÔÉ ÄÕÖÅ ËÏÒÉÓÎÉÍ ÄÌÑ ÔÏÇÏ,
103 ÝÏ Û×ÉÄËÏ ÒÏÚ¦ÂÒÁÔÉÓÑ Õ ×ÅÌÉËÏÍÕ ÐÒÏÅËÔ¦.
104
105 %package doxywizard
106 Summary:        A GUI front-end for creating and editing configuration files
107 Summary(es):    Un front-end GUI para crear y editar ficheros de configuración
108 Summary(pl):    GUI do tworzenia i edycji plików konfiguracyjnych
109 Summary(pt_BR): Wizard gráfico para o Doxygen
110 Group:          X11/Applications
111 Requires:       %{name} = %{epoch}:%{version}-%{release}
112 Requires:       qt >= 2.1.0
113
114 %description doxywizard
115 Doxywizard is a GUI front-end for creating and editing configuration
116 files that are used by doxygen.
117
118 %description doxywizard -l es
119 Doxywizard es un front-end GUI para crear y editar los ficheros de
120 configuración que son usados por doxygen.
121
122 %description doxywizard -l pl
123 Doxywizard to frontend z graficznym interfejsem do tworzenia i edycji
124 plików konfiguracyjnych u¿ywanych przez doxygen.
125
126 %description doxywizard -l pt_BR
127 Wizard gráfico para o Doxygen.
128
129 %prep
130 %setup -q
131 %patch0 -p1
132 %patch1 -p1
133 %ifarch amd64
134 %patch2 -p1
135 %endif
136
137 rm -rf libpng src/unistd.h
138
139 %build
140 export QTDIR=%{_prefix}
141 # don't change it to %%configure, not autoconf-generated!
142 ./configure \
143         --prefix %{_prefix} \
144         --perl %{_bindir}/perl \
145         --install %{_bindir}/install \
146         %{?with_qt:--with-doxywizard}
147
148 %{__make} QTDIR=%{_prefix} \
149         CFLAGS="%{rpmcflags}" \
150         CXXFLAGS="%{rpmcflags} \
151         -DQT_NO_CODECS -DQT_LITE_UNICODE -fno-rtti -fno-exceptions"
152
153 %{__make} docs
154 #%%{__make} pdf
155
156 %install
157 rm -rf $RPM_BUILD_ROOT
158 install -d $RPM_BUILD_ROOT%{_bindir}
159
160 install bin/doxy* $RPM_BUILD_ROOT%{_bindir}
161
162 %clean
163 rm -rf $RPM_BUILD_ROOT
164
165 %files
166 %defattr(644,root,root,755)
167 %doc html examples README
168 %attr(755,root,root) %{_bindir}/doxygen
169 %attr(755,root,root) %{_bindir}/doxytag
170
171 %if %{with qt}
172 %files doxywizard
173 %defattr(644,root,root,755)
174 %attr(755,root,root) %{_bindir}/doxywizard
175 %endif
This page took 0.067422 seconds and 3 git commands to generate.