File bug-buddy.spec of Package bug-buddy

#
# spec file for package bug-buddy (Version 2.24.1)
#
# Copyright (c) 2008 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 http://bugs.opensuse.org/
#

# norootforbuild


Name:           bug-buddy
BuildRequires:  evolution-data-server-devel
BuildRequires:  fdupes
BuildRequires:  gcc-c++
BuildRequires:  gnome-common
BuildRequires:  gnome-doc-utils-devel
BuildRequires:  gnome-menus-devel
BuildRequires:  gtk2-devel >= 2.14.2
BuildRequires:  intltool
BuildRequires:  libelf-devel
BuildRequires:  libgnomeui-devel
BuildRequires:  libgtop-devel
BuildRequires:  libsoup-devel
BuildRequires:  perl-XML-Parser
BuildRequires:  scrollkeeper
BuildRequires:  update-desktop-files
License:        GPL v2 or later
Group:          System/GUI/GNOME
Version:        2.24.1
Release:        2
Requires:       %{name}-lang = %{version}
Summary:        The GNOME Desktop Bug Reporting Tool
Source:         ftp://ftp.gnome.org/pub/gnome/sources/bug-buddy/2.23/%{name}-%{version}.tar.bz2
# PATCH-FIX-OPENSUSE bug-buddy-hardcode-dump-path.patch bnc307860
Patch7:         bug-buddy-hardcode-dump-path.patch
# PATCH-FIX-UPSTREAM bug-buddy-breakpad-vg-fix.patch bnc374803
Patch8:         bug-buddy-breakpad-vg-fix.patch
Url:            http://www.gnome.org/
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires:       gdb
%gconf_schemas_prereq

%description
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.



Authors:
--------
    Jacob Berkman  <jberkman@andrew.cmu.edu> 

%lang_package
%prep
%setup -q
%patch7 -p0
%patch8 

%build
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
%if %suse_version < 1030
export CPPFLAGS="$CPPFLAGS -I/usr/include/libelf"
%endif
%configure
make %{?jobs:-j%jobs}

