File bug-buddy.spec of Package bug-buddy

# spec file for package bug-buddy (Version 2.28.0)
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

# norootforbuild

Name:           bug-buddy
BuildRequires:  evolution-data-server-devel
BuildRequires:  fdupes
BuildRequires:  gcc-c++
BuildRequires:  gnome-doc-utils-devel
BuildRequires:  gtk2-devel >= 2.14.2
BuildRequires:  intltool
BuildRequires:  libelf-devel
BuildRequires:  libgtop-devel
BuildRequires:  libsoup-devel
BuildRequires:  translation-update-upstream
BuildRequires:  update-desktop-files
License:        GPL v2 or later
Group:          System/GUI/GNOME
Version:        2.28.0
Release:        1
Requires:       %{name}-lang = %{version}
Summary:        The GNOME Desktop Bug Reporting Tool
# PATCH-FIX-UPSTREAM bug-buddy-breakpad-vg-fix.patch bnc374803
Patch8:         bug-buddy-breakpad-vg-fix.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires:       gdb

The Bug Buddy for the GNOME 2.x Desktop makes bug reporting for
end-users as easy as possible. It can generate crash backtraces and
include that information into the bug report.

    Jacob Berkman  <> 

%setup -q

%if %suse_version < 1030
export CPPFLAGS="$CPPFLAGS -I/usr/include/libelf"
%configure --disable-static --with-pic --disable-scrollkeeper
make %{?jobs:-j%jobs}

find %{buildroot} -type f -name "*.la" -exec %{__rm} -fv {} +
%suse_update_desktop_file -N "Bug Buddy" -G "Bug Report Tool" -r bug-buddy System Feedback GNOME
%find_lang %{name}
cat %{name}.schemas_list >%{name}.lst


%pre -f %{name}.schemas_pre

%posttrans -f %{name}.schemas_posttrans

%preun -f %{name}.schemas_preun

%files -f %{name}.lst
%defattr (-, root, root)
%dir %{_datadir}/icons/HighContrastLargePrint
%dir %{_datadir}/icons/HighContrastLargePrint/48x48
%dir %{_datadir}/icons/HighContrastLargePrint/48x48/apps
%doc %{_mandir}/man?/*.*
# google breakpad only works on i386 at the moment
%ifarch %ix86
%dir %{_libdir}/bug-buddy

%files lang -f %{name}.lang

openSUSE Build Service is sponsored by