source: spec/trunk/SPECS/doxygen.spec@ 1695

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

spec: fribidi: Release version 0.19.5-1

File size: 3.8 KB
Line 
1# set this to 1 to enable
2%global with_docs 1
3%global with_latex 0
4%global xapian_core_support OFF
5
6
7Summary: A documentation system for C/C++
8Name: doxygen
9Version: 1.8.15
10Release: 1%{?dist}
11
12# No version is specified.
13License: GPL+
14Url: http://www.doxygen.nl
15Vendor: bww bitwise works GmbH
16%scm_source svn http://svn.netlabs.org/repos/ports/doxygen/trunk 1956
17BuildRequires: %{_bindir}/python2
18
19BuildRequires: gcc perl
20%if %{with_docs}
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
33%endif
34BuildRequires: ghostscript
35BuildRequires: gettext
36BuildRequires: flex
37BuildRequires: bison
38BuildRequires: cmake
39%if %{xapian_core_support} == "ON"
40BuildRequires: xapian-core-devel
41BuildRequires: zlib-devel
42%endif
43Requires: perl
44#Requires: graphviz
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
55Requires: %{name} = %{version}-%{release}
56BuildRequires: libqt4-devel
57
58%description doxywizard
59Doxywizard is a GUI for creating and editing configuration files that
60are used by doxygen.
61
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
76
77%description latex
78%{summary}.
79%endif
80
81%debug_package
82
83
84%prep
85%scm_setup
86
87
88%build
89
90mkdir -p %{_build}
91cd %{_build}
92# -DBUILD_SHARED_LIBS=OFF \
93%cmake \
94 -Dbuild_doc=ON \
95 -Dbuild_wizard=ON \
96 -Dbuild_xmlparser=ON \
97 -Dbuild_search=%{xapian_core_support} \
98 -DMAN_INSTALL_DIR=%{_mandir}/man1 \
99 -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
100 ..
101cd ..
102
103%if %{with_docs}
104make docs -C %{_build}
105%endif
106make -C %{_build}
107
108
109%install
110make install DESTDIR=%{buildroot} -C %{_build}
111
112# install man pages
113mkdir -p %{buildroot}/%{_mandir}/man1
114cp doc/*.1 %{buildroot}/%{_mandir}/man1/
115
116%if %{xapian_core_support} == "OFF"
117rm -f %{buildroot}/%{_mandir}/man1/doxyindexer.1* %{buildroot}/%{_mandir}/man1/doxysearch.1*
118%endif
119
120# remove duplicate
121rm -rf %{buildroot}/%{_docdir}/packages
122
123%check
124#still disabled as we dont have bibtext tools. and one test needs it
125#make tests -C %{_build}
126
127%files
128%doc LANGUAGE.HOWTO README.md
129%license LICENSE
130%if %{with_docs}
131%if %{xapian_core_support} == "ON"
132%{_bindir}/doxyindexer.exe
133%{_bindir}/doxysearch*
134%exclude %{_bindir}/*.dbg
135%endif
136%endif
137%{_bindir}/doxygen.exe
138%{_mandir}/man1/doxygen.1*
139%if %{xapian_core_support} == "ON"
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*
148
149%if %{with_latex}
150%files latex
151# intentionally left blank
152%endif
153
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
159
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
164- fix doxywizzard rpm
165- update to version 1.8.13
166
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.