|
1 %define name doxygen |
|
2 |
|
3 # optionally pass --with-doxywizard to rpmbuild |
|
4 |
|
5 %define contentdir /var/www |
|
6 %define suexec_caller doxygen |
|
7 %define buildroot /var/tmp/%{name}-%{version}-%{revision}root |
|
8 |
|
9 Summary: A documentation system for C/C++. |
|
10 Name: doxygen |
|
11 Version: %{version} |
|
12 Release: %{revision} |
|
13 URL: http://www.stack.nl/~dimitri/doxygen/index.html |
|
14 Vendor: Dimitri van Heesch |
|
15 License: GNU General Public License |
|
16 Group: Development/Tools |
|
17 Source: %{name}-%{version}.src.tar.gz |
|
18 BuildRoot: %{buildroot} |
|
19 BuildPrereq: libstdc++-devel >= 2.96, /usr/bin/perl, /usr/bin/latex, /usr/bin/dvips, /usr/bin/gs |
|
20 Prereq: /sbin/chkconfig, /bin/mktemp, /bin/rm, /bin/mv, libstdc++ >= 2.96 |
|
21 Provides: doxygen = %{mmn} |
|
22 |
|
23 %description |
|
24 Doxygen can generate an online class browser (in HTML) and/or a |
|
25 reference manual (in LaTeX) from a set of documented source files. The |
|
26 documentation is extracted directly from the sources. Doxygen can |
|
27 also be configured to extract the code structure from undocumented |
|
28 source files. |
|
29 |
|
30 %if %{?_with_doxywizard:1}%{!?_with_doxywizard:0} |
|
31 %package doxywizard |
|
32 Group: Development/Libraries |
|
33 Summary: GUI Interface for doxygen. |
|
34 Requires: doxygen = %{mmn} |
|
35 Requires: qt >= 3.3 |
|
36 Provides: doxywizard = %{mmn} |
|
37 # Obsoletes: |
|
38 |
|
39 %description doxywizard |
|
40 Doxygen can generate an online class browser (in HTML) and/or a |
|
41 reference manual (in LaTeX) from a set of documented source files. The |
|
42 documentation is extracted directly from the sources. Doxygen can |
|
43 also be configured to extract the code structure from undocumented |
|
44 source files. |
|
45 |
|
46 This is the GUI interface for doxygen. It requires qt and X11 to |
|
47 install. |
|
48 %endif |
|
49 |
|
50 %prep |
|
51 %setup -q -n %{name}-%{version} |
|
52 ./configure %{?_with_doxywizard} --prefix $RPM_BUILD_ROOT/usr |
|
53 |
|
54 %build |
|
55 make %{?_smp_mflags} |
|
56 make %{?_smp_mflags} pdf |
|
57 |
|
58 %install |
|
59 rm -rf $RPM_BUILD_ROOT |
|
60 make install |
|
61 |
|
62 %clean |
|
63 rm -rf $RPM_BUILD_ROOT |
|
64 |
|
65 %files |
|
66 %defattr(-,root,root) |
|
67 |
|
68 %doc README LICENSE LANGUAGE.HOWTO examples ./latex/*.pdf |
|
69 %doc /usr/man/man1/doxygen.1.gz |
|
70 %doc /usr/man/man1/doxytag.1.gz |
|
71 |
|
72 %{_bindir}/doxygen |
|
73 %{_bindir}/doxytag |
|
74 |
|
75 %if %{?_with_doxywizard:1}%{!?_with_doxywizard:0} |
|
76 %files doxywizard |
|
77 %defattr(-,root,root) |
|
78 %{_bindir}/doxywizard |
|
79 %doc /usr/man/man1/doxywizard.1.gz |
|
80 %endif |
|
81 |
|
82 %changelog |
|
83 * Fri Apr 18 2008 Kenneth Porter <shiva+doxygenspec@sewingwitch.com> 1.5.5-1 |
|
84 - consolidate with and without doxywizard spec files with rpm macro |
|
85 - add gs BuildPrereq |
|
86 |
|
87 * Sun Nov 18 2007 Kevin McBride <kevin@planetsaphire.com> 1.5.4 |
|
88 - consolidated manual package in lieu of --excludedocs flag for rpm --install |
|
89 |
|
90 * Mon Oct 10 2005 Kevin McBride <kevin@planetsaphire.com> 1.4.5 |
|
91 - fixed versioning bugs. |
|
92 |
|
93 * Tue Oct 4 2005 Kevin McBride <kevin@planetsaphire.com> 1.4.5 |
|
94 - added obsoletes and proides sections. |
|
95 |
|
96 * Sun Sep 20 2005 Kevin McBride <kevin@planetsaphire.com> 1.4.4 |
|
97 - modified rpm spec file for Fedora Core acceptance criteria. |
|
98 |
|
99 * Sun Aug 7 2005 Kevin McBride <kevin@planetsaphire.com> 1.4.4 |
|
100 - created initial rpm spec file for doxygen-1.4.4 |
|
101 |