]> git.pld-linux.org Git - packages/bug-buddy.git/blob - bug-buddy.spec
e73489707d03451668edd890ba8ba76d2e243e64
[packages/bug-buddy.git] / bug-buddy.spec
1 Summary:        Utility to ease the reporting of bugs within the GNOME
2 Summary(pl.UTF-8):      Narzędzie ułatwiające zgłaszanie błędów w środowisku GNOME
3 Name:           bug-buddy
4 Version:        2.22.0
5 Release:        2
6 License:        GPL v2
7 Group:          X11/Applications
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/bug-buddy/2.22/%{name}-%{version}.tar.bz2
9 # Source0-md5:  092e1f91d0be4ca133cd0650622a6b06
10 Patch0:         %{name}-pld.patch
11 URL:            http://www.gnome.org/
12 BuildRequires:  GConf2-devel >= 2.22.0
13 BuildRequires:  autoconf
14 BuildRequires:  automake >= 1:1.9
15 BuildRequires:  elfutils-devel
16 BuildRequires:  evolution-data-server-devel >= 2.22.0
17 BuildRequires:  gettext-devel
18 BuildRequires:  gnome-common
19 BuildRequires:  gnome-desktop-devel >= 2.22.0
20 BuildRequires:  gnome-doc-utils >= 0.12.0
21 BuildRequires:  gnome-menus-devel >= 2.22.0
22 BuildRequires:  gnome-vfs2-devel >= 2.22.0
23 BuildRequires:  gtk+2-devel >= 2:2.12.5
24 BuildRequires:  intltool >= 0.37.0
25 BuildRequires:  libgnomeui-devel >= 2.22.0
26 BuildRequires:  libgtop-devel >= 2.14.8
27 BuildRequires:  libsoup-devel >= 2.4.0
28 BuildRequires:  libtool
29 BuildRequires:  libxml2-devel >= 1:2.6.31
30 BuildRequires:  pkgconfig
31 BuildRequires:  rpmbuild(macros) >= 1.311
32 BuildRequires:  scrollkeeper >= 0.3.8
33 BuildRequires:  sed >= 4.0
34 Requires(post,postun):  gtk+2
35 Requires(post,postun):  hicolor-icon-theme
36 Requires(post,preun):   GConf2
37 Requires:       gtk+2 >= 2:2.12.5
38 Requires:       libgnomeui >= 2.22.0
39 # sr@Latn vs. sr@latin
40 Conflicts:      glibc-misc < 6:2.7
41 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
42
43 %description
44 bug-buddy is a druid based tool which steps you through the GNOME bug
45 submission process. It can automatically obtain stack traces from core
46 files or crashed applications. Debian and KDE bug tracking systems are
47 also supported.
48
49 %description -l pl.UTF-8
50 bug-budy jest narzędziem przeprowadzającym Cię przez proces składania
51 raportu o błędzie w środowisku GNOME. Potrafi on automatycznie uzyskać
52 ślady ze stosu (backtrace) z plików core lub wywracających się
53 aplikacji. Wspierane są również systemy obsługi błędów Debiana oraz
54 KDE.
55
56 %prep
57 %setup -q
58 %patch0 -p1
59
60 sed -i -e 's#sr@Latn#sr@latin#' po/LINGUAS
61 mv po/sr@{Latn,latin}.po
62
63 %build
64 %{__glib_gettextize}
65 %{__intltoolize}
66 %{__libtoolize}
67 %{__gnome_doc_common}
68 %{__aclocal}
69 %{__autoconf}
70 %{__autoheader}
71 %{__automake}
72 %configure \
73         --disable-schemas-install \
74         --disable-scrollkeeper
75 %{__make}
76
77 %install
78 rm -rf $RPM_BUILD_ROOT
79
80 %{__make} install \
81         DESTDIR=$RPM_BUILD_ROOT \
82         GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
83
84 rm -f $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/modules/libgnomebreakpad.la
85 rm -f $RPM_BUILD_ROOT%{_libdir}/bug-buddy/libbreakpad.{l,}a
86
87 %find_lang %{name} --all-name
88
89 %clean
90 rm -rf $RPM_BUILD_ROOT
91
92 %post
93 /sbin/ldconfig
94 %gconf_schema_install bug-buddy.schemas
95 %update_icon_cache hicolor
96
97 %preun
98 %gconf_schema_uninstall bug-buddy.schemas
99
100 %postun
101 /sbin/ldconfig
102 %update_icon_cache hicolor
103
104 %files -f %{name}.lang
105 %defattr(644,root,root,755)
106 %doc AUTHORS ChangeLog NEWS README TODO
107 %attr(755,root,root) %{_bindir}/bug-buddy
108 %ifarch %{ix86}
109 %attr(755,root,root) %{_bindir}/minidump_dump
110 %attr(755,root,root) %{_bindir}/minidump_stackwalk
111 %dir %{_libdir}/bug-buddy
112 %attr(755,root,root) %{_libdir}/bug-buddy/libbreakpad.so*
113 %endif
114 %attr(755,root,root) %{_libdir}/gtk-2.0/modules/libgnomebreakpad.so
115 %{_datadir}/%{name}
116 %{_desktopdir}/bug-buddy.desktop
117 %{_iconsdir}/hicolor/*/*/bug-buddy.png
118 %{_sysconfdir}/gconf/schemas/bug-buddy.schemas
This page took 0.076892 seconds and 2 git commands to generate.