diff --git a/.gitignore b/.gitignore index 4c1a983..ba03361 100644 --- a/.gitignore +++ b/.gitignore @@ -28,3 +28,4 @@ doxygen-1.7.1.src.tar.gz /doxygen-1.7.5.1.src.tar.gz /doxygen-1.7.6.src.tar.gz /doxygen-1.7.6.1.src.tar.gz +/doxywizard.png diff --git a/doxygen.spec b/doxygen.spec index 7fdb5c1..d22bfe7 100644 --- a/doxygen.spec +++ b/doxygen.spec @@ -1,13 +1,16 @@ Summary: A documentation system for C/C++ Name: doxygen Version: 1.7.6.1 -Release: 2%{?dist} +Release: 3%{?dist} Epoch: 1 Group: Development/Tools # No version is specified. License: GPL+ Url: http://www.stack.nl/~dimitri/doxygen/index.html Source0: ftp://ftp.stack.nl/pub/users/dimitri/%{name}-%{version}.src.tar.gz +# this icon is part of kdesdk +Source1: doxywizard.png +Source2: doxywizard.desktop BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Patch1: doxygen-1.7.1-config.patch Patch2: doxygen-1.7.5-timestamp.patch @@ -77,6 +80,12 @@ find examples -type f | xargs chmod -x sed -i -e "s|#!perl|#! /usr/bin/perl|" examples/tag/html/installdox +mkdir -p %{buildroot}%{_datadir}/pixmaps +install -m 644 -p %{SOURCE1} %{buildroot}%{_datadir}/pixmaps/ + +desktop-file-install \ + --dir=%{buildroot}%{_datadir}/applications %{SOURCE2} + %clean rm -rf %{buildroot} @@ -93,8 +102,13 @@ rm -rf %{buildroot} %defattr(-,root,root) %{_bindir}/doxywizard %{_mandir}/man1/doxywizard* +%{_datadir}/applications/doxywizard.desktop +%{_datadir}/pixmaps/ %changelog +* Wed Jan 18 2012 Than Ngo - 1.7.6.1-3 +- bz#772523, add desktop file + * Fri Jan 13 2012 Fedora Release Engineering - 1:1.7.6.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild diff --git a/doxywizard.desktop b/doxywizard.desktop new file mode 100644 index 0000000..f3d0a4f --- /dev/null +++ b/doxywizard.desktop @@ -0,0 +1,6 @@ +[Desktop Entry] +Type=Application +Exec=doxywizard +Name=Doxygen Wizard +Icon=doxywizard +Categories=Qt;Development; diff --git a/sources b/sources index 90e4656..7b542e8 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ 084f1db244b77b3abff335550ef8eec5 doxygen-1.7.6.1.src.tar.gz +1a84da877450422c5fc49e525c546cd4 doxywizard.png