]> git.pld-linux.org Git - packages/bug-buddy.git/blobdiff - bug-buddy.spec
- updated to 2.20.0; merged from DEVEL
[packages/bug-buddy.git] / bug-buddy.spec
index 90958e8287e0a883bbcd0ddc67a8ee5ec164a6f4..2dac0a28a289914d7fecee635d63061d3144a2c1 100644 (file)
@@ -1,28 +1,39 @@
 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.8.0
-Release:       3
-License:       GPL
+Version:       2.20.0
+Release:       1
+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.20/%{name}-%{version}.tar.bz2
+# Source0-md5: bce8b08a14d123ecfeefb3902031d773
 Patch0:                %{name}-desktop.patch
-Patch1:                %{name}-omf.patch
 URL:           http://www.gnome.org/
-BuildRequires: GConf2-devel >= 2.7.92
+BuildRequires: GConf2-devel >= 2.19.1
 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: evolution-data-server-devel >= 1.12.0
+BuildRequires: gettext-devel
+BuildRequires: gnome-desktop-devel >= 2.20.0
+BuildRequires: gnome-doc-utils >= 0.12.0
+BuildRequires: gnome-menus-devel >= 2.20.0
+BuildRequires: gnome-vfs2-devel >= 2.20.0
+BuildRequires: gtk+2-devel >= 2:2.12.0
+BuildRequires: intltool >= 0.36.2
+BuildRequires: libglade2-devel >= 1:2.6.2
+BuildRequires: libgnomeui-devel >= 2.19.1
+BuildRequires: libgtop-devel >= 2.14.8
+BuildRequires: libxml2-devel >= 1:2.6.30
+BuildRequires: libxslt-progs >= 1.1.20
+BuildRequires: pkgconfig
+BuildRequires: rpmbuild(macros) >= 1.311
 BuildRequires: scrollkeeper >= 0.3.8
-Requires(post):        GConf2 >= 2.7.92
+Requires(post,postun): desktop-file-utils
+Requires(post,postun): gtk+2
+Requires(post,postun): hicolor-icon-theme
 Requires(post,postun): scrollkeeper
+Requires(post,preun):  GConf2
+Requires:      libgnomeui >= 2.19.1
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -31,27 +42,27 @@ submission process. It can automatically obtain stack traces from core
 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
-%patch1 -p1
 
 %build
-glib-gettextize --copy --force
-intltoolize --copy --force
+%{__glib_gettextize}
+%{__intltoolize}
+%{__gnome_doc_common}
 %{__aclocal}
 %{__autoconf}
 %{__automake}
 %configure \
-       --disable-schemas-install
-
+       --disable-schemas-install \
+       --disable-scrollkeeper
 %{__make}
 
 %install
@@ -61,7 +72,9 @@ rm -rf $RPM_BUILD_ROOT
        DESTDIR=$RPM_BUILD_ROOT \
        GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
 
-rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
+rm -rf $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/modules/libgnomebreakpad.{l,}a
+rm -rf $RPM_BUILD_ROOT%{_libdir}/bug-buddy/libbreakpad.{l,}a
+rm -rf $RPM_BUILD_ROOT%{_docdir}/breakpad-0.1
 
 %find_lang %{name} --with-gnome --all-name
 
@@ -69,25 +82,30 @@ rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
 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 ||:
+/sbin/ldconfig
+%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
-umask 022
-/usr/bin/scrollkeeper-update
-[ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1
+/sbin/ldconfig
+%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 TODO docs/multiple_bts.txt
+%doc AUTHORS ChangeLog NEWS README TODO
 %attr(755,root,root) %{_bindir}/*
-%{_mandir}/man1/*
-%{_datadir}/application-registry/*
+%dir %{_libdir}/bug-buddy
+%attr(755,root,root) %{_libdir}/bug-buddy/libbreakpad.so.*.*.*
+%attr(755,root,root) %{_libdir}/gtk-2.0/modules/libgnomebreakpad.so.*.*.*
+%attr(755,root,root) %{_libdir}/gtk-2.0/modules/libgnomebreakpad.so
 %{_datadir}/%{name}
-%{_datadir}/mime-info/*
-%{_desktopdir}/*
-%{_pixmapsdir}/*
-%{_omf_dest_dir}/*
-%{_sysconfdir}/gconf/schemas/*
+%{_desktopdir}/*.desktop
+%{_iconsdir}/hicolor/*/*/bug-buddy.png
+%{_sysconfdir}/gconf/schemas/bug-buddy.schemas
This page took 0.194064 seconds and 4 git commands to generate.