Summary: Utility to ease the reporting of bugs within the GNOME
-Summary(pl): Narzêdzie u³atwiaj±ce zg³aszanie b³êdów w ¶rodowisku GNOME
+Summary(pl.UTF-8): Narzędzie ułatwiające zgłaszanie błędów w środowisku GNOME
Name: bug-buddy
-Version: 2.3.2
+Version: 2.16.1
Release: 1
-License: GPL
+License: GPL v2
Group: X11/Applications
-Source0: http://ftp.gnome.org/pub/gnome/sources/%{name}/2.3/%{name}-%{version}.tar.bz2
-# Source0-md5: c41ec25e79d7b8ce1d23556ec37ee065
+Source0: http://ftp.gnome.org/pub/gnome/sources/bug-buddy/2.16/%{name}-%{version}.tar.bz2
+# Source0-md5: c15641ebfd90a91f185179d67bde88e3
+Patch0: %{name}-desktop.patch
URL: http://www.gnome.org/
-BuildRequires: gnome-vfs2-devel >= 2.2.0
-BuildRequires: libglade2-devel
-BuildRequires: libgnomecanvas-devel
-BuildRequires: libgnomeui-devel
-BuildRequires: libxml2-devel
-BuildRequires: scrollkeeper
+BuildRequires: GConf2-devel >= 2.16.0
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: evolution-data-server-devel >= 1.8.1
+BuildRequires: gettext-devel
+BuildRequires: gnome-desktop-devel >= 2.16.2
+BuildRequires: gnome-doc-utils >= 0.8.0
+BuildRequires: gnome-menus-devel >= 2.16.1
+BuildRequires: gnome-vfs2-devel >= 2.16.3
+BuildRequires: gtk+2-devel >= 2:2.10.6
+BuildRequires: intltool >= 0.35.0
+BuildRequires: libglade2-devel >= 1:2.6.0
+BuildRequires: libgnomeui-devel >= 2.16.1
+BuildRequires: libgtop-devel >= 2.14.4
+BuildRequires: libxml2-devel >= 1:2.6.27
+BuildRequires: libxslt-progs >= 1.1.17
+BuildRequires: pkgconfig
+BuildRequires: rpmbuild(macros) >= 1.311
+BuildRequires: scrollkeeper >= 0.3.8
+Requires(post,preun): GConf2 >= 2.16.0
+Requires(post,postun): desktop-file-utils
+Requires(post,postun): gtk+2 >= 2:2.10.6
+Requires(post,postun): hicolor-icon-theme
+Requires(post,postun): scrollkeeper
+Requires: libgnomeui >= 2.16.1
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
files or crashed applications. Debian and KDE bug tracking systems are
also supported.
-%description -l pl
-bug-budy jest narzêdziem przeprowadzaj±cym Ciê przez proces sk³adania
-raportu o b³êdzie w ¶rodowisku GNOME. Potrafi on automatycznie uzyskaæ
-¶lady ze stosu (backtrace) z plików core lub wywracaj±cych siê
-aplikacji. Wspierane s± równie¿ systemy obs³ugi b³êdów Debiana oraz
+%description -l pl.UTF-8
+bug-budy jest narzędziem przeprowadzającym Cię przez proces składania
+raportu o błędzie w środowisku GNOME. Potrafi on automatycznie uzyskać
+ślady ze stosu (backtrace) z plików core lub wywracających się
+aplikacji. Wspierane są również systemy obsługi błędów Debiana oraz
KDE.
%prep
%setup -q
+%patch0 -p1
%build
-%configure
+%{__glib_gettextize}
+%{__intltoolize}
+%{__gnome_doc_common}
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+%configure \
+ --disable-schemas-install \
+ --disable-scrollkeeper
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
%{__make} install \
- DESTDIR=$RPM_BUILD_ROOT
+ DESTDIR=$RPM_BUILD_ROOT \
+ GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
%find_lang %{name} --with-gnome --all-name
%clean
rm -rf $RPM_BUILD_ROOT
-%post -p /usr/bin/scrollkeeper-update
-%postun -p /usr/bin/scrollkeeper-update
+%post
+%gconf_schema_install bug-buddy.schemas
+%scrollkeeper_update_post
+%update_desktop_database_post
+%update_icon_cache hicolor
+
+%preun
+%gconf_schema_uninstall bug-buddy.schemas
+
+%postun
+%scrollkeeper_update_postun
+%update_desktop_database_postun
+%update_icon_cache hicolor
%files -f %{name}.lang
%defattr(644,root,root,755)
-%doc AUTHORS ChangeLog NEWS README
+%doc AUTHORS ChangeLog NEWS README TODO
%attr(755,root,root) %{_bindir}/*
-%{_mandir}/man1/*
-%{_datadir}/application-registry/*
-%{_datadir}/bug-buddy
-%{_datadir}/mime-info/*
-%{_desktopdir}/*
-%{_pixmapsdir}/*
-%{_omf_dest_dir}/*
+%{_datadir}/%{name}
+%{_desktopdir}/*.desktop
+%{_iconsdir}/hicolor/*/*/bug-buddy.png
+%{_sysconfdir}/gconf/schemas/bug-buddy.schemas