]> git.pld-linux.org Git - packages/doxygen.git/blame - doxygen.spec
- updated to 1.8.10 (seems not to require any new tex features), uses cmake now
[packages/doxygen.git] / doxygen.spec
CommitLineData
982ead96 1# NOTE: on upgrades, beware of texlive features available in PLD
f6aa7630
JB
2#
3# Conditional build:
78f01fe6 4%bcond_without qt # without doxywizard (qt-based)
982ead96 5%bcond_without xapian # without doxysearch (xapian based)
f6aa7630 6#
410265fe 7Summary: Doxygen is the documentation system for C/C++
09e46ca2
ER
8Summary(es.UTF-8): Doxygen es el sistema de documentación para C/C++
9Summary(pl.UTF-8): System dokumentowania dla C/C++
10Summary(pt_BR.UTF-8): Um sistema de documentação para C/C++
11Summary(ru.UTF-8): Система документирования для C та C++
12Summary(uk.UTF-8): Система документування для C та C++
f73d302f 13Name: doxygen
982ead96 14Version: 1.8.10
577b7869 15Release: 1
60345990 16Epoch: 1
9bb04516 17License: GPL v2
cf4f0fac 18Group: Development/Tools
577b7869
JB
19# only latest
20#Source0Download: https://www.doxygen.nl/download.html
21#Source0: https://www.doxygen.nl/files/%{name}-%{version}.src.tar.gz
22Source0: http://downloads.sourceforge.net/doxygen/%{name}-%{version}.src.tar.gz
982ead96
JB
23# Source0-md5: 79767ccd986f12a0f949015efb5f058f
24Patch0: %{name}-doc.patch
be4455cb 25Patch1: flex2.6.patch
577b7869 26URL: https://www.doxygen.nl/
42d9878c
JP
27%{?with_qt:BuildRequires: QtGui-devel >= 4.3}
28%{?with_qt:BuildRequires: QtXml-devel >= 4.3}
fa567a1b 29BuildRequires: bison
982ead96 30BuildRequires: cmake >= 2.8.12
318d430e 31BuildRequires: flex
a56f0036 32BuildRequires: ghostscript
33BuildRequires: ghostscript-fonts-std
90b6d831 34BuildRequires: libpng-devel
42d9878c 35BuildRequires: libstdc++-devel
4027facd 36BuildRequires: perl-base
982ead96 37BuildRequires: python >= 2
42d9878c
JP
38%{?with_qt:BuildRequires: qt4-build >= 4.3}
39%{?with_qt:BuildRequires: qt4-qmake >= 4.3}
a9572cc4
ZU
40BuildRequires: texlive-latex
41BuildRequires: texlive-pdftex
982ead96 42%{?with_xapian:BuildRequires: xapian-core-devel}
cf4f0fac 43BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
cf4f0fac 44
45%description
46Doxygen is a documentation system for C, C++ and IDL. It can generate
47an on-line class browser (in HTML) and/or an off-line reference manual
48(in LaTeX) from a set of documented source files. There is also
49support for generating man pages and for converting the generated
50output into Postscript, hyperlinked PDF or compressed HTML. The
51documentation is extracted directly from the sources.
52
53Doxygen can also be configured to extract the code-structure from
54undocumented source files. This can be very useful to quickly find
55your way in large source distributions.
56
9db5709b
JR
57%description -l es.UTF-8
58Doxygen es un sistema de documentación para C, C++ e IDL. Es capaz de
4e4175b0 59generar un navegador on-line entre clases (en HTML) y-o un manual
60off-line de referencia (en LaTeX) a partir de un conjunto de ficheros
9db5709b
JR
61de código fuente documentados. También hay soporte para generar
62páginas man y para convertir la generada salida an Postscript, PDF con
63hiperenlaces o HTML comprimido. La documentación se extrae
342a5462 64directamente de los fuentes.
4e4175b0 65
9db5709b
JR
66Doxygen puede también ser configurado a extraer la estructura del
67código de código fuente que carece de documentación. Eso puede ser muy
68útil para orientarse rápidamente en distribuciones grandes de código
342a5462 69fuente.
4e4175b0 70
9db5709b
JR
71%description -l pl.UTF-8
72Doxygen to system dokumentowania dla C, C++ i IDL. Może generować
73dokumentację klas on-line (w HTML-u) lub podręcznik off-line (w
74LaTeXu) z zestawu udokumentowanych plików źródłowych. Ma także
75możliwość generowania stron man i konwersji na Postscript, PDF z
76hiperłączami oraz skompresowany HTML. Dokumentacja jest wyciągana
77bezpośrednio ze źródeł.
410265fe 78
9db5709b
JR
79Doxygen może być skonfigurowany także do wyciągania struktury kodu z
80nieudokumentowanych plików źródłowych. Może być to przydatne do
81szybkiego odnalezienia się w dużych źródłach.
410265fe 82
9db5709b
JR
83%description -l pt_BR.UTF-8
84Doxygen é uma sistema de documentação para C e C++ que gera um class
410265fe 85browser on-line (em HTML) e/ou um manual de referencia off-line (em
9db5709b
JR
86LaTeX) a partir de um conjunto de fontes documentados. A documentação
87é extraida diretamente a partir dos fontes.
88
89%description -l ru.UTF-8
90Doxygen - это система документирования для C, C++ и IDL. Она может
91создать онлайновый броузер классов (в HTML) и/или оффлайновый
92справочник (в LaTeX) из набора документированных файлов. Есть также
93поддержка создания man-страниц и конвертации сгенерированного вывода в
94Postscript, PDF с гиперссылками и компрессированный HTML. Документация
95извлекается непосредственно из исходных файлов.
96
97Doxygen можно также сконфигурировать для получения структуры кода из
98нелокументированных исходных файлов. Это может быть очень полезным для
99того, чтобы бысто разобраться в большом проекте.
100
101%description -l uk.UTF-8
102Doxygen - це система документування для C, C++ та IDL. Вона може
103створити онлайновий броузер класів (в HTML) та/чи оффлайновий довідник
104(в LaTeX) з набору документованих вихідних файлів. Є також підтримка
105для створення man-сторінок та конвертації згенерованого виводу в
106Postscript, PDF з гіперлінками та компресований HTML. Документація
107видобувається безпосердньо з вихідних файлів.
108
109Doxygen можна також зконфігурувати для отримання структури коду з
110недокументованих вихідних файлів. Це може бути дуже корисним для того,
111щоб швидко розібратися у великому проекті.
250a2bd3 112
982ead96
JB
113%package search
114Summary: Search tools for Doxygen
115Summary(pl.UTF-8): Narzędzia do przeszukiwania dla Doxygena
116Group: Development/Tools
117Conflicts: doxygen < 1:1.3.4
118
119%description search
120Search tools for Doxygen.
121
122%description search -l pl.UTF-8
123Narzędzia do przeszukiwania dla Doxygena.
124
60345990 125%package doxywizard
410265fe 126Summary: A GUI front-end for creating and editing configuration files
09e46ca2
ER
127Summary(es.UTF-8): Un front-end GUI para crear y editar ficheros de configuración
128Summary(pl.UTF-8): GUI do tworzenia i edycji plików konfiguracyjnych
129Summary(pt_BR.UTF-8): Wizard gráfico para o Doxygen
60345990 130Group: X11/Applications
f6aa7630 131Requires: %{name} = %{epoch}:%{version}-%{release}
60345990 132
133%description doxywizard
134Doxywizard is a GUI front-end for creating and editing configuration
135files that are used by doxygen.
136
9db5709b 137%description doxywizard -l es.UTF-8
4e4175b0 138Doxywizard es un front-end GUI para crear y editar los ficheros de
9db5709b 139configuración que son usados por doxygen.
4e4175b0 140
9db5709b 141%description doxywizard -l pl.UTF-8
410265fe 142Doxywizard to frontend z graficznym interfejsem do tworzenia i edycji
9db5709b 143plików konfiguracyjnych używanych przez doxygen.
410265fe 144
9db5709b
JR
145%description doxywizard -l pt_BR.UTF-8
146Wizard gráfico para o Doxygen.
250a2bd3 147
cea435e9
JB
148%package latex
149Summary: LaTeX packages to support Doxygen-generated files compilation
150Summary(pl.UTF-8): Pakiety LaTeXa pozwalające na kompilowanie plików wygenerowanych przez Doxygena
151Group: Applications/Publishing
152Requires: /usr/bin/pdflatex
153Requires: /usr/bin/makeindex
154Requires: tex(adjustbox)
155# TODO: generic dependencies instead of texlive-specific:
156#Requires: tex(psnfss)
157#Requires: tex(wasysym)
158# TODO: generic dependencies instead of texlive-specific:
159Requires: texlive-fonts-larm
160# alltt array calc fancyhdr fixltx2e float fontenc geometry hyperref ifpdf ifthen inputenc makeidx multirow natbib sectsty textcomp tocloft verbatim xcolor xtab
161Requires: texlive-latex
162# amssymb
163Requires: texlive-latex-ams
164# ??? obsolete?
165Requires: texlive-latex-cyrillic
166# ??? obsolete?
167Requires: texlive-latex-extend
168# courier helvet
169Requires: texlive-latex-psnfss
170Requires: texlive-latex-wasysym
171Requires: texlive-makeindex
172
173%description latex
174This metapackage installs all LaTeX packages required to compile PDF
175documentation from Doxygen-generated LaTeX files.
176
177%description latex -l pl.UTF-8
178Ten metapakiet instaluje wszystkie pakiety LaTeXa otrzebne do
179skompilowania dokumentacji w formacie PDF z plików LaTeXa
180wygenerowanych przez Doxygena.
181
cf4f0fac 182%prep
55381bcc 183%setup -q
9e8b7d38 184%patch0 -p1
be4455cb 185%patch1 -p1
90b6d831 186
cf4f0fac 187%build
982ead96
JB
188install -d build
189cd build
190%cmake .. \
191 -DBUILD_SHARED_LIBS=OFF \
192 -Dbuild_doc=ON \
193 %{?with_xapian:-Dbuild_search=ON} \
194 %{?with_qt:-Dbuild_wizard=ON}
195
196%{__make}
42d9878c
JP
197
198%{__make} docs
cf4f0fac 199
200%install
201rm -rf $RPM_BUILD_ROOT
9bb04516 202
982ead96 203%{__make} -C build install \
9bb04516 204 DESTDIR=$RPM_BUILD_ROOT
cf4f0fac 205
982ead96
JB
206install -d $RPM_BUILD_ROOT%{_examplesdir}
207cp -pr examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
208
cf4f0fac 209%clean
a2e4c99e 210rm -rf $RPM_BUILD_ROOT
cf4f0fac 211
212%files
213%defattr(644,root,root,755)
982ead96 214%doc README.md build/html
f73d302f 215%attr(755,root,root) %{_bindir}/doxygen
982ead96 216%{_examplesdir}/%{name}-%{version}
8e32e566 217%{_mandir}/man1/doxygen.1*
60345990 218
982ead96
JB
219%if %{with xapian}
220%files search
221%defattr(644,root,root,755)
222%attr(755,root,root) %{_bindir}/doxyindexer
223%attr(755,root,root) %{_bindir}/doxysearch.cgi
224%{_mandir}/man1/doxyindexer.1*
225%{_mandir}/man1/doxysearch.1*
226%endif
227
4e4175b0 228%if %{with qt}
55381bcc
JB
229%files doxywizard
230%defattr(644,root,root,755)
231%attr(755,root,root) %{_bindir}/doxywizard
8e32e566 232%{_mandir}/man1/doxywizard.1*
55381bcc 233%endif
cea435e9
JB
234
235%files latex
236%defattr(644,root,root,755)
This page took 0.169912 seconds and 4 git commands to generate.