|
|
@ -1,3 +1,6 @@ |
|
|
|
|
|
|
|
%define withqt4 0 |
|
|
|
|
|
|
|
%define withdocs 0 |
|
|
|
|
|
|
|
|
|
|
|
Summary: A documentation system for C/C++ |
|
|
|
Summary: A documentation system for C/C++ |
|
|
|
Name: doxygen |
|
|
|
Name: doxygen |
|
|
|
Epoch: 1 |
|
|
|
Epoch: 1 |
|
|
@ -36,6 +39,7 @@ 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 %{withqt4} |
|
|
|
%package doxywizard |
|
|
|
%package doxywizard |
|
|
|
Summary: A GUI for creating and editing configuration files |
|
|
|
Summary: A GUI for creating and editing configuration files |
|
|
|
Requires: %{name} = %{epoch}:%{version}-%{release} |
|
|
|
Requires: %{name} = %{epoch}:%{version}-%{release} |
|
|
@ -43,6 +47,7 @@ BuildRequires: qt4-devel |
|
|
|
%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 |
|
|
|
|
|
|
|
|
|
|
|
%package latex |
|
|
|
%package latex |
|
|
|
Summary: Support for producing latex/pdf output from doxygen |
|
|
|
Summary: Support for producing latex/pdf output from doxygen |
|
|
@ -78,7 +83,9 @@ unset QTDIR |
|
|
|
./configure \ |
|
|
|
./configure \ |
|
|
|
--prefix %{_prefix} \ |
|
|
|
--prefix %{_prefix} \ |
|
|
|
--shared \ |
|
|
|
--shared \ |
|
|
|
|
|
|
|
%if %{withqt4} |
|
|
|
--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 |
|
|
@ -88,11 +95,14 @@ sed -i -e "s|-o ../objects/language.o|-fno-merge-constants -fsection-anchors -o |
|
|
|
%endif |
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
|
|
make %{?_smp_mflags} all |
|
|
|
make %{?_smp_mflags} all |
|
|
|
|
|
|
|
%if %{withdocs} |
|
|
|
make docs |
|
|
|
make docs |
|
|
|
|
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install |
|
|
|
%install |
|
|
|
make install DESTDIR=%{buildroot} |
|
|
|
make install DESTDIR=%{buildroot} |
|
|
|
|
|
|
|
%if %{withqt4} |
|
|
|
make doxywizard_install DESTDIR=%{buildroot} |
|
|
|
make doxywizard_install DESTDIR=%{buildroot} |
|
|
|
|
|
|
|
|
|
|
|
install -m644 -p -D %{SOURCE1} %{buildroot}%{_datadir}/pixmaps/doxywizard.png |
|
|
|
install -m644 -p -D %{SOURCE1} %{buildroot}%{_datadir}/pixmaps/doxywizard.png |
|
|
@ -100,19 +110,24 @@ install -m644 -p doc/doxywizard.1 %{buildroot}%{_mandir}/man1/ |
|
|
|
|
|
|
|
|
|
|
|
desktop-file-install \ |
|
|
|
desktop-file-install \ |
|
|
|
--dir=%{buildroot}%{_datadir}/applications %{SOURCE2} |
|
|
|
--dir=%{buildroot}%{_datadir}/applications %{SOURCE2} |
|
|
|
|
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files |
|
|
|
%files |
|
|
|
%doc LANGUAGE.HOWTO README.md examples |
|
|
|
%doc LANGUAGE.HOWTO README.md examples |
|
|
|
|
|
|
|
%if %{withdocs} |
|
|
|
%doc html |
|
|
|
%doc html |
|
|
|
|
|
|
|
%endif |
|
|
|
%{_bindir}/doxygen |
|
|
|
%{_bindir}/doxygen |
|
|
|
%{_mandir}/man1/doxygen.1* |
|
|
|
%{_mandir}/man1/doxygen.1* |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if %{withqt4} |
|
|
|
%files doxywizard |
|
|
|
%files doxywizard |
|
|
|
%{_bindir}/doxywizard |
|
|
|
%{_bindir}/doxywizard |
|
|
|
%{_mandir}/man1/doxywizard* |
|
|
|
%{_mandir}/man1/doxywizard* |
|
|
|
%{_datadir}/applications/doxywizard.desktop |
|
|
|
%{_datadir}/applications/doxywizard.desktop |
|
|
|
%{_datadir}/pixmaps/doxywizard.png |
|
|
|
%{_datadir}/pixmaps/doxywizard.png |
|
|
|
|
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
|
|
%files latex |
|
|
|
%files latex |
|
|
|
# intentionally left blank |
|
|
|
# intentionally left blank |
|
|
|