]> git.pld-linux.org Git - packages/ccdoc.git/blame - ccdoc.spec
- initial release
[packages/ccdoc.git] / ccdoc.spec
CommitLineData
67d64c40 1Summary: A program that generates HTML documentation from C++ source code.
2Name: ccdoc
3Version: 0.7a
4Release: 1m
5Copyright: Freely distributable
6Group: Development/Tools
7URL: http://www.joelinoff.com/ccdoc/
8BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
9Source0: http://www.joelinoff.com/ccdoc_old/ccdoc_v07a_src_taz.exe
10Source1: ctf2xml.tar.gz
11Patch0: ccdoc_v07a.medoosa.patch
12
13%description
14The CcDoc tool is a javadoc like tool that automatically generates web
15documentation from C++ programs by parsing the source file headers.
16This release includes ctf2xml, required by the Medoosa project.
17
18%prep
19%setup -q -n ccdoc_v07a
20mv 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
27cd ccdoc_dev
28perl tools/ccdoc_bld.pl
29%{__make} -C ccdoc/ctf2xml
30
31%install
32rm -rf $RPM_BUILD_ROOT
33pwd
34install -d $RPM_BUILD_ROOT%{_bindir}
35install -s ccdoc_dev/ccdoc/bin_linux_opt/ccdoc.exe $RPM_BUILD_ROOT%{_bindir}/ccdoc
36install -s ccdoc_dev/ccdoc/ctf2xml/ctf2xml2 $RPM_BUILD_ROOT%{_bindir}/ctf2xml2
37
38
39%clean
40rm -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.070444 seconds and 4 git commands to generate.