]>
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 |
f133ef37 | 4 | Version: 2.20.1 |
c5527f7a | 5 | Release: 2 |
21f2cb1a | 6 | License: GPL v2 |
8462c6ba | 7 | Group: X11/Applications |
d76d13f6 | 8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/bug-buddy/2.20/%{name}-%{version}.tar.bz2 |
f133ef37 | 9 | # Source0-md5: 6b9ea4c067674120bd93711b3b9a9e63 |
ef72334f | 10 | Patch0: %{name}-desktop.patch |
8462c6ba | 11 | URL: http://www.gnome.org/ |
f133ef37 | 12 | BuildRequires: GConf2-devel >= 2.20.0 |
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 | |
f133ef37 | 24 | BuildRequires: libgnomeui-devel >= 2.20.0 |
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 |
f133ef37 | 36 | Requires: libgnomeui >= 2.20.0 |
c5527f7a | 37 | # sr@Latn vs. sr@latin |
38 | Conflicts: glibc-misc < 6:2.7 | |
8462c6ba AM |
39 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
40 | ||
8462c6ba AM |
41 | %description |
42 | bug-buddy is a druid based tool which steps you through the GNOME bug | |
43 | submission process. It can automatically obtain stack traces from core | |
44 | files or crashed applications. Debian and KDE bug tracking systems are | |
45 | also supported. | |
46 | ||
4e32f670 JR |
47 | %description -l pl.UTF-8 |
48 | bug-budy jest narzędziem przeprowadzającym Cię przez proces składania | |
49 | raportu o błędzie w środowisku GNOME. Potrafi on automatycznie uzyskać | |
50 | ślady ze stosu (backtrace) z plików core lub wywracających się | |
51 | aplikacji. Wspierane są również systemy obsługi błędów Debiana oraz | |
8462c6ba AM |
52 | KDE. |
53 | ||
54 | %prep | |
55 | %setup -q | |
ef72334f | 56 | %patch0 -p1 |
8462c6ba AM |
57 | |
58 | %build | |
b053e18c | 59 | %{__glib_gettextize} |
60 | %{__intltoolize} | |
62123a9c | 61 | %{__gnome_doc_common} |
fa4aeb0c | 62 | %{__aclocal} |
63 | %{__autoconf} | |
64 | %{__automake} | |
65 | %configure \ | |
62123a9c | 66 | --disable-schemas-install \ |
67 | --disable-scrollkeeper | |
8462c6ba AM |
68 | %{__make} |
69 | ||
70 | %install | |
71 | rm -rf $RPM_BUILD_ROOT | |
72 | ||
7809f3e8 | 73 | %{__make} install \ |
fa4aeb0c | 74 | DESTDIR=$RPM_BUILD_ROOT \ |
75 | GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 | |
8462c6ba | 76 | |
d76d13f6 MB |
77 | rm -rf $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/modules/libgnomebreakpad.{l,}a |
78 | rm -rf $RPM_BUILD_ROOT%{_libdir}/bug-buddy/libbreakpad.{l,}a | |
79 | rm -rf $RPM_BUILD_ROOT%{_docdir}/breakpad-0.1 | |
80 | ||
c5527f7a | 81 | [ -d $RPM_BUILD_ROOT%{_datadir}/locale/sr@latin ] || \ |
82 | mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin} | |
8462c6ba AM |
83 | %find_lang %{name} --with-gnome --all-name |
84 | ||
8462c6ba AM |
85 | %clean |
86 | rm -rf $RPM_BUILD_ROOT | |
87 | ||
fa4aeb0c | 88 | %post |
d76d13f6 | 89 | /sbin/ldconfig |
b053e18c | 90 | %gconf_schema_install bug-buddy.schemas |
91 | %scrollkeeper_update_post | |
92 | %update_desktop_database_post | |
122527f4 | 93 | %update_icon_cache hicolor |
30a735a8 | 94 | |
95 | %preun | |
b053e18c | 96 | %gconf_schema_uninstall bug-buddy.schemas |
fa4aeb0c | 97 | |
edf14079 | 98 | %postun |
d76d13f6 | 99 | /sbin/ldconfig |
b053e18c | 100 | %scrollkeeper_update_postun |
101 | %update_desktop_database_postun | |
122527f4 | 102 | %update_icon_cache hicolor |
4de2159a | 103 | |
8462c6ba AM |
104 | %files -f %{name}.lang |
105 | %defattr(644,root,root,755) | |
4c97124f | 106 | %doc AUTHORS ChangeLog NEWS README TODO |
8462c6ba | 107 | %attr(755,root,root) %{_bindir}/* |
d5d26f87 | 108 | %ifarch %{ix86} |
d76d13f6 MB |
109 | %dir %{_libdir}/bug-buddy |
110 | %attr(755,root,root) %{_libdir}/bug-buddy/libbreakpad.so.*.*.* | |
d5d26f87 | 111 | %endif |
d76d13f6 | 112 | %attr(755,root,root) %{_libdir}/gtk-2.0/modules/libgnomebreakpad.so |
fa4aeb0c | 113 | %{_datadir}/%{name} |
3f4b82e6 | 114 | %{_desktopdir}/*.desktop |
122527f4 | 115 | %{_iconsdir}/hicolor/*/*/bug-buddy.png |
62123a9c | 116 | %{_sysconfdir}/gconf/schemas/bug-buddy.schemas |