]> git.pld-linux.org Git - packages/bug-buddy.git/blob - bug-buddy.spec
- libbreakpad.so.*.*.* exists only on %{ix86}
[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.20.0
5 Release:        2
6 License:        GPL v2
7 Group:          X11/Applications
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/bug-buddy/2.20/%{name}-%{version}.tar.bz2
9 # Source0-md5:  bce8b08a14d123ecfeefb3902031d773
10 Patch0:         %{name}-desktop.patch
11 URL:            http://www.gnome.org/
12 BuildRequires:  GConf2-devel >= 2.19.1
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  evolution-data-server-devel >= 1.12.0
16 BuildRequires:  gettext-devel
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
25 BuildRequires:  libgtop-devel >= 2.14.8
26 BuildRequires:  libxml2-devel >= 1:2.6.30
27 BuildRequires:  libxslt-progs >= 1.1.20
28 BuildRequires:  pkgconfig
29 BuildRequires:  rpmbuild(macros) >= 1.311
30 BuildRequires:  scrollkeeper >= 0.3.8
31 Requires(post,postun):  desktop-file-utils
32 Requires(post,postun):  gtk+2
33 Requires(post,postun):  hicolor-icon-theme
34 Requires(post,postun):  scrollkeeper
35 Requires(post,preun):   GConf2
36 Requires:       libgnomeui >= 2.19.1
37 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
38
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
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
50 KDE.
51
52 %prep
53 %setup -q
54 %patch0 -p1
55
56 %build
57 %{__glib_gettextize}
58 %{__intltoolize}
59 %{__gnome_doc_common}
60 %{__aclocal}
61 %{__autoconf}
62 %{__automake}
63 %configure \
64         --disable-schemas-install \
65         --disable-scrollkeeper
66 %{__make}
67
68 %install
69 rm -rf $RPM_BUILD_ROOT
70
71 %{__make} install \
72         DESTDIR=$RPM_BUILD_ROOT \
73         GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
74
75 mv $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/modules/libgnomebreakpad.so{.*.*.*,}
76 rm -rf $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/modules/libgnomebreakpad.{l,}a
77 rm -rf $RPM_BUILD_ROOT%{_libdir}/bug-buddy/libbreakpad.{l,}a
78 rm -rf $RPM_BUILD_ROOT%{_docdir}/breakpad-0.1
79
80 %find_lang %{name} --with-gnome --all-name
81
82 %clean
83 rm -rf $RPM_BUILD_ROOT
84
85 %post
86 /sbin/ldconfig
87 %gconf_schema_install bug-buddy.schemas
88 %scrollkeeper_update_post
89 %update_desktop_database_post
90 %update_icon_cache hicolor
91
92 %preun
93 %gconf_schema_uninstall bug-buddy.schemas
94
95 %postun
96 /sbin/ldconfig
97 %scrollkeeper_update_postun
98 %update_desktop_database_postun
99 %update_icon_cache hicolor
100
101 %files -f %{name}.lang
102 %defattr(644,root,root,755)
103 %doc AUTHORS ChangeLog NEWS README TODO
104 %attr(755,root,root) %{_bindir}/*
105 %ifarch %{ix86}
106 %dir %{_libdir}/bug-buddy
107 %attr(755,root,root) %{_libdir}/bug-buddy/libbreakpad.so.*.*.*
108 %endif
109 %attr(755,root,root) %{_libdir}/gtk-2.0/modules/libgnomebreakpad.so
110 %{_datadir}/%{name}
111 %{_desktopdir}/*.desktop
112 %{_iconsdir}/hicolor/*/*/bug-buddy.png
113 %{_sysconfdir}/gconf/schemas/bug-buddy.schemas
This page took 0.080847 seconds and 3 git commands to generate.