summaryrefslogtreecommitdiffstats
path: root/packages/rpm/doxygen.spec
blob: 6d26724d659242a8162a34bcb166cc85fde57ac4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
Name: doxygen
Version: 1.1.2-20000423
Summary: documentation system for C, C++ and IDL
Release: 1
Source0: doxygen-%{version}.src.tar.gz

Copyright: GPL
Group: unsorted
URL: http://www.stack.nl/~dimitri/doxygen
Packager: Matthias Andree <ma@dt.e-technik.uni-dortmund.de>
BuildRoot: /var/tmp/doxygen-%{version}.root

# requires Perl for tmake (Troll's make)
BuildPrereq: perl tetex

%define prefix /usr

%description


%prep
%setup -n doxygen-%{version}



%build
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix %{prefix}
make

%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{prefix}/usr

# install
make INSTALL=$RPM_BUILD_ROOT%{prefix} install
( cd $RPM_BUILD_ROOT
  mkdir -p ./usr/doc/packages
  mv .%{prefix}/doc/doxygen ./usr/doc/packages/doxygen
)

%files
%defattr(-,root,root)
%{prefix}/bin
# %doc LANGUAGE.HOWTO LICENSE PLATFORMS VERSION README 
%doc %{prefix}/doc/packages/doxygen

%clean
rm -rf $RPM_BUILD_ROOT

%changelog
* Mon Mar 13 2000 Matthias Andree <ma@dt.e-technik.uni-dortmund.de>
 - inital version build with rpmify