]> git.pld-linux.org Git - packages/bug-buddy.git/blob - bug-buddy.spec
- wrr, missing BR
[packages/bug-buddy.git] / bug-buddy.spec
1 Summary:        Utility to ease the reporting of bugs within the GNOME
2 Summary(pl):    Narzêdzie u³atwiaj±ce zg³aszanie b³êdów w ¶rodowisku GNOME
3 Name:           bug-buddy
4 Version:        2.10.0
5 Release:        2
6 License:        GPL v2
7 Group:          X11/Applications
8 Source0:        http://ftp.gnome.org/pub/gnome/sources/bug-buddy/2.10/%{name}-%{version}.tar.bz2
9 # Source0-md5:  c821a933f3d7be64071c7bfcb07ee1ac
10 Patch0:         %{name}-desktop.patch
11 URL:            http://www.gnome.org/
12 BuildRequires:  GConf2-devel >= 2.10.0
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  gnome-desktop-devel >= 2.10.0-2
16 BuildRequires:  gnome-menus-devel >= 2.10.1
17 BuildRequires:  gnome-vfs2-devel >= 2.10.0-2
18 BuildRequires:  gtk+2-devel >= 2:2.6.4
19 BuildRequires:  intltool >= 0.33
20 BuildRequires:  libglade2-devel >= 1:2.5.1
21 BuildRequires:  libgnomeui-devel >= 2.10.0-2
22 BuildRequires:  libxml2-devel >= 1:2.6.19
23 BuildRequires:  rpmbuild(macros) >= 1.196
24 BuildRequires:  scrollkeeper >= 0.3.8
25 Requires(post,preun):   GConf2 >= 2.10.0
26 Requires(post,postun):  desktop-file-utils
27 Requires(post,postun):  scrollkeeper
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30 %description
31 bug-buddy is a druid based tool which steps you through the GNOME bug
32 submission process. It can automatically obtain stack traces from core
33 files or crashed applications. Debian and KDE bug tracking systems are
34 also supported.
35
36 %description -l pl
37 bug-budy jest narzêdziem przeprowadzaj±cym Ciê przez proces sk³adania
38 raportu o b³êdzie w ¶rodowisku GNOME. Potrafi on automatycznie uzyskaæ
39 ¶lady ze stosu (backtrace) z plików core lub wywracaj±cych siê
40 aplikacji. Wspierane s± równie¿ systemy obs³ugi b³êdów Debiana oraz
41 KDE.
42
43 %prep
44 %setup -q
45 %patch0 -p1
46
47 %build
48 glib-gettextize --copy --force
49 intltoolize --copy --force
50 %{__aclocal}
51 %{__autoconf}
52 %{__automake}
53 %configure \
54         --disable-schemas-install
55 %{__make}
56
57 %install
58 rm -rf $RPM_BUILD_ROOT
59
60 %{__make} install \
61         DESTDIR=$RPM_BUILD_ROOT \
62         GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
63
64 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
65 rm -r $RPM_BUILD_ROOT%{_datadir}/{application-registry,mime-info}
66
67 %find_lang %{name} --with-gnome --all-name
68
69 %clean
70 rm -rf $RPM_BUILD_ROOT
71
72 %post
73 %gconf_schema_install /etc/gconf/schemas/bug-buddy.schemas
74 /usr/bin/scrollkeeper-update -q
75 /usr/bin/update-desktop-database
76
77 %preun
78 if [ $1 = 0 ]; then
79         %gconf_schema_uninstall /etc/gconf/schemas/bug-buddy.schemas
80 fi
81
82 %postun
83 if [ $1 = 0 ]; then
84         /usr/bin/scrollkeeper-update -q
85         /usr/bin/update-desktop-database
86 fi
87
88 %files -f %{name}.lang
89 %defattr(644,root,root,755)
90 %doc AUTHORS ChangeLog NEWS README TODO docs/multiple_bts.txt
91 %attr(755,root,root) %{_bindir}/*
92 %{_mandir}/man1/*
93 %{_datadir}/%{name}
94 %{_desktopdir}/*
95 %{_pixmapsdir}/*
96 %{_omf_dest_dir}/*
97 %{_sysconfdir}/gconf/schemas/*
This page took 0.032066 seconds and 3 git commands to generate.