modify spec file
This commit is contained in:
parent
300c878cd6
commit
e2ad6a4dea
10
doxygen.spec
10
doxygen.spec
@ -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
|
||||||
|
|||||||
@ -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;
|
||||||
|
|||||||
BIN
doxywizard.png
BIN
doxywizard.png
Binary file not shown.
|
Before Width: | Height: | Size: 4.4 KiB |
Loading…
x
Reference in New Issue
Block a user