!2 modify spec file

Merge pull request !2 from 薄皮小笼包/master
This commit is contained in:
薄皮小笼包 2019-12-31 09:57:46 +08:00 committed by Gitee
commit bffb832e21
3 changed files with 3 additions and 8 deletions

View File

@ -4,11 +4,10 @@ Summary: Generate documentation from source code
Name: doxygen
Epoch: 1
Version: 1.8.14
Release: 8
Release: 9
License: GPL+
Url: http://www.doxygen.nl
Source0: https://sourceforge.net/projects/%{name}/files/rel-%{version}/%{name}-%{version}.src.tar.gz
Source1: doxywizard.png
Source2: doxywizard.desktop
BuildRequires: gcc-c++ gcc perl-interpreter
@ -88,8 +87,8 @@ popd
%if ! 0%{?_module_build}
make docs %{?_smp_mflags} -C %{_target_platform}
%else
install -d *-redhat-linux-gnu/latex
touch *-redhat-linux-gnu/latex/doxygen_manual.pdf
install -d *-openEuler-linux-gnu/latex
touch *-openEuler-linux-gnu/latex/doxygen_manual.pdf
%endif
%make_build -C %{_target_platform}
@ -97,8 +96,6 @@ touch *-redhat-linux-gnu/latex/doxygen_manual.pdf
%make_install -C %{_target_platform}
find %{_target_platform}/html -name struct*.pdf| xargs sed -i 's/<[0-9,A-F]\{32\}>/<011CC110A540190DBC7FD31B2A2E03B4>/g'
install -pDm 644 %{SOURCE1} %{buildroot}%{_datadir}/pixmaps/doxywizard.png
install -d %{buildroot}/%{_mandir}/man1
cp doc/*.1 %{buildroot}/%{_mandir}/man1/
@ -120,7 +117,6 @@ desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{SOURCE2}
%{_bindir}/doxywizard
%{_datadir}/applications/doxywizard.desktop
%endif
%{_datadir}/pixmaps/doxywizard.png
%if ! 0%{?_module_build}
%files latex

View File

@ -2,5 +2,4 @@
Type=Application
Exec=doxywizard
Name=Doxygen Wizard
Icon=doxywizard
Categories=Qt;Development;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB