summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@redhat.com>2009-11-02 15:35:00 +0100
committerJiri Moskovcak <jmoskovc@redhat.com>2009-11-02 15:35:00 +0100
commite1be4826551cc7aa396d0e4b28770fb8eb12946b (patch)
tree2fc053405003afb8647635675422ffc789056ae9
parent68e616def90ece3bdde925dc106e51e8560fa05d (diff)
downloadabrt-e1be4826551cc7aa396d0e4b28770fb8eb12946b.tar.gz
abrt-e1be4826551cc7aa396d0e4b28770fb8eb12946b.tar.xz
abrt-e1be4826551cc7aa396d0e4b28770fb8eb12946b.zip
Added abrt.png, fixed rhbz#
- we should have an icon in menu
-rw-r--r--abrt.spec10
-rw-r--r--src/Gui/Makefile.am6
-rw-r--r--src/Gui/abrt.desktop2
-rw-r--r--src/Gui/abrt.pngbin0 -> 2791 bytes
4 files changed, 14 insertions, 4 deletions
diff --git a/abrt.spec b/abrt.spec
index 493afd6a..e53e7020 100644
--- a/abrt.spec
+++ b/abrt.spec
@@ -4,7 +4,7 @@
Summary: Automatic bug detection and reporting tool
Name: abrt
Version: 0.0.10
-Release: 1%{?dist}
+Release: 6%{?dist}
License: GPLv2+
Group: Applications/System
URL: https://fedorahosted.org/abrt/
@@ -249,7 +249,12 @@ if [ "$1" -eq "0" ] ; then
/sbin/chkconfig --del %{name}d
fi
-%postun libs -p /sbin/ldconfig
+%postun
+libs -p /sbin/ldconfig
+if [ "$1" -eq "1" ]; then
+ service %{name}d condrestart >/dev/null 2>&1 || :
+fi
+
%files -f %{name}.lang
%defattr(-,root,root,-)
@@ -285,6 +290,7 @@ fi
%{_bindir}/%{name}-gui
%{_datadir}/%{name}
%{_datadir}/applications/%{name}.desktop
+%{_datadir}/pixmaps/abrt.png
%{_bindir}/%{name}-applet
%{_sysconfdir}/xdg/autostart/%{name}-applet.desktop
diff --git a/src/Gui/Makefile.am b/src/Gui/Makefile.am
index ffdace54..87d996ca 100644
--- a/src/Gui/Makefile.am
+++ b/src/Gui/Makefile.am
@@ -10,11 +10,15 @@ PYTHON_FILES = CCDBusBackend.py CCDumpList.py CCDump.py CC_gui_functions.py \
GLADE_FILES = ccgui.glade report.glade settings.glade dialogs.glade settings_wizard.glade
-EXTRA_DIST = $(PYTHON_FILES) $(GLADE_FILES) abrt-gui abrt.desktop
+EXTRA_DIST = $(PYTHON_FILES) $(GLADE_FILES) abrt-gui abrt.desktop abrt.png
#ccguidir = $(pkgdatadir)
+applicationsdir = $(datadir)/applications
+applications_DATA = abrt.desktop
pkgdata_PYTHON = $(PYTHON_FILES)
pkgdata_DATA = $(GLADE_FILES)
+pixmapdir = $(datadir)/pixmaps
+pixmap_DATA = abrt.png
CLEANFILES := $(notdir $(wildcard *~)) $(notdir $(wildcard *\#)) $(notdir $(wildcard \.\#*)) $(notdir $(wildcard *.pyc))
diff --git a/src/Gui/abrt.desktop b/src/Gui/abrt.desktop
index 64aeb207..5498a0aa 100644
--- a/src/Gui/abrt.desktop
+++ b/src/Gui/abrt.desktop
@@ -3,7 +3,7 @@ Encoding=UTF-8
Name=Automatic Bug Reporting Tool
Comment=View and report application crashes
Exec=abrt-gui
-Icon=
+Icon=abrt
Terminal=false
Type=Application
Categories=System;X-Red-Hat-Base;
diff --git a/src/Gui/abrt.png b/src/Gui/abrt.png
new file mode 100644
index 00000000..dc24865e
--- /dev/null
+++ b/src/Gui/abrt.png
Binary files differ