1 |
### RPM external doxygen 1.4.1-CMS18
|
2 |
Source: http://ftp.stack.nl/pub/users/dimitri/%n-%realversion.src.tar.gz
|
3 |
Patch0: doxygen
|
4 |
Patch1: doxygen-1.4.1-gcc412
|
5 |
Requires: graphviz
|
6 |
|
7 |
%prep
|
8 |
|
9 |
%setup -n %n-%realversion
|
10 |
%ifos darwin
|
11 |
%patch0 -p1
|
12 |
%endif
|
13 |
%patch1 -p1
|
14 |
|
15 |
%build
|
16 |
./configure --prefix %i --dot $GRAPHVIZ_ROOT/bin/dot
|
17 |
make %makeprocesses
|
18 |
|
19 |
%install
|
20 |
make install
|
21 |
# SCRAM ToolBox toolfile
|
22 |
mkdir -p %i/etc/scram.d
|
23 |
cat << \EOF_TOOLFILE >%i/etc/scram.d/%n
|
24 |
<doc type=BuildSystem::ToolDoc version=1.0>
|
25 |
<Tool name=doxygen version=%v>
|
26 |
<Client>
|
27 |
<Environment name=DOXYGEN_BASE default="%i"></Environment>
|
28 |
</Client>
|
29 |
<Runtime name=PATH value="$DOXYGEN_BASE/bin" type=path>
|
30 |
</Tool>
|
31 |
EOF_TOOLFILE
|
32 |
|
33 |
%post
|
34 |
%{relocateConfig}etc/scram.d/%n
|