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