commit
bffb832e21
10
doxygen.spec
10
doxygen.spec
@ -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
|
||||
|
||||
@ -2,5 +2,4 @@
|
||||
Type=Application
|
||||
Exec=doxywizard
|
||||
Name=Doxygen Wizard
|
||||
Icon=doxywizard
|
||||
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