]>
Commit | Line | Data |
---|---|---|
8462c6ba | 1 | Summary: Utility to ease the reporting of bugs within the GNOME |
10a614e6 | 2 | Summary(pl.UTF-8): Narzędzie ułatwiające zgłaszanie błędów w środowisku GNOME |
8462c6ba | 3 | Name: bug-buddy |
d76d13f6 | 4 | Version: 2.20.0 |
41275ef6 | 5 | Release: 1 |
21f2cb1a | 6 | License: GPL v2 |
8462c6ba | 7 | Group: X11/Applications |
d76d13f6 MB |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/bug-buddy/2.20/%{name}-%{version}.tar.bz2 |
9 | # Source0-md5: bce8b08a14d123ecfeefb3902031d773 | |
ef72334f | 10 | Patch0: %{name}-desktop.patch |
8462c6ba | 11 | URL: http://www.gnome.org/ |
d76d13f6 | 12 | BuildRequires: GConf2-devel >= 2.19.1 |
fa4aeb0c | 13 | BuildRequires: autoconf |
14 | BuildRequires: automake | |
d76d13f6 | 15 | BuildRequires: evolution-data-server-devel >= 1.12.0 |
36f8d7ed | 16 | BuildRequires: gettext-devel |
d76d13f6 MB |
17 | BuildRequires: gnome-desktop-devel >= 2.20.0 |
18 | BuildRequires: gnome-doc-utils >= 0.12.0 | |
19 | BuildRequires: gnome-menus-devel >= 2.20.0 | |
20 | BuildRequires: gnome-vfs2-devel >= 2.20.0 | |
21 | BuildRequires: gtk+2-devel >= 2:2.12.0 | |
22 | BuildRequires: intltool >= 0.36.2 | |
23 | BuildRequires: libglade2-devel >= 1:2.6.2 | |
24 | BuildRequires: libgnomeui-devel >= 2.19.1 | |
aa3969ff | 25 | BuildRequires: libgtop-devel >= 2.14.8 |
d76d13f6 | 26 | BuildRequires: libxml2-devel >= 1:2.6.30 |
aa3969ff | 27 | BuildRequires: libxslt-progs >= 1.1.20 |
36f8d7ed | 28 | BuildRequires: pkgconfig |
122527f4 | 29 | BuildRequires: rpmbuild(macros) >= 1.311 |
c1b98eb9 | 30 | BuildRequires: scrollkeeper >= 0.3.8 |
30a735a8 | 31 | Requires(post,postun): desktop-file-utils |
aa3969ff | 32 | Requires(post,postun): gtk+2 |
38378ba3 | 33 | Requires(post,postun): hicolor-icon-theme |
edf14079 | 34 | Requires(post,postun): scrollkeeper |
aa3969ff | 35 | Requires(post,preun): GConf2 |
d76d13f6 | 36 | Requires: libgnomeui >= 2.19.1 |
8462c6ba AM |
37 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
38 | ||
8462c6ba AM |
39 | %description |
40 | bug-buddy is a druid based tool which steps you through the GNOME bug | |
41 | submission process. It can automatically obtain stack traces from core | |
42 | files or crashed applications. Debian and KDE bug tracking systems are | |
43 | also supported. | |
44 | ||
4e32f670 JR |
45 | %description -l pl.UTF-8 |
46 | bug-budy jest narzędziem przeprowadzającym Cię przez proces składania | |
47 | raportu o błędzie w środowisku GNOME. Potrafi on automatycznie uzyskać | |
48 | ślady ze stosu (backtrace) z plików core lub wywracających się | |
49 | aplikacji. Wspierane są również systemy obsługi błędów Debiana oraz | |
8462c6ba AM |
50 | KDE. |
51 | ||
52 | %prep | |
53 | %setup -q | |
ef72334f | 54 | %patch0 -p1 |
8462c6ba AM |
55 | |
56 | %build | |
b053e18c | 57 | %{__glib_gettextize} |
58 | %{__intltoolize} | |
62123a9c | 59 | %{__gnome_doc_common} |
fa4aeb0c | 60 | %{__aclocal} |
61 | %{__autoconf} | |
62 | %{__automake} | |
63 | %configure \ | |
62123a9c | 64 | --disable-schemas-install \ |
65 | --disable-scrollkeeper | |
8462c6ba AM |
66 | %{__make} |
67 | ||
68 | %install | |
69 | rm -rf $RPM_BUILD_ROOT | |
70 | ||
7809f3e8 | 71 | %{__make} install \ |
fa4aeb0c | 72 | DESTDIR=$RPM_BUILD_ROOT \ |
73 | GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 | |
8462c6ba | 74 | |
d76d13f6 MB |
75 | rm -rf $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/modules/libgnomebreakpad.{l,}a |
76 | rm -rf $RPM_BUILD_ROOT%{_libdir}/bug-buddy/libbreakpad.{l,}a | |
77 | rm -rf $RPM_BUILD_ROOT%{_docdir}/breakpad-0.1 | |
78 | ||
8462c6ba AM |
79 | %find_lang %{name} --with-gnome --all-name |
80 | ||
8462c6ba AM |
81 | %clean |
82 | rm -rf $RPM_BUILD_ROOT | |
83 | ||
fa4aeb0c | 84 | %post |
d76d13f6 | 85 | /sbin/ldconfig |
b053e18c | 86 | %gconf_schema_install bug-buddy.schemas |
87 | %scrollkeeper_update_post | |
88 | %update_desktop_database_post | |
122527f4 | 89 | %update_icon_cache hicolor |
30a735a8 | 90 | |
91 | %preun | |
b053e18c | 92 | %gconf_schema_uninstall bug-buddy.schemas |
fa4aeb0c | 93 | |
edf14079 | 94 | %postun |
d76d13f6 | 95 | /sbin/ldconfig |
b053e18c | 96 | %scrollkeeper_update_postun |
97 | %update_desktop_database_postun | |
122527f4 | 98 | %update_icon_cache hicolor |
4de2159a | 99 | |
8462c6ba AM |
100 | %files -f %{name}.lang |
101 | %defattr(644,root,root,755) | |
4c97124f | 102 | %doc AUTHORS ChangeLog NEWS README TODO |
8462c6ba | 103 | %attr(755,root,root) %{_bindir}/* |
d76d13f6 MB |
104 | %dir %{_libdir}/bug-buddy |
105 | %attr(755,root,root) %{_libdir}/bug-buddy/libbreakpad.so.*.*.* | |
106 | %attr(755,root,root) %{_libdir}/gtk-2.0/modules/libgnomebreakpad.so.*.*.* | |
107 | %attr(755,root,root) %{_libdir}/gtk-2.0/modules/libgnomebreakpad.so | |
fa4aeb0c | 108 | %{_datadir}/%{name} |
3f4b82e6 | 109 | %{_desktopdir}/*.desktop |
122527f4 | 110 | %{_iconsdir}/hicolor/*/*/bug-buddy.png |
62123a9c | 111 | %{_sysconfdir}/gconf/schemas/bug-buddy.schemas |