]> git.pld-linux.org Git - packages/doxygen.git/blob - doxygen.spec
- updated to 1.7.5
[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.UTF-8):      Doxygen es el sistema de documentación para C/C++
7 Summary(pl.UTF-8):      System dokumentowania dla C/C++
8 Summary(pt_BR.UTF-8):   Um sistema de documentação para C/C++
9 Summary(ru.UTF-8):      Система документирования для C та C++
10 Summary(uk.UTF-8):      Система документування для C та C++
11 Name:           doxygen
12 Version:        1.7.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:  40912d0a4b8248d78df6f705837dcd80
19 Patch0:         %{name}-qt-dirs.patch
20 URL:            http://www.doxygen.org/
21 %{?with_qt:BuildRequires:       QtGui-devel >= 4.3}
22 %{?with_qt:BuildRequires:       QtXml-devel >= 4.3}
23 BuildRequires:  bison
24 BuildRequires:  flex
25 BuildRequires:  ghostscript
26 BuildRequires:  ghostscript-fonts-std
27 BuildRequires:  libpng-devel
28 BuildRequires:  libstdc++-devel
29 BuildRequires:  perl-base
30 %{?with_qt:BuildRequires:       qt4-build >= 4.3}
31 %{?with_qt:BuildRequires:       qt4-qmake >= 4.3}
32 %if "%{pld_release}" == "ti"
33 BuildRequires:  tetex-format-latex >= 1:3.0-2
34 BuildRequires:  tetex-format-pdflatex >= 1:3.0-2
35 %else
36 BuildRequires:  texlive-latex
37 BuildRequires:  texlive-pdftex
38 %endif
39 # I don't know what is the exact names in TI, please correct
40 %if "%{pld_release}" == "th"
41 Suggests:       texlive-fonts-larm
42 Suggests:       texlive-latex-cyrillic
43 Suggests:       texlive-latex-extends
44 Suggests:       texlive-makeindex
45 %endif
46 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
47
48 # because of qt
49 %define         _noautoreqdep   libGL.so.1 libGLU.so.1
50
51 %description
52 Doxygen is a documentation system for C, C++ and IDL. It can generate
53 an on-line class browser (in HTML) and/or an off-line reference manual
54 (in LaTeX) from a set of documented source files. There is also
55 support for generating man pages and for converting the generated
56 output into Postscript, hyperlinked PDF or compressed HTML. The
57 documentation is extracted directly from the sources.
58
59 Doxygen can also be configured to extract the code-structure from
60 undocumented source files. This can be very useful to quickly find
61 your way in large source distributions.
62
63 %description -l es.UTF-8
64 Doxygen es un sistema de documentación para C, C++ e IDL. Es capaz de
65 generar un navegador on-line entre clases (en HTML) y-o un manual
66 off-line de referencia (en LaTeX) a partir de un conjunto de ficheros
67 de código fuente documentados. También hay soporte para generar
68 páginas man y para convertir la generada salida an Postscript, PDF con
69 hiperenlaces o HTML comprimido. La documentación se extrae
70 directamente de los fuentes.
71
72 Doxygen puede también ser configurado a extraer la estructura del
73 código de código fuente que carece de documentación. Eso puede ser muy
74 útil para orientarse rápidamente en distribuciones grandes de código
75 fuente.
76
77 %description -l pl.UTF-8
78 Doxygen to system dokumentowania dla C, C++ i IDL. Może generować
79 dokumentację klas on-line (w HTML-u) lub podręcznik off-line (w
80 LaTeXu) z zestawu udokumentowanych plików źródłowych. Ma także
81 możliwość generowania stron man i konwersji na Postscript, PDF z
82 hiperłączami oraz skompresowany HTML. Dokumentacja jest wyciągana
83 bezpośrednio ze źródeł.
84
85 Doxygen może być skonfigurowany także do wyciągania struktury kodu z
86 nieudokumentowanych plików źródłowych. Może być to przydatne do
87 szybkiego odnalezienia się w dużych źródłach.
88
89 %description -l pt_BR.UTF-8
90 Doxygen é uma sistema de documentação para C e C++ que gera um class
91 browser on-line (em HTML) e/ou um manual de referencia off-line (em
92 LaTeX) a partir de um conjunto de fontes documentados. A documentação
93 é extraida diretamente a partir dos fontes.
94
95 %description -l ru.UTF-8
96 Doxygen - это система документирования для C, C++ и IDL. Она может
97 создать онлайновый броузер классов (в HTML) и/или оффлайновый
98 справочник (в LaTeX) из набора документированных файлов. Есть также
99 поддержка создания man-страниц и конвертации сгенерированного вывода в
100 Postscript, PDF с гиперссылками и компрессированный HTML. Документация
101 извлекается непосредственно из исходных файлов.
102
103 Doxygen можно также сконфигурировать для получения структуры кода из
104 нелокументированных исходных файлов. Это может быть очень полезным для
105 того, чтобы бысто разобраться в большом проекте.
106
107 %description -l uk.UTF-8
108 Doxygen - це система документування для C, C++ та IDL. Вона може
109 створити онлайновий броузер класів (в HTML) та/чи оффлайновий довідник
110 (в LaTeX) з набору документованих вихідних файлів. Є також підтримка
111 для створення man-сторінок та конвертації згенерованого виводу в
112 Postscript, PDF з гіперлінками та компресований HTML. Документація
113 видобувається безпосердньо з вихідних файлів.
114
115 Doxygen можна також зконфігурувати для отримання структури коду з
116 недокументованих вихідних файлів. Це може бути дуже корисним для того,
117 щоб швидко розібратися у великому проекті.
118
119 %package doxywizard
120 Summary:        A GUI front-end for creating and editing configuration files
121 Summary(es.UTF-8):      Un front-end GUI para crear y editar ficheros de configuración
122 Summary(pl.UTF-8):      GUI do tworzenia i edycji plików konfiguracyjnych
123 Summary(pt_BR.UTF-8):   Wizard gráfico para o Doxygen
124 Group:          X11/Applications
125 Requires:       %{name} = %{epoch}:%{version}-%{release}
126
127 %description doxywizard
128 Doxywizard is a GUI front-end for creating and editing configuration
129 files that are used by doxygen.
130
131 %description doxywizard -l es.UTF-8
132 Doxywizard es un front-end GUI para crear y editar los ficheros de
133 configuración que son usados por doxygen.
134
135 %description doxywizard -l pl.UTF-8
136 Doxywizard to frontend z graficznym interfejsem do tworzenia i edycji
137 plików konfiguracyjnych używanych przez doxygen.
138
139 %description doxywizard -l pt_BR.UTF-8
140 Wizard gráfico para o Doxygen.
141
142 %prep
143 %setup -q
144 %patch0 -p1
145
146 %{__rm} addon/doxywizard/Makefile.doxywizard
147
148 %build
149 # don't change it to %%configure, not autoconf-generated!
150 ./configure \
151         --prefix %{_prefix} \
152         --perl %{__perl} \
153         --install %{_bindir}/install \
154         %{?with_qt:--with-doxywizard}
155
156 %{__make} \
157         CC="%{__cc}" \
158         CXX="%{__cxx}" \
159         LINK="%{__cxx}" \
160         QTDIR="%{_prefix}" \
161         CFLAGS="%{rpmcflags}" \
162         CXXFLAGS="%{rpmcxxflags} -DQT_LITE_UNICODE -DNODEBUG -fno-rtti -fno-exceptions" \
163         LFLAGS="%{rpmldflags}"
164
165 %{__make} docs
166 #%%{__make} pdf
167
168 %install
169 rm -rf $RPM_BUILD_ROOT
170 %{__make} install DESTDIR=$RPM_BUILD_ROOT
171
172 %clean
173 rm -rf $RPM_BUILD_ROOT
174
175 %files
176 %defattr(644,root,root,755)
177 %doc html examples README
178 %attr(755,root,root) %{_bindir}/doxygen
179 %attr(755,root,root) %{_bindir}/doxytag
180 %{_mandir}/man1/doxygen.1*
181 %{_mandir}/man1/doxytag.1*
182
183 %if %{with qt}
184 %files doxywizard
185 %defattr(644,root,root,755)
186 %attr(755,root,root) %{_bindir}/doxywizard
187 %{_mandir}/man1/doxywizard.1*
188 %endif
This page took 0.106655 seconds and 3 git commands to generate.