%install
%makeinstall
rm -f $RPM_BUILD_ROOT/%{_libdir}/gtk-2.0/modules/*.*a
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.*a
%suse_update_desktop_file -N "Bug Buddy" -G "Bug Report Tool" -r bug-buddy System Feedback GNOME
%find_lang %{name}
%find_gconf_schemas
cat %{name}.schemas_list >%{name}.lst
%fdupes $RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%pre -f %{name}.schemas_pre
%posttrans -f %{name}.schemas_posttrans

%preun -f %{name}.schemas_preun

%files -f %{name}.lst
%defattr (-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README
%{_bindir}/bug-buddy
%{_datadir}/applications/*.desktop
%{_datadir}/bug-buddy
%{_datadir}/icons/hicolor/*/apps/bug-buddy.*
%dir %{_datadir}/icons/HighContrastLargePrint
%dir %{_datadir}/icons/HighContrastLargePrint/48x48
%dir %{_datadir}/icons/HighContrastLargePrint/48x48/apps
%{_datadir}/icons/HighContrastLargePrint/*/apps/bug-buddy.png
%doc %{_mandir}/man?/*.*
%{_libdir}/gtk-2.0/modules/*
# google breakpad only works on i386 at the moment
%ifarch %ix86
%{_bindir}/minidump_*
%dir %{_libdir}/bug-buddy
%{_libdir}/bug-buddy/libbreakpad.*
%endif

%files lang -f %{name}.lang

%changelog
* Tue Nov 25 2008 sbrabec@suse.cz
- Supplement gtk2-32bit/gtk2-64bit in baselibs.conf (bnc#354164).
* Mon Oct 20 2008 mboman@suse.de
- Update to version 2.24.1:
  + Hide the "Send" button after clicking it
  + Make the breakpad module resident
* Tue Sep 23 2008 maw@suse.de
- Update to version 2.24.0:
  + Adapt gnome-breakpad for loading by XSettings
  + Updated translations
- Respin bug-buddy-breakpad-vg-fix.patch.
* Tue Sep 02 2008 mboman@novell.com
- Update to version 2.23.91.1:
  + Fix a runtime warning
  + Standardize the desktop file
  + Clean up X11 includes
  + Updated translations
* Thu Aug 28 2008 maw@suse.de
- Update to version 2.23.90:
  + Updated translations
- Drop bug-buddy-desktop-fix.patch, which has been upstreamed.
* Tue Aug 19 2008 maw@suse.de
- Own several previously unowned directories.
* Tue Aug 05 2008 vuntz@novell.com
- Update to version 2.23.6:
  + Remove unused command line switches
  + Update and ship a man page
  + Remove dependency on libgnomecanvas
  + New Tango icon
  + Add a context menu to copy the bug URL when a bug has been reported.
  + Add a dialog to warn the user to review the crash description if it is
  too short
  + Many cleanups of the source tree
  + Some other misc bug fixes
  + Translation updates
- Changes from version 2.23.5.1:
  + Correctly install bug-buddy.png
- Changes from version 2.23.5:
  + Port to GIO
  + Completely remove the NetworkManager dependency
  + Fix some leaks
  + Many misc bug fixes
  + Translation updates
- Remove bug-buddy-kde-menus.patch and bug-buddy-gcc4.3-fixes.patch
  (fixed upstream)
- Add bug-buddy-desktop-fix.patch to fix an error in the desktop
  file (already fixed upstream)
- Remove gnutls-devel, libglade2-devel BuildRequires
- Don't call 'autoreconf -f -i', it breaks the build.
* Sat Apr 12 2008 hfiguiere@suse.de
- Add patch bug-buddy-breakpad-vg-fix.patch to fix
  BNC #374803 in Google Breakpad (taken from upstream)
* Tue Mar 11 2008 vuntz@suse.de
- Update to version 2.22.0:
  + Updated translations.
- Changes from version 2.21.91:
  + Fixes to the new minidump code.
  + Some more bug fixes.
- Fix bug-buddy-kde-menus.patch to have a ; at the end of a list
  in the .desktop file.
* Wed Feb 20 2008 rodrigo@suse.de
- Upstreamed patches and tag accordingly in the .spec file
- Removed abuild.patch, it was wrong to change the return value of
  a "delete_event" callback from gboolean to void.
* Fri Feb 01 2008 maw@suse.de
- Update to version 2.21.90:
  + Build against newer versions of libsoup
  + Various enhancements.
* Fri Dec 07 2007 sbrabec@suse.cz
- Build correctly with older libelf package.
* Mon Nov 12 2007 btimothy@suse.de
- Add bug-buddy-hardcode-dump-path.patch to allow dump files to
  be read by bug buddy.  This is still a bug upstream and this
  patch is only a workaround.  Additional fix for BNC #307860.
- Update to version 2.20.1:
  + Bugs (bugzilla.novell.com) fixed: #307860
  + Bugs (bugzilla.gnome.org) fixed: #480130, #479929, #479536,
  [#473671], #483436, #345130
- Remove bug-buddy-ignore-handled-signals.patch, since it's
  already included in 2.20.1.
* Tue Nov 06 2007 maw@suse.de
- Add bug-buddy-gcc4.3-fixes.patch.
* Thu Sep 20 2007 maw@suse.de
- Fix the build on i386.
* Tue Sep 18 2007 maw@suse.de
- Update to version 2.20.0:
  + Bugs (bugzilla.gnome.org) fixed: #471425, #471290
  + Always configure the google-breakpad dir, even though it isn't
  always built; on platforms where it is built, install it
  in a directory private to bug-buddy.
* Thu Aug 30 2007 maw@suse.de
- Update to version 2.19.91:
  * minidump code fixes
- Remove breakpad-arches.patch, as it is not necessary with this
  release.
* Fri Aug 24 2007 maw@suse.de
- Remove includes.patch, and replace it with breakpad-arches.patch
  (which comes out of gnome svn) (#297971)
- Google Breakpad is now built and installed for i386; other
  hardware architectures are still unsupported
- Package Gnome Breakpad files on all architectures
- But package Google Breakpad files only on i386.
* Mon Aug 06 2007 maw@suse.de
- Split out a -lang subpackage.
* Thu Aug 02 2007 maw@suse.de
- Update to version 2.19.0:
  + Build a GTK_MODULE invoking bug-buddy on segfaults
  + Add support for dumping a minidump file if no debug symbols
  are present [disabled]
  + Preliminary integration of Google Breakpad [disabled, as it
  currently is broken on at least x86_64]
- Add gcc-c++ and libelf-devel as build requirements
- Add includes.patch
- Use %%fdupes.
* Wed Jun 06 2007 sbrabec@suse.cz
- Patch source file bug-buddy.desktop.in.in instead of
  autogenerated one.
* Thu May 10 2007 pgajdos@suse.cz
- removed gnome-icon-theme from BuildRequires [#247450]
* Fri Apr 27 2007 sbrabec@suse.cz
- Do not call meinproc (#227624).
* Thu Apr 12 2007 maw@suse.de
- Update to version 2.18.1
- Corrected .desktop files
- Fix for bugzilla.gnome.org #424711.
* Fri Mar 30 2007 maw@suse.de
- Update to version 2.17.4
- Fixes b.g.o 406009, 357203, 394054
- Remove upstreamed bug-buddy-build-warning.patch.
* Tue Feb 27 2007 maw@suse.de
- Update to version 2.17.3
- Remove bug-buddy-random-data-error.patch, which is now
  upstream
- Add abuild.patch.
* Thu Dec 14 2006 sbrabec@suse.cz
- Prefix changed to /usr.
- Spec file cleanup.
* Fri Oct 13 2006 danw@suse.de
- Remove dead patches, update for gnome-doc-utils-devel split
* Thu Sep 14 2006 jhargadon@suse.de
- update to version 2.16.0
- Fix a crash when focusing details-view
- remove the docs subdirectory as the bug-buddy manual is doesn't
  appear in the menus
* Mon Sep 11 2006 jhargadon@suse.de
- added a patch that fixes a function returning random data in
  bugzilla.c
* Wed Aug 30 2006 jhargadon@suse.de
- update to version 2.15.92
- drop local xml-rpc functions
- Port to GKeyFile
- Bug fixes
- Show window while collecting .desktop files
- Use some heuristics as report summary
* Fri Aug 18 2006 aj@suse.de
- Cleanup BuildRequires.
* Wed Aug 02 2006 gekker@suse.de
- Update to version 2.15.90
  * Support for sending previously non-sent bug reports.
  * Use own .menu file for reading all applications
  * when invoked with --package and without --pid, don't assume it
  is a crash.
  * use theme-friendly icons
  * Update treeview headers when switching between
  products/applications (Matthias Clasen)
  * Fix LSB distro detection (Fernando)
  * Set GnomeFileEntry in save mode when saving the report
  * HIG fixes (Christian Perch)
  * Center the main window (Christian Neumair)
  * Updated translations
* Tue Feb 28 2006 sbrabec@suse.cz
- Use kdelibs3-doc in BuildRequires for meinproc (#153635#c14).
* Mon Feb 27 2006 ro@suse.de
- added kdelibs3-devel-doc to BuildRequires
* Fri Feb 24 2006 sbrabec@suse.cz
- Improved Categories.
* Fri Feb 17 2006 sreeves@suse.de
- Update .desktop file (Name, GenericName, Comment, DocPath)
* Tue Feb 14 2006 coolo@suse.de
- remove nonsense duplication of Name and GenericName
- remove explicit DocPath
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Oct 12 2005 gekker@suse.de
- Update to version 2.12.1
* Tue Sep 20 2005 rodrigo@suse.de
- Added bug-buddy-mostfreq.patch (#6530)
* Wed Sep 07 2005 sbrabec@suse.cz
- Updated to version 2.12.0 (GNOME 2.12).
* Tue Sep 06 2005 coolo@suse.de
- gnome's bug are very unlikely to be reported by KDE users
* Tue Aug 23 2005 gekker@suse.de
- Update to version 2.11.92
* Tue Aug 02 2005 gekker@suse.de
- Update to version 2.11.1
* Thu Jul 14 2005 sbrabec@suse.cz
- Worked around scrollkeeper problems.
* Mon Jun 27 2005 sbrabec@suse.cz
- Updated to CVS snapshot of pre-2.11.0.
* Wed Mar 09 2005 gekker@suse.de
- Update to version 2.10.0 (GNOME 2.10).
* Wed Mar 02 2005 gekker@suse.de
- Update to version 2.9.92
* Thu Feb 10 2005 gekker@suse.de
- Update to version 2.9.91
* Thu Jan 27 2005 hhetter@suse.de
- updated to version 2.9.3
* Mon Jan 24 2005 ro@suse.de
- fix category to build
* Mon Jan 17 2005 sbrabec@suse.cz
- Assigned to Feedback category (#41682).
* Fri Jan 14 2005 sbrabec@suse.cz
- Updated to version 2.9.2.
* Wed Jan 12 2005 sbrabec@suse.cz
- Updated to version 2.8.0.
* Wed Dec 22 2004 ro@suse.de
- fixed typo in specfile
* Tue Dec 21 2004 sbrabec@suse.cz
  Changed Categories to System;Utility (#41682).
* Fri Oct 29 2004 ro@suse.de
- locale rename: no -> nb
* Wed Aug 25 2004 clahey@suse.de
- Cache bug-buddy docs and have bug-buddy show up in khelpcenter.
* Mon Aug 09 2004 ro@suse.de
- fixed typo in specfile
* Mon Aug 09 2004 sagarwal@suse.de
-Fixed bug #61284 from bugzilla.ximian.com
* Mon Jul 19 2004 sagarwal@suse.de
- Fixed bugs #61286 and #61290 from bugzilla.ximian.com
* Tue May 11 2004 sbrabec@suse.cz
- Fixed gconftool-2 prerequirements.
* Tue May 04 2004 sbrabec@suse.cz
- Updated to version 2.6.1 (GNOME 2.6).
* Mon Mar 15 2004 sbrabec@suse.cz
- FHS 2.3 fix (mandir, infodir, #35821).
* Wed Mar 10 2004 sbrabec@suse.cz
- Fixed %%doc attributes (#33163).
* Fri Feb 20 2004 sbrabec@suse.cz
- Package renamed to bug-buddy.
* Mon Feb 09 2004 hhetter@suse.de
- updated to version 2.4.2 [GNOME2.4.2]
- build with Perl XML::Parser
* Sat Jan 10 2004 adrian@suse.de
- fix user build
* Wed Oct 29 2003 sbrabec@suse.cz
- Updated to version 2.4.1.
* Tue Oct 07 2003 sbrabec@suse.cz
- Updated to version 2.4.0 (GNOME 2.4).
* Sat Sep 20 2003 kukuk@suse.de
- Provides/Obsoletes bug-buddy to solve file conflicts
* Mon Sep 15 2003 hhetter@suse.de
- add Requires: gdb (Bug Id: #30847)
* Sun Sep 14 2003 adrian@suse.de
- add Debugger Category
* Tue Aug 19 2003 sbrabec@suse.cz
- Updated neededforbuild (rename of librsvg2, eel2).
* Mon Jul 14 2003 sbrabec@suse.cz
- GNOME prefix change to /opt/gnome.
* Wed Jul 02 2003 hhetter@suse.de
- updated to version  2.2.106
* Fri Jun 13 2003 ro@suse.de
- added directory to filelist
* Tue Jun 03 2003 ro@suse.de
- add unpackaged files to filelist
* Mon Feb 03 2003 ro@suse.de
- added startup-notification to neededforbuild
* Tue Jan 28 2003 hhetter@suse.de
- updated to version 2.2.101
* Thu Jan 16 2003 ro@suse.de
- use gtk2-devel-packages and libjpeg in neededforbuild
* Mon Nov 11 2002 ro@suse.de
- changed neededforbuild <xf86 xdevel> to <x-devel-packages>
* Tue Oct 22 2002 hhetter@suse.de
- remove wrong docdir
* Mon Sep 23 2002 sbrabec@suse.cz
- Added alsa to neededforbuild, because esound can depend on it.
* Thu Jun 27 2002 hhetter@suse.de
- updated to version 2.2.0 (gnome2.0 final)
- libxslt in neededforbuild (fix scrollkeeper usage)
* Wed Jun 05 2002 hhetter@suse.de
- updated to version 2.1.6, sources frozen
* Tue Apr 16 2002 hhetter@suse.de
- initial SuSE Release