]> git.pld-linux.org Git - packages/bug-buddy.git/blob - bug-buddy.spec
- BR: gnome-common (for __gnome_doc_common)
[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.1
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:  6b9ea4c067674120bd93711b3b9a9e63
10 Patch0:         %{name}-desktop.patch
11 URL:            http://www.gnome.org/
12 BuildRequires:  GConf2-devel >= 2.20.0
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  evolution-data-server-devel >= 1.12.0
16 BuildRequires:  gettext-devel
17 BuildRequires:  gnome-common
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
25 BuildRequires:  libgnomeui-devel >= 2.20.0
26 BuildRequires:  libgtop-devel >= 2.14.8
27 BuildRequires:  libxml2-devel >= 1:2.6.30
28 BuildRequires:  libxslt-progs >= 1.1.20
29 BuildRequires:  pkgconfig
30 BuildRequires:  rpmbuild(macros) >= 1.311
31 BuildRequires:  scrollkeeper >= 0.3.8
32 Requires(post,postun):  desktop-file-utils
33 Requires(post,postun):  gtk+2
34 Requires(post,postun):  hicolor-icon-theme
35 Requires(post,postun):  scrollkeeper
36 Requires(post,preun):   GConf2
37 Requires:       libgnomeui >= 2.20.0
38 # sr@Latn vs. sr@latin
39 Conflicts:      glibc-misc < 6:2.7
40 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
41
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
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
53 KDE.
54
55 %prep
56 %setup -q
57 %patch0 -p1
58
59 %build
60 %{__glib_gettextize}
61 %{__intltoolize}
62 %{__gnome_doc_common}
63 %{__aclocal}
64 %{__autoconf}
65 %{__automake}
66 %configure \
67         --disable-schemas-install \
68         --disable-scrollkeeper
69 %{__make}
70
71 %install
72 rm -rf $RPM_BUILD_ROOT
73
74 %{__make} install \
75         DESTDIR=$RPM_BUILD_ROOT \
76         GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
77
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
82 [ -d $RPM_BUILD_ROOT%{_datadir}/locale/sr@latin ] || \
83         mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin}
84 %find_lang %{name} --with-gnome --all-name
85
86 %clean
87 rm -rf $RPM_BUILD_ROOT
88
89 %post
90 /sbin/ldconfig
91 %gconf_schema_install bug-buddy.schemas
92 %scrollkeeper_update_post
93 %update_desktop_database_post
94 %update_icon_cache hicolor
95
96 %preun
97 %gconf_schema_uninstall bug-buddy.schemas
98
99 %postun
100 /sbin/ldconfig
101 %scrollkeeper_update_postun
102 %update_desktop_database_postun
103 %update_icon_cache hicolor
104
105 %files -f %{name}.lang
106 %defattr(644,root,root,755)
107 %doc AUTHORS ChangeLog NEWS README TODO
108 %attr(755,root,root) %{_bindir}/*
109 %ifarch %{ix86}
110 %dir %{_libdir}/bug-buddy
111 %attr(755,root,root) %{_libdir}/bug-buddy/libbreakpad.so.*.*.*
112 %endif
113 %attr(755,root,root) %{_libdir}/gtk-2.0/modules/libgnomebreakpad.so
114 %{_datadir}/%{name}
115 %{_desktopdir}/*.desktop
116 %{_iconsdir}/hicolor/*/*/bug-buddy.png
117 %{_sysconfdir}/gconf/schemas/bug-buddy.schemas
This page took 0.068525 seconds and 3 git commands to generate.