2007-01-16 00:10:37 +01:00
|
|
|
#
|
2011-03-30 09:18:47 +02:00
|
|
|
# spec file for package doxygen
|
2007-01-16 00:10:37 +01:00
|
|
|
#
|
2015-02-06 09:03:17 +01:00
|
|
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
2007-01-16 00:10:37 +01:00
|
|
|
#
|
2009-01-13 18:42:16 +01:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-01-16 00:10:37 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: doxygen
|
2015-02-06 09:03:17 +01:00
|
|
|
Version: 1.8.9.1
|
2012-07-13 10:46:49 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: Automated C, C++, and Java Documentation Generator
|
2011-12-05 10:58:31 +01:00
|
|
|
License: GPL-2.0+
|
2007-01-16 00:10:37 +01:00
|
|
|
Group: Development/Tools/Doc Generators
|
2007-10-31 16:52:10 +01:00
|
|
|
Url: http://www.stack.nl/~dimitri/doxygen/
|
2015-02-23 08:27:51 +01:00
|
|
|
Source0: http://ftp.stack.nl/pub/users/dimitri/doxygen-%{version}.src.tar.gz
|
|
|
|
Patch0: %{name}-1.5.9-64archs.patch
|
2010-01-08 17:30:01 +01:00
|
|
|
Patch3: %{name}-1.5.9-man.patch
|
2010-06-15 17:01:06 +02:00
|
|
|
Patch4: %{name}-1.7.0-modify_footer.patch
|
2012-06-04 12:22:20 +02:00
|
|
|
Patch5: %{name}-no-lowercase-man-names.patch
|
2015-02-23 08:27:51 +01:00
|
|
|
BuildRequires: bison
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: flex
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: graphviz
|
|
|
|
BuildRequires: libpng-devel
|
|
|
|
BuildRequires: python-base
|
|
|
|
BuildRequires: python-xml
|
2007-01-16 00:10:37 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
Doxygen is a documentation system for C, C++, Java, and IDL. It can
|
|
|
|
generate an online class browser (in HTML) and an offline reference
|
|
|
|
manual (in LaTeX) from a set of documented source files. The
|
|
|
|
documentation is extracted directly from the sources. Doxygen is
|
|
|
|
developed on a Linux platform, but it runs on most other UNIX flavors
|
|
|
|
as well. An executable for Windows 95/NT is also available.
|
|
|
|
|
2015-02-23 08:27:51 +01:00
|
|
|
%package doc
|
|
|
|
Summary: Documentation for %{name}
|
|
|
|
Group: Documentation
|
|
|
|
|
|
|
|
%description doc
|
|
|
|
Doxygen is a documentation system for C, C++, Java, and IDL. It can
|
|
|
|
generate an online class browser (in HTML) and an offline reference
|
|
|
|
manual (in LaTeX) from a set of documented source files. The
|
|
|
|
documentation is extracted directly from the sources. Doxygen is
|
|
|
|
developed on a Linux platform, but it runs on most other UNIX flavors
|
|
|
|
as well. An executable for Windows 95/NT is also available.
|
|
|
|
|
|
|
|
This package contains only documentation
|
|
|
|
|
2007-01-16 00:10:37 +01:00
|
|
|
%prep
|
2015-02-23 08:27:51 +01:00
|
|
|
%setup -q
|
|
|
|
%patch0
|
2007-01-16 00:10:37 +01:00
|
|
|
%patch3
|
2010-06-15 17:01:06 +02:00
|
|
|
%patch4
|
2012-06-04 12:22:20 +02:00
|
|
|
%patch5 -p1
|
2007-01-16 00:10:37 +01:00
|
|
|
|
|
|
|
%build
|
2009-02-09 12:29:16 +01:00
|
|
|
mintoc=
|
|
|
|
%ifarch ppc64
|
|
|
|
mintoc="-DENGLISH_ONLY"
|
|
|
|
%endif
|
2015-02-23 08:27:51 +01:00
|
|
|
sed -i~ "/^TMAKE_CFLAGS_RELEASE.*/s@^.*@TMAKE_CFLAGS_RELEASE = %{optflags} $mintoc@" tmake/lib/linux-g++/tmake.conf
|
2011-09-20 17:57:54 +02:00
|
|
|
# custom configure script
|
2015-02-23 08:27:51 +01:00
|
|
|
./configure --prefix %{_prefix} --install %{_bindir}/install
|
2011-09-20 17:57:54 +02:00
|
|
|
make %{?_smp_mflags}
|
2007-01-16 00:10:37 +01:00
|
|
|
|
2015-02-23 08:27:51 +01:00
|
|
|
# generate html documentation
|
|
|
|
./bin/doxygen
|
|
|
|
|
2007-01-16 00:10:37 +01:00
|
|
|
%install
|
2015-02-23 08:27:51 +01:00
|
|
|
install -d -m 755 %{buildroot}%{_docdir}/doxygen
|
|
|
|
make install INSTALL=%{buildroot}/usr DOCDIR=%{buildroot}%{_docdir}/doxygen
|
|
|
|
install -m 644 LICENSE LANGUAGE.HOWTO PLATFORMS README.md VERSION %{buildroot}%{_docdir}/doxygen
|
|
|
|
cp -a doxygen_docs/html %{buildroot}%{_docdir}/%{name}-doc
|
|
|
|
%fdupes -s %{buildroot}%{_docdir}/%{name}-doc
|
2007-01-16 00:10:37 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2015-02-23 08:27:51 +01:00
|
|
|
%doc LICENSE
|
|
|
|
%attr(444,root,root) %doc %{_mandir}/man1/doxygen.1.*
|
|
|
|
%attr(755,root,root) %{_bindir}/*
|
|
|
|
|
|
|
|
%files doc
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc %{_docdir}/%{name}-doc
|
2008-02-28 01:54:14 +01:00
|
|
|
|
2007-03-29 13:58:33 +02:00
|
|
|
%changelog
|