bug-buddy.spec
author gman
Mon, 22 Mar 2004 04:41:34 +0000
changeset 2269 739620ed50a2
parent 2210 06b4aa23d218
child 2274 08cbce9a7ec7
permissions -rw-r--r--
2004-03-23 Glynn Foster <[email protected]> * bug-buddy.spec: Bump to 2.5.92 * libgnome.spec: Bump to 2.6.0 * libgnomeui.spec: Bump to 2.6.0 * patches/bug-buddy-01-g11n-potfiles.diff: Redo. * patches/bug-buddy-01-remove-ximian-druid-pages.diff: Remove, it was breaking a bunch of things - needs to be properly thought about before we do anything. * patches/bug-buddy-02-no-support.diff: Remove, this was a pointless waste of translation time. * patches/bug-buddy-03-l10n-online-help.diff: Remove, it's upstream now. * patches/bug-buddy-04-enable-help.diff: Remove, we're working against HEAD, so we should pick up this patch when we move on our next iteration. * patches/bug-buddy-05-g11n-potfiles.diff: Remove. * patches/libgnome-05-uninstalled-pc.diff: Upstream. * patches/libgnomeui-01-auth-manager.diff: Rename. * patches/libgnomeui-01-file-entry-activate.diff: Remove, dumb patch. * patches/libgnomeui-02-auth-manager.diff: Remove.

Name:         bug-buddy
License:      GPL
Group:        System/GUI/GNOME
Version:      2.5.92
Release:      1
Distribution: Cinnabar
Vendor:       Sun Microsystems, Inc.
Summary:      GNOME 2.0 Bug Reporting Tool
Source:       http://ftp.gnome.org/pub/GNOME/sources/bug-buddy/2.5/bug-buddy-%{version}.tar.bz2
Source1:      bug-buddy-l10n-po-0.8.tar.bz2
Source2:      bug-buddy.1.gz
Source3:      bug-buddy-docs-0.1.tar.bz2
Patch1:       bug-buddy-01-g11n-potfiles.diff
URL:          www.gnome.org
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
Docdir:       %{_docdir}/bug-buddy
Autoreqprov:  on

%define libgnomeui_version 2.4.0.1
%define scrollkeeper_version 0.3.12
%define gnome_desktop_version 2.4.0

BuildRequires: libgnomeui-devel >= %{libgnomeui_version}
BuildRequires: gnome-desktop >= %{gnome_desktop_version}
BuildRequires: scrollkeeper >= %{scrollkeeper_version}
Requires: libgnomeui >= %{libgnomeui_version}
Requires: scrollkeeper >= %{scrollkeeper_version}

%description
Bug Buddy for the GNOME 2.4 Desktop has been ported from the GNOME 1.x releases. Its purpose is to make bug-reporting for end-users as easy as possible. It can generate backtraces of crashes and include the information with the bugreport.

%prep
%setup -q
bzcat %SOURCE1 | tar xf -
bzcat %SOURCE3 | tar xf -
%patch1 -p1

%build
libtoolize --force
aclocal -I %{_datadir}/aclocal/gnome2-macros
automake -a -c -f
autoconf

CFLAGS="$RPM_OPT_FLAGS" \
./configure --prefix=%{_prefix} \
            --sysconfdir=%{_sysconfdir} \
	    --mandir=%{_mandir}
make 

%install
make DESTDIR=$RPM_BUILD_ROOT install
install -d $RPM_BUILD_ROOT%{_mandir}/man1
install --mode=0644 %SOURCE2 $RPM_BUILD_ROOT%{_mandir}/man1
#Copy zh_HK from zh_TW
#Fixes bug 4930405
install -d $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES
install --mode=0644 $RPM_BUILD_ROOT%{_datadir}/locale/zh_TW/LC_MESSAGES/*.mo $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES/
                                                                                                                                                             
%clean
rm -rf $RPM_BUILD_ROOT

%post
scrollkeeper-update -q
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
SCHEMAS="bug-buddy.schemas"
for S in $SCHEMAS; do
        gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null
done

%postun
scrollkeeper-update -q

%files
%doc AUTHORS COPYING ChangeLog NEWS README
%defattr (-, root, root)
%{_datadir}/locale/*/LC_MESSAGES/*.mo
%{_datadir}/bug-buddy/bug-buddy.*
%{_datadir}/bug-buddy/gdb-cmd
%{_datadir}/bug-buddy/gnome.png
%{_datadir}/gnome/help/bug-buddy/*
%{_datadir}/mime-info/bug-buddy.keys
%{_datadir}/mime-info/bug-buddy.mime 
%{_bindir}/bug-buddy
%{_datadir}/omf/bug-buddy/*.omf
%{_datadir}/pixmaps/*.png
%{_datadir}/man/man1/bug-buddy.1.gz
%{_sysconfdir}/gconf/schemas/bug-buddy.schemas
%{_datadir}/application-registry/*.applications
 

%changelog
* Tue Mar 16 2004 - [email protected]
- Bump to 2.5.92. Remove localized online help since it's upstream
  in the tarball. Remove help button since we're working from head
  and we'll get it with the next iteration. Remove random branding
  in the user interface, just increases more time spent doing pointless
  localizations. Remove the ximian branding patch, since it needs to be
  redone, and we shouldn't do the sendmail edits in that patch.

* Tue Mar 16 2004 - [email protected]
- Removed man, menu patches since we're doing this in spec file now.
  Merged potfile patches and reorder the rest.

* Thu Mar 11 2004 - [email protected]
- added bug-buddy-09-g11n-potfiles.diff

* Wed Mar 03 2004 - [email protected]
- Added patch bug-buddy-08-enable-help.diff to provide help.

* Mon Feb 23 2004 - [email protected]
- Bump to 2.5.3, update l10n
- Re-merge all patches

* Wed Dec 17 2003 - [email protected]
- Bump to 2.5.1

* Thu Nov 13 2003 - [email protected]
- Remove menu entry

* Fri Oct 10 2003 - [email protected]
- Updated to version 2.4.0

* Thu Oct 9 2003 - [email protected]
- removed %post, fixed %files list and removed ximian.png.

* Wed Sep 17 2003 - [email protected]
- Man page change, package tarball version of man page

* Tue Aug 19 2003 - [email protected]
- add bug-buddy-04-remove-ximian-druid-pages.diff

* Tue Aug 05 2003 - [email protected]
- add bug-buddy-03-sensical-check-removed.diff

* Tue Aug 05 2003 - [email protected]
- Update tarball, bump version, reset release.

* Fri Aug 01 2003 - [email protected]
- Add menu category thing

* Tue May 13 2003 - [email protected]
- initial Sun Release