]> git.pld-linux.org Git - packages/ccdoc.git/blob - ccdoc.spec
- release fixed
[packages/ccdoc.git] / ccdoc.spec
1 Summary:        A program that generates HTML documentation from C++ source code.
2 Name:           ccdoc
3 Version:        0.7a
4 Release:        1
5 Copyright:      Freely distributable
6 Group:          Development/Tools
7 URL:            http://www.joelinoff.com/ccdoc/
8 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
9 Source0:        http://www.joelinoff.com/ccdoc_old/ccdoc_v07a_src_taz.exe
10 Source1:        ctf2xml.tar.gz
11 Patch0:         ccdoc_v07a.medoosa.patch
12
13 %description
14 The CcDoc tool is a javadoc like tool that automatically generates web
15 documentation from C++ programs by parsing the source file headers.
16 This release includes ctf2xml, required by the Medoosa project.
17
18 %prep
19 %setup -q -n ccdoc_v07a
20 mv doc/*.exe .
21 (cd ccdoc_dev/ccdoc; tar xfz %{SOURCE1})
22 (cd ccdoc_dev; perl tools/ccdoc_pc2unix.pl)
23 %patch -p1
24
25
26 %build
27 cd ccdoc_dev
28 perl tools/ccdoc_bld.pl
29 %{__make} -C ccdoc/ctf2xml
30
31 %install
32 rm -rf $RPM_BUILD_ROOT
33 pwd
34 install -d $RPM_BUILD_ROOT%{_bindir}
35 install -s ccdoc_dev/ccdoc/bin_linux_opt/ccdoc.exe $RPM_BUILD_ROOT%{_bindir}/ccdoc
36 install -s ccdoc_dev/ccdoc/ctf2xml/ctf2xml2 $RPM_BUILD_ROOT%{_bindir}/ctf2xml2
37
38
39 %clean
40 rm -fr $RPM_BUILD_ROOT
41
42
43 %files
44 %defattr(644,root,root,755)
45 %doc doc/*
46 %attr(755,root,root) %{_bindir}/ccdoc
47 %attr(755,root,root) %{_bindir}/ctf2xml2
This page took 0.0582 seconds and 3 git commands to generate.