]> git.pld-linux.org Git - packages/bug-buddy.git/blob - bug-buddy.spec
efcfd7c7558f305667f947a944b05ce8adf2e60f
[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-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.20.0
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.20.0
37 # sr@Latn vs. sr@latin
38 Conflicts:      glibc-misc < 6:2.7
39 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
40
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
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
52 KDE.
53
54 %prep
55 %setup -q
56 %patch0 -p1
57
58 %build
59 %{__glib_gettextize}
60 %{__intltoolize}
61 %{__gnome_doc_common}
62 %{__aclocal}
63 %{__autoconf}
64 %{__automake}
65 %configure \
66         --disable-schemas-install \
67         --disable-scrollkeeper
68 %{__make}
69
70 %install
71 rm -rf $RPM_BUILD_ROOT
72
73 %{__make} install \
74         DESTDIR=$RPM_BUILD_ROOT \
75         GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
76
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
81 [ -d $RPM_BUILD_ROOT%{_datadir}/locale/sr@latin ] || \
82         mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin}
83 %find_lang %{name} --with-gnome --all-name
84
85 %clean
86 rm -rf $RPM_BUILD_ROOT
87
88 %post
89 /sbin/ldconfig
90 %gconf_schema_install bug-buddy.schemas
91 %scrollkeeper_update_post
92 %update_desktop_database_post
93 %update_icon_cache hicolor
94
95 %preun
96 %gconf_schema_uninstall bug-buddy.schemas
97
98 %postun
99 /sbin/ldconfig
100 %scrollkeeper_update_postun
101 %update_desktop_database_postun
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}/*
108 %ifarch %{ix86}
109 %dir %{_libdir}/bug-buddy
110 %attr(755,root,root) %{_libdir}/bug-buddy/libbreakpad.so.*.*.*
111 %endif
112 %attr(755,root,root) %{_libdir}/gtk-2.0/modules/libgnomebreakpad.so
113 %{_datadir}/%{name}
114 %{_desktopdir}/*.desktop
115 %{_iconsdir}/hicolor/*/*/bug-buddy.png
116 %{_sysconfdir}/gconf/schemas/bug-buddy.schemas
This page took 0.122872 seconds and 3 git commands to generate.