source: spec/trunk/SPECS/doxygen.spec

Last change on this file was 1695, checked in by tellie, 5 years ago

spec: fribidi: Release version 0.19.5-1

File size: 3.8 KB
RevLine 
[930]1# set this to 1 to enable
[1695]2%global with_docs 1
[1650]3%global with_latex 0
4%global xapian_core_support OFF
[930]5
6
7Summary: A documentation system for C/C++
8Name: doxygen
[1650]9Version: 1.8.15
10Release: 1%{?dist}
[930]11
12# No version is specified.
13License: GPL+
[1650]14Url: http://www.doxygen.nl
[930]15Vendor: bww bitwise works GmbH
[1695]16%scm_source svn http://svn.netlabs.org/repos/ports/doxygen/trunk 1956
[1650]17BuildRequires: %{_bindir}/python2
[930]18
[1650]19BuildRequires: gcc perl
[930]20%if %{with_docs}
[1695]21#BuildRequires: tex(dvips)
22#BuildRequires: tex(latex)
23#BuildRequires: tex(multirow.sty)
24#BuildRequires: tex(sectsty.sty)
25#BuildRequires: tex(tocloft.sty)
26#BuildRequires: tex(xtab.sty)
27#BuildRequires: tex(import.sty)
28#BuildRequires: tex(tabu.sty)
29#BuildRequires: tex(appendix.sty)
30#BuildRequires: /@unixroot/usr/bin/epstopdf
31#BuildRequires: texlive-epstopdf
32#BuildRequires: graphviz
[930]33%endif
34BuildRequires: ghostscript
35BuildRequires: gettext
36BuildRequires: flex
37BuildRequires: bison
38BuildRequires: cmake
[1650]39%if %{xapian_core_support} == "ON"
[930]40BuildRequires: xapian-core-devel
[1650]41BuildRequires: zlib-devel
[930]42%endif
43Requires: perl
[1650]44#Requires: graphviz
[930]45
46%description
47Doxygen can generate an online class browser (in HTML) and/or a
48reference manual (in LaTeX) from a set of documented source files. The
49documentation is extracted directly from the sources. Doxygen can
50also be configured to extract the code structure from undocumented
51source files.
52
53%package doxywizard
54Summary: A GUI for creating and editing configuration files
[932]55Requires: %{name} = %{version}-%{release}
[930]56BuildRequires: libqt4-devel
[1650]57
[930]58%description doxywizard
59Doxywizard is a GUI for creating and editing configuration files that
60are used by doxygen.
61
[1650]62%if %{with_latex}
63%package latex
64Summary: Support for producing latex/pdf output from doxygen
65Requires: %{name} = %{epoch}:%{version}-%{release}
66Requires: tex(latex)
67Requires: tex(multirow.sty)
68Requires: tex(sectsty.sty)
69Requires: tex(tocloft.sty)
70Requires: tex(xtab.sty)
71Requires: tex(import.sty)
72Requires: tex(tabu.sty)
73Requires: tex(appendix.sty)
74Requires: tex(newunicodechar.sty)
75Requires: texlive-epstopdf-bin
[930]76
[1650]77%description latex
78%{summary}.
79%endif
80
[930]81%debug_package
82
83
84%prep
[1650]85%scm_setup
[930]86
87
88%build
89
[1650]90mkdir -p %{_build}
91cd %{_build}
[930]92# -DBUILD_SHARED_LIBS=OFF \
93%cmake \
[1650]94 -Dbuild_doc=ON \
[930]95 -Dbuild_wizard=ON \
96 -Dbuild_xmlparser=ON \
[1650]97 -Dbuild_search=%{xapian_core_support} \
[930]98 -DMAN_INSTALL_DIR=%{_mandir}/man1 \
99 -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
100 ..
101cd ..
102
103%if %{with_docs}
[1650]104make docs -C %{_build}
[930]105%endif
[1650]106make -C %{_build}
[930]107
108
109%install
[1650]110make install DESTDIR=%{buildroot} -C %{_build}
[930]111
112# install man pages
113mkdir -p %{buildroot}/%{_mandir}/man1
114cp doc/*.1 %{buildroot}/%{_mandir}/man1/
[1650]115
116%if %{xapian_core_support} == "OFF"
117rm -f %{buildroot}/%{_mandir}/man1/doxyindexer.1* %{buildroot}/%{_mandir}/man1/doxysearch.1*
[930]118%endif
119
120# remove duplicate
121rm -rf %{buildroot}/%{_docdir}/packages
122
[1650]123%check
124#still disabled as we dont have bibtext tools. and one test needs it
125#make tests -C %{_build}
[930]126
127%files
128%doc LANGUAGE.HOWTO README.md
[1650]129%license LICENSE
[930]130%if %{with_docs}
[1650]131%if %{xapian_core_support} == "ON"
132%{_bindir}/doxyindexer.exe
133%{_bindir}/doxysearch*
134%exclude %{_bindir}/*.dbg
[930]135%endif
[1650]136%endif
[930]137%{_bindir}/doxygen.exe
138%{_mandir}/man1/doxygen.1*
[1650]139%if %{xapian_core_support} == "ON"
[930]140%{_mandir}/man1/doxyindexer.1*
141%{_mandir}/man1/doxysearch.1*
142%endif
143
144
145%files doxywizard
146%{_bindir}/doxywizard.exe
147%{_mandir}/man1/doxywizard*
[1650]148
149%if %{with_latex}
150%files latex
151# intentionally left blank
[930]152%endif
153
[1650]154%changelog
155* Wed Jun 12 2019 Silvan Scherrer <silvan.scherrer@aroa.ch> 1.8.15-1
156- move source to github
157- use scm_ macros
158- update to version 1.8.15
[930]159
[940]160* Fri Jan 27 2017 Silvan Scherrer <silvan.scherrer@aroa.ch> 1.8.13-2
161- add buildlevel to the exe
162
163* Thu Jan 19 2017 Silvan Scherrer <silvan.scherrer@aroa.ch> 1.8.13-1
[932]164- fix doxywizzard rpm
165- update to version 1.8.13
166
[930]167* Tue Dec 13 2016 Silvan Scherrer <silvan.scherrer@aroa.ch> 1.8.12-1
168- initial port
Note: See TracBrowser for help on using the repository browser.