forked from pool/doxygen
Accepting request 28036 from devel:tools
Copy from devel:tools/doxygen based on submit request 28036 from user dirkmueller OBS-URL: https://build.opensuse.org/request/show/28036 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/doxygen?expand=0&rev=15
This commit is contained in:
committed by
Git OBS Bridge
parent
1c4a87bc33
commit
1d757505cf
50
doxygen.spec
50
doxygen.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package doxygen (Version 1.5.9)
|
||||
# spec file for package doxygen (Version 1.6.2)
|
||||
#
|
||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -20,29 +20,43 @@
|
||||
|
||||
Name: doxygen
|
||||
BuildRequires: bison flex gcc-c++ libpng-devel
|
||||
Version: 1.5.9
|
||||
Release: 2
|
||||
Version: 1.6.2
|
||||
Release: 1
|
||||
AutoReqProv: on
|
||||
License: GPL v2 or later
|
||||
License: GPLv2+
|
||||
Group: Development/Tools/Doc Generators
|
||||
Summary: Automated C, C++, and Java Documentation Generator
|
||||
Url: http://www.stack.nl/~dimitri/doxygen/
|
||||
# http://ftp.stack.nl/pub/users/dimitri/doxygen-%{version}.src.tar.gz
|
||||
Source: %{name}-%{version}.src.tar.bz2
|
||||
# script to get %%source2
|
||||
Source1: doxygen-html.sh
|
||||
Source2: %{name}-%{version}-html.tar.bz2
|
||||
# ftp://ftp.stack.nl/pub/users/dimitri/doxygen_manual-%{version}.pdf.zip
|
||||
Source3: %{name}_manual-%{version}.pdf.bz2
|
||||
Patch: %{name}-%{version}-64archs.patch
|
||||
Patch1: %{name}-%{version}-libpng.patch
|
||||
Patch2: %{name}-%{version}-arm.patch
|
||||
Patch3: %{name}-%{version}-man.patch
|
||||
# This patch change default behavior of doxygen ! :
|
||||
# PATCH-FIX-OPENSUSE disable text in footer by default, you could enable
|
||||
# footer text with option.HTML_FOOTER_DESCRIPTION = YES, this feature was
|
||||
# added due to increasing efficiency of build service see bnc#489947
|
||||
Patch4: %{name}-%{version}-modify_footer.patch
|
||||
Patch100: doxygen.warnings.patch
|
||||
Patch: %{name}-1.5.9-64archs.patch
|
||||
Patch2: %{name}-1.5.9-arm.patch
|
||||
Patch3: %{name}-1.5.9-man.patch
|
||||
Patch4: %{name}-modify_footer.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
#########################################################################################
|
||||
# SuSE, openSUSE
|
||||
#########################################################################################
|
||||
%if 0%{?suse_version}
|
||||
%define man_ext gz
|
||||
%endif
|
||||
#########################################################################################
|
||||
# Fedora, RHEL or CentOS
|
||||
#########################################################################################
|
||||
%if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version}
|
||||
%define man_ext gz
|
||||
%endif
|
||||
#########################################################################################
|
||||
# Mandrake, Mandriva
|
||||
#########################################################################################
|
||||
%if 0%{?mandriva_version} || 0%{?mdkversion}
|
||||
%define man_ext lzma
|
||||
%endif
|
||||
|
||||
%description
|
||||
Doxygen is a documentation system for C, C++, Java, and IDL. It can
|
||||
@@ -61,11 +75,9 @@ Authors:
|
||||
%prep
|
||||
%setup -q -b 2
|
||||
%patch
|
||||
%patch1
|
||||
%patch2
|
||||
%patch3
|
||||
%patch4
|
||||
%patch100
|
||||
cp -v %{S:3} .
|
||||
bzip2 -d %{name}_manual-%{version}.pdf.bz2
|
||||
|
||||
@@ -91,8 +103,8 @@ rm -rf %{buildroot}
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc %{_docdir}/doxygen
|
||||
%attr(444,root,root) %doc %{_mandir}/man1/doxygen.1.gz
|
||||
%attr(444,root,root) %doc %{_mandir}/man1/doxytag.1.gz
|
||||
%attr(444,root,root) %doc %{_mandir}/man1/doxygen.1.%{man_ext}
|
||||
%attr(444,root,root) %doc %{_mandir}/man1/doxytag.1.%{man_ext}
|
||||
%attr(755,root,root) /usr/bin/*
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user