Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37724927
en ru br
Репозитории ALT
S:1.9.8-alt1
5.1: 1.5.9-alt2
4.1: 1.5.5-alt1
4.0: 1.5.1-alt1
3.0: 1.4.3-alt1
www.altlinux.org/Changes

Другие репозитории
Upstream:1.5.5

Группа :: Разработка/Прочее
Пакет: doxygen

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: doxygen
Version: 1.4.3
Release: alt1
Serial: 1

Summary: Doxygen is a documentation system for C, C++ and IDL
License: GPL
Group: Development/Other
Url: http://www.stack.nl/~dimitri/%name

Source: ftp://ftp.stack.nl/pub/users/dimitri/%name-%version.src.tar.bz2
Patch: %name-1.4.3-alt-use-system-libpng.patch

# Automatically added by buildreq on Mon Jan 24 2005

BuildRequires: flex fontconfig freetype2 gcc-c++ ghostscript-classic ghostscript-module-X graphviz latex2html libgimp-print libpng-devel libqt3-devel libstdc++-devel python-base python-modules-encodings tetex-dvips tetex-latex urw-fonts xorg-x11-devel zlib-devel

%description
Doxygen is a documentation system for C, C++ and IDL. It can generate an
on-line class browser (in HTML) and/or an off-line reference manual (in LaTeX)
from a set of documented source files. There is also support for generating man
pages and for converting the generated output into Postscript, hyperlinked PDF
or compressed HTML. The documentation is extracted directly from the sources.

Doxygen can also be configured to extract the code-structure from undocumented
source files. This can be very useful to quickly find your way in large source
distributions.

%package wizard
Summary: GUI frontend for doxygen
Group: Development/Other
Requires: %name = %version-%release

%description wizard
Doxywizard is a GUI front-end for creating and editing
configuration files that are used by doxygen.

%prep
%setup -q
%patch -p1

%__subst 's/fileutils/coreutils/g' configure
perl -pi -e '
s|^(TMAKE_CFLAGS\s*=\s*).*|$1\$(RPM_OPT_FLAGS)|;
s|^(TMAKE_CFLAGS_WARN_ON\s*=).*|$1|;
s|^(TMAKE_CFLAGS_WARN_OFF\s*=).*|$1|;
s|^(TMAKE_CFLAGS_RELEASE\s*=).*|$1|;
s|^(TMAKE_CFLAGS_DEBUG\s*=).*|$1|;
s|^(TMAKE_CFLAGS_SHLIB\s*=\s*).*|$1%optflags_shared|;
s|/usr/X11R6/lib|/usr/X11R6/%_lib|;
' tmake/lib/linux-g++/tmake.conf

rm -rf libpng

%build
# Exceptions and RTTI are used only in addon/xmlread, which is not built.
%add_optflags %optflags_nocpp

export QTDIR=%_libdir/qt3
export PATH="$QTDIR/bin:$PATH"
./configure --prefix %prefix --release --with-doxywizard
make
make pdf

mkdir -p docs/pdf
mv latex/*.pdf docs/pdf
cp -a html examples docs
find docs -type f -name Makefile.\* -print0 |
xargs -r0 %__rm -f --
find docs -type f -name Makefile -print0 |
xargs -r0 %__perl -pi -e '
s|/bin/doxygen||g;
s|^(DOXYGEN\s*=\s*).*|$1%_bindir/doxygen|;
s|^(TMAKE\s*=\s*).*|$1%_bindir/tmake|;
s/^(TMAKEPATH|INST|DOXYDOCS).*//g;
' --

%install
mkdir -p $RPM_BUILD_ROOT%_bindir
install -pm755 bin/* $RPM_BUILD_ROOT%_bindir/

%files
%_bindir/doxygen
%_bindir/doxytag
%doc README LANGUAGE.HOWTO docs/* html

%files wizard
%_bindir/doxywizard

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin