Summary(ru.UTF-8): Система документирования для C та C++
Summary(uk.UTF-8): Система документування для C та C++
Name: doxygen
-Version: 1.5.1
-Release: 5
+Version: 1.6.2
+Release: 0.001
Epoch: 1
License: GPL
Group: Development/Tools
Source0: ftp://ftp.stack.nl/pub/users/dimitri/%{name}-%{version}.src.tar.gz
-# Source0-md5: 43b8e58e5ca70cb8f1285c35a171014e
-Patch0: %{name}-system-libpng.patch
-Patch1: %{name}-qt-dirs.patch
-Patch2: %{name}-lib64.patch
-Patch3: %{name}-qt-thread.patch
-Patch4: %{name}-64bit.patch
+# Source0-md5: 70260101ef60952cb99484700241c99e
+Patch0: %{name}-qt-dirs.patch
URL: http://www.doxygen.org/
+%{?with_qt:BuildRequires: QtGui-devel >= 4.3}
+%{?with_qt:BuildRequires: QtXml-devel >= 4.3}
+BuildRequires: bison
BuildRequires: flex
BuildRequires: ghostscript
BuildRequires: ghostscript-fonts-std
BuildRequires: libpng-devel
BuildRequires: libstdc++-devel
-BuildRequires: python
-%{?with_qt:BuildRequires: qt-devel >= 2.1.0}
-BuildRequires: tetex-format-latex >= 1:3.0-2
-BuildRequires: tetex-format-pdflatex >= 1:3.0-2
+BuildRequires: perl-base
+%{?with_qt:BuildRequires: qt4-build >= 4.3}
+%{?with_qt:BuildRequires: qt4-qmake >= 4.3}
+BuildRequires: texlive-latex
+BuildRequires: texlive-pdftex
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
# because of qt
Summary(pt_BR.UTF-8): Wizard gráfico para o Doxygen
Group: X11/Applications
Requires: %{name} = %{epoch}:%{version}-%{release}
-Requires: qt >= 2.1.0
%description doxywizard
Doxywizard is a GUI front-end for creating and editing configuration
%prep
%setup -q
%patch0 -p1
-%patch1 -p1
-%if "%{_lib}" == "lib64"
-%patch2 -p1
-%endif
-%patch3 -p1
-rm -rf libpng src/unistd.h
+rm -rf libpng src/unistd.h addon/doxywizard/Makefile.doxywizard
%build
-export QTDIR=%{_prefix}
# don't change it to %%configure, not autoconf-generated!
./configure \
--prefix %{_prefix} \
%{__make} \
CC="%{__cc}" \
CXX="%{__cxx}" \
+ LINK="%{__cxx}" \
QTDIR="%{_prefix}" \
CFLAGS="%{rpmcflags}" \
- CXXFLAGS="%{rpmcxxflags} -DQT_NO_CODECS -DQT_LITE_UNICODE -fno-rtti -fno-exceptions"
+ CXXFLAGS="%{rpmcxxflags} -DQT_NO_CODECS -DQT_LITE_UNICODE -DNODEBUG -fno-rtti -fno-exceptions" \
+ LFLAGS="%{rpmldflags}"
%{__make} docs
#%%{__make} pdf
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_bindir}
-
-install bin/doxy* $RPM_BUILD_ROOT%{_bindir}
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%doc html examples README
%attr(755,root,root) %{_bindir}/doxygen
%attr(755,root,root) %{_bindir}/doxytag
+%{_mandir}/man1/doxygen.1*
+%{_mandir}/man1/doxytag.1*
%if %{with qt}
%files doxywizard
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/doxywizard
+%{_mandir}/man1/doxywizard.1*
%endif