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
Name: bug-buddy
-Version: 2.8.0
-Release: 3
-License: GPL
+Version: 2.10.0
+Release: 5
+License: GPL v2
Group: X11/Applications
-Source0: http://ftp.gnome.org/pub/gnome/sources/%{name}/2.8/%{name}-%{version}.tar.bz2
-# Source0-md5: b4c90bb9e1762803d083026b000349ea
+Source0: http://ftp.gnome.org/pub/gnome/sources/bug-buddy/2.10/%{name}-%{version}.tar.bz2
+# Source0-md5: c821a933f3d7be64071c7bfcb07ee1ac
Patch0: %{name}-desktop.patch
-Patch1: %{name}-omf.patch
URL: http://www.gnome.org/
-BuildRequires: GConf2-devel >= 2.7.92
+BuildRequires: GConf2-devel >= 2.10.0
BuildRequires: autoconf
BuildRequires: automake
-BuildRequires: gnome-desktop-devel >= 2.7.92
-BuildRequires: gnome-vfs2-devel >= 2.7.92
-BuildRequires: gtk+2-devel >= 2:2.4.0
-BuildRequires: intltool >= 0.29
-BuildRequires: libglade2-devel >= 1:2.4.0
-BuildRequires: libgnomeui-devel >= 2.7.92
-BuildRequires: libxml2-devel >= 2.4.6
+BuildRequires: gettext-devel
+BuildRequires: gnome-desktop-devel >= 2.10.0-2
+BuildRequires: gnome-doc-utils >= 0.2.0
+BuildRequires: gnome-menus-devel >= 2.10.1
+BuildRequires: gnome-vfs2-devel >= 2.10.0-2
+BuildRequires: gtk+2-devel >= 2:2.6.4
+BuildRequires: intltool >= 0.33
+BuildRequires: libglade2-devel >= 1:2.5.1
+BuildRequires: libgnomeui-devel >= 2.10.0-2
+BuildRequires: libxml2-devel >= 1:2.6.19
+BuildRequires: libxslt-progs >= 1.1.14
+BuildRequires: pkgconfig
+BuildRequires: rpmbuild(macros) >= 1.197
BuildRequires: scrollkeeper >= 0.3.8
-Requires(post): GConf2 >= 2.7.92
+Requires(post,preun): GConf2 >= 2.10.0
+Requires(post,postun): desktop-file-utils
Requires(post,postun): scrollkeeper
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%prep
%setup -q
%patch0 -p1
-%patch1 -p1
%build
-glib-gettextize --copy --force
-intltoolize --copy --force
+%{__glib_gettextize}
+%{__intltoolize}
%{__aclocal}
%{__autoconf}
%{__automake}
%configure \
--disable-schemas-install
-
%{__make}
%install
GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
+rm -r $RPM_BUILD_ROOT%{_datadir}/{application-registry,mime-info}
%find_lang %{name} --with-gnome --all-name
rm -rf $RPM_BUILD_ROOT
%post
-umask 022
-/usr/bin/scrollkeeper-update
-%gconf_schema_install
-[ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1 ||:
+%gconf_schema_install bug-buddy.schemas
+%scrollkeeper_update_post
+%update_desktop_database_post
+
+%preun
+%gconf_schema_uninstall bug-buddy.schemas
%postun
-umask 022
-/usr/bin/scrollkeeper-update
-[ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1
+%scrollkeeper_update_postun
+%update_desktop_database_postun
%files -f %{name}.lang
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog NEWS README TODO docs/multiple_bts.txt
%attr(755,root,root) %{_bindir}/*
%{_mandir}/man1/*
-%{_datadir}/application-registry/*
%{_datadir}/%{name}
-%{_datadir}/mime-info/*
%{_desktopdir}/*
%{_pixmapsdir}/*
%{_omf_dest_dir}/*