modify spec file

This commit is contained in:
lkx690 2019-12-30 15:31:58 +08:00
parent 300c878cd6
commit e2ad6a4dea
3 changed files with 3 additions and 8 deletions

View File

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

View File

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB