bz#225709, merged review
This commit is contained in:
parent
7e3c1ac7ed
commit
7f07aede30
35
doxygen.spec
35
doxygen.spec
@ -1,12 +1,9 @@
|
|||||||
%define _default_patch_fuzz 2
|
%define _default_patch_fuzz 2
|
||||||
|
|
||||||
%define qt_version 4.4
|
Summary: A documentation system for C/C++
|
||||||
%{!?with_qt:%define with_qt 1}
|
|
||||||
|
|
||||||
Summary: A documentation system for C/C++.
|
|
||||||
Name: doxygen
|
Name: doxygen
|
||||||
Version: 1.6.1
|
Version: 1.6.1
|
||||||
Release: 1%{?dist}
|
Release: 3%{?dist}
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Url: http://www.stack.nl/~dimitri/doxygen/index.html
|
Url: http://www.stack.nl/~dimitri/doxygen/index.html
|
||||||
Source0: ftp://ftp.stack.nl/pub/users/dimitri/%{name}-%{version}.src.tar.gz
|
Source0: ftp://ftp.stack.nl/pub/users/dimitri/%{name}-%{version}.src.tar.gz
|
||||||
@ -34,17 +31,15 @@ documentation is extracted directly from the sources. Doxygen can
|
|||||||
also be configured to extract the code structure from undocumented
|
also be configured to extract the code structure from undocumented
|
||||||
source files.
|
source files.
|
||||||
|
|
||||||
%if %{with_qt}
|
|
||||||
%package doxywizard
|
%package doxywizard
|
||||||
Summary: A GUI for creating and editing configuration files.
|
Summary: A GUI for creating and editing configuration files
|
||||||
Group: User Interface/X
|
Group: User Interface/X
|
||||||
Requires: %{name} = %{epoch}:%{version}
|
Requires: %{name} = %{epoch}:%{version}
|
||||||
BuildRequires: qt-devel => %{qt_version}
|
BuildRequires: qt-devel => 4.4
|
||||||
|
|
||||||
%description doxywizard
|
%description doxywizard
|
||||||
Doxywizard is a GUI for creating and editing configuration files that
|
Doxywizard is a GUI for creating and editing configuration files that
|
||||||
are used by doxygen.
|
are used by doxygen.
|
||||||
%endif
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
@ -58,9 +53,7 @@ unset QTDIR
|
|||||||
./configure \
|
./configure \
|
||||||
--prefix %{_prefix} \
|
--prefix %{_prefix} \
|
||||||
--shared \
|
--shared \
|
||||||
%if %{with_qt}
|
|
||||||
--with-doxywizard \
|
--with-doxywizard \
|
||||||
%endif
|
|
||||||
--release
|
--release
|
||||||
|
|
||||||
# workaround for "Error: operand out of range", language.cpp needs to be splitted
|
# workaround for "Error: operand out of range", language.cpp needs to be splitted
|
||||||
@ -77,9 +70,15 @@ rm -rf %{buildroot}
|
|||||||
|
|
||||||
make install DESTDIR=%{buildroot}
|
make install DESTDIR=%{buildroot}
|
||||||
|
|
||||||
%if !%{with_qt}
|
# convert into utf-8
|
||||||
rm -rf %{buildroot}%{_mandir}/man1/doxywizard*
|
iconv --from=ISO-8859-1 --to=UTF-8 LANGUAGE.HOWTO > LANGUAGE.HOWTO.new
|
||||||
%endif
|
touch -r LANGUAGE.HOWTO LANGUAGE.HOWTO.new
|
||||||
|
mv LANGUAGE.HOWTO.new LANGUAGE.HOWTO
|
||||||
|
|
||||||
|
# drop -x bit
|
||||||
|
find examples -type f | xargs chmod -x
|
||||||
|
|
||||||
|
sed -i -e "s|#!perl|#! /usr/bin/perl|" examples/tag/html/installdox
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
@ -93,14 +92,18 @@ rm -rf %{buildroot}
|
|||||||
%{_mandir}/man1/doxygen.1*
|
%{_mandir}/man1/doxygen.1*
|
||||||
%{_mandir}/man1/doxytag.1*
|
%{_mandir}/man1/doxytag.1*
|
||||||
|
|
||||||
%if %{with_qt}
|
|
||||||
%files doxywizard
|
%files doxywizard
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/doxywizard
|
%{_bindir}/doxywizard
|
||||||
%{_mandir}/man1/doxywizard*
|
%{_mandir}/man1/doxywizard*
|
||||||
%endif
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Dec 18 2009 Than Ngo <than@redhat.com> - 1:1.6.1-3
|
||||||
|
- bz#225709, merged review
|
||||||
|
|
||||||
|
* Fri Dec 11 2009 Than Ngo <than@redhat.com> - 1:1.6.1-2
|
||||||
|
- bz#225709, merged review
|
||||||
|
|
||||||
* Tue Aug 25 2009 Than Ngo <than@redhat.com> - 1.6.1-1
|
* Tue Aug 25 2009 Than Ngo <than@redhat.com> - 1.6.1-1
|
||||||
- 1.6.1
|
- 1.6.1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user