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