author | laca |
Thu, 09 Nov 2006 03:55:00 +0000 | |
changeset 8529 | ace8e9b8a2b7 |
parent 8065 | ee7f9ab71fae |
child 8684 | 543ae37da19d |
permissions | -rw-r--r-- |
5518 | 1 |
# |
2 |
# spec file for package bug-buddy |
|
3 |
# |
|
4 |
# Copyright (c) 2005 Sun Microsystems, Inc. |
|
5 |
# This file and all modifications and additions to the pristine |
|
6 |
# package are under the same license as the package itself. |
|
7 |
# |
|
8529 | 8 |
# Owner: mattman |
9 |
# |
|
4921 | 10 |
Name: bug-buddy |
11 |
License: GPL |
|
12 |
Group: System/GUI/GNOME |
|
8065 | 13 |
Version: 2.16.0 |
5518 | 14 |
Release: 1 |
15 |
Distribution: Java Desktop System |
|
4921 | 16 |
Vendor: Sun Microsystems, Inc. |
5518 | 17 |
Summary: GNOME Bug Reporting Tool |
8065 | 18 |
Source: http://ftp.gnome.org/pub/GNOME/sources/bug-buddy/2.16/bug-buddy-%{version}.tar.bz2 |
5518 | 19 |
Source1: bug-buddy.1.gz |
6182 | 20 |
Patch1: bug-buddy-01-use-pstack.diff |
5518 | 21 |
URL: http://www.gnome.org/ |
4921 | 22 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
23 |
Docdir: %{_docdir}/bug-buddy |
|
24 |
Autoreqprov: on |
|
25 |
||
26 |
%define libgnomeui_version 2.6.0 |
|
27 |
%define scrollkeeper_version 0.3.14 |
|
28 |
%define gnome_desktop_version 2.6.1 |
|
5518 | 29 |
%define gnome_doc_utils_version 0.2.0 |
4921 | 30 |
|
31 |
BuildRequires: libgnomeui-devel >= %{libgnomeui_version} |
|
5643 | 32 |
BuildRequires: gnome-desktop >= %{gnome_desktop_version} |
4921 | 33 |
BuildRequires: scrollkeeper >= %{scrollkeeper_version} |
5642 | 34 |
BuildRequires: gnome-doc-utils >= %{gnome_doc_utils_version} |
5643 | 35 |
Requires: libgnomeui >= %{libgnomeui_version} |
36 |
Prereq: GConf |
|
4921 | 37 |
|
38 |
%description |
|
5643 | 39 |
Bug Buddy for the GNOME 2.6 Desktop has been ported from the GNOME 1.x releases. Its purpose is to make bug-reporting for end-users as easy as possible. It can generate backtraces of crashes and include the information with the bugreport. |
4921 | 40 |
|
41 |
%prep |
|
42 |
%setup -q |
|
7706 | 43 |
## FIXME: needs engineer rework: %patch1 -p1 |
4921 | 44 |
|
45 |
%build |
|
46 |
%ifos linux |
|
47 |
if [ -x /usr/bin/getconf ]; then |
|
48 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
49 |
fi |
|
50 |
%else |
|
51 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
|
52 |
%endif |
|
53 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
54 |
CPUS=1 |
|
55 |
fi |
|
56 |
||
6180 | 57 |
libtoolize --force |
6181 | 58 |
glib-gettextize --copy --force |
6180 | 59 |
intltoolize --force --copy |
6181 | 60 |
aclocal $ACLOCAL_FLAGS -I . |
61 |
autoconf |
|
6180 | 62 |
autoheader |
63 |
automake -a -c -f |
|
64 |
||
5643 | 65 |
# FIXME: Disable scrollkeeper for now |
4921 | 66 |
CFLAGS="$RPM_OPT_FLAGS" \ |
67 |
./configure --prefix=%{_prefix} \ |
|
68 |
--sysconfdir=%{_sysconfdir} \ |
|
5643 | 69 |
--mandir=%{_mandir} \ |
70 |
--disable-scrollkeeper |
|
4921 | 71 |
make -j $CPUS |
72 |
||
73 |
%install |
|
74 |
make DESTDIR=$RPM_BUILD_ROOT install |
|
75 |
install -d $RPM_BUILD_ROOT%{_mandir}/man1 |
|
5518 | 76 |
install --mode=0644 %SOURCE1 $RPM_BUILD_ROOT%{_mandir}/man1 |
4921 | 77 |
#Copy zh_HK from zh_TW |
78 |
#Fixes bug 4930405 |
|
79 |
install -d $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES |
|
80 |
install --mode=0644 $RPM_BUILD_ROOT%{_datadir}/locale/zh_TW/LC_MESSAGES/*.mo $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES/ |
|
81 |
||
5518 | 82 |
rm $RPM_BUILD_ROOT%{_datadir}/applications/bug-buddy*.desktop |
4921 | 83 |
rm $RPM_BUILD_ROOT%{_datadir}/bug-buddy/ximian.png |
84 |
||
85 |
%clean |
|
86 |
rm -rf $RPM_BUILD_ROOT |
|
87 |
||
88 |
%post |
|
89 |
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
|
90 |
SCHEMAS="bug-buddy.schemas" |
|
91 |
for S in $SCHEMAS; do |
|
92 |
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null |
|
93 |
done |
|
94 |
||
95 |
%files |
|
96 |
%doc AUTHORS COPYING ChangeLog NEWS README |
|
97 |
%defattr (-, root, root) |
|
98 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo |
|
99 |
%{_datadir}/bug-buddy/bug-buddy.* |
|
100 |
%{_datadir}/bug-buddy/gdb-cmd |
|
101 |
%{_datadir}/bug-buddy/gnome.png |
|
102 |
%{_datadir}/bug-buddy/bugzilla/* |
|
103 |
%{_datadir}/gnome/help/bug-buddy/* |
|
104 |
%{_datadir}/mime-info/* |
|
105 |
%{_bindir}/bug-buddy |
|
106 |
%{_datadir}/omf/bug-buddy/*.omf |
|
107 |
%{_datadir}/pixmaps/*.png |
|
108 |
%{_datadir}/man/man1/bug-buddy.1.gz |
|
109 |
%{_sysconfdir}/gconf/schemas/bug-buddy.schemas |
|
110 |
%{_datadir}/application-registry/*.applications |
|
111 |
||
112 |
||
113 |
%changelog |
|
8065 | 114 |
* Tue Sep 05 2006 - [email protected] |
115 |
- Bump to 2.16.0. |
|
7743 | 116 |
* Mon Jul 24 2006 - [email protected] |
117 |
- Bump to 2.15.90. |
|
7706 | 118 |
* Fri Jul 21 2006 - [email protected] |
119 |
- Bump to 2.15.0. |
|
6910 | 120 |
* Mon Mar 13 2006 - [email protected] |
121 |
- Bump to 2.14.0. |
|
6865 | 122 |
* Tue Feb 28 2006 - [email protected] |
123 |
- Bump to 2.13.90. |
|
6580 | 124 |
* Tue Jan 17 2006 - [email protected] |
125 |
- Bump 2.13.0 |
|
126 |
* Tue Nov 29 2005 - [email protected] |
|
6299 | 127 |
- remove javahelp stuff |
6080
4b30e2aa0fc7
* bug-buddy.spec control-center.spec eel.spec eog.spec
dc144907
parents:
5895
diff
changeset
|
128 |
* Tue Oct 11 2005 - [email protected] |
4b30e2aa0fc7
* bug-buddy.spec control-center.spec eel.spec eog.spec
dc144907
parents:
5895
diff
changeset
|
129 |
- Bump to 2.12.1 |
5895 | 130 |
* Sat Sep 17 2005 - [email protected] |
131 |
- Bump to 2.12.0 |
|
5719
2e95a68e5ca1
* GConf.spec at-spi.spec atk.spec bug-buddy.spec eel.spec eog.spec
dc144907
parents:
5643
diff
changeset
|
132 |
* Mon Sep 05 2005 - [email protected] |
2e95a68e5ca1
* GConf.spec at-spi.spec atk.spec bug-buddy.spec eel.spec eog.spec
dc144907
parents:
5643
diff
changeset
|
133 |
- Bump to 2.11.92. |
5528
8eaf8a1cb170
* *.spec: Bump to latest available versions for 2.11 work.
dc144907
parents:
5518
diff
changeset
|
134 |
* Mon Aug 15 2005 - [email protected] |
8eaf8a1cb170
* *.spec: Bump to latest available versions for 2.11 work.
dc144907
parents:
5518
diff
changeset
|
135 |
- Bump to 2.11.01. |
5518 | 136 |
* Fri Aug 05 2005 - [email protected] |
137 |
- Remove the bug reporting branding patch for the moment - we don't even |
|
138 |
ship bug buddy with Solaris, but now with opensolaris.org we should point |
|
139 |
to upstream. |
|
140 |
* Fri May 20 2005 - [email protected] |
|
141 |
- Update to 2.10.0 |
|
5295
0285b58535ed
* bug-buddy.spec, gnome-utils.spec, zenity.spec: Updated docs tarballs
dc144907
parents:
5285
diff
changeset
|
142 |
* Thu Mar 31 2005 - [email protected] |
0285b58535ed
* bug-buddy.spec, gnome-utils.spec, zenity.spec: Updated docs tarballs
dc144907
parents:
5285
diff
changeset
|
143 |
- Updated docs tarball (bug-buddy-docs-0.6linux) from [email protected]. |
5038
fa1cd3498a24
* gnome-user-docs.spec: Updated docs tarball (gnome-user-docs-AG-0.7linux)
dc144907
parents:
5023
diff
changeset
|
144 |
* Wed Feb 09 2005 - [email protected] |
fa1cd3498a24
* gnome-user-docs.spec: Updated docs tarball (gnome-user-docs-AG-0.7linux)
dc144907
parents:
5023
diff
changeset
|
145 |
- Integrated updated Linux specific docs tarball from [email protected]. |
fa1cd3498a24
* gnome-user-docs.spec: Updated docs tarball (gnome-user-docs-AG-0.7linux)
dc144907
parents:
5023
diff
changeset
|
146 |
Added %ifos to accomodate this. |
4945 | 147 |
* Thu Jan 27 2005 - [email protected] |
148 |
- Put l10n help tarball for Cinnabar-linux |
|
4921 | 149 |
* Tue Jan 25 2005 - [email protected] |
150 |
- Bring back bug-buddy into the Linux build, removing and merging |
|
151 |
some patches. |
|
152 |
* Mon Nov 08 2004 - [email protected] |
|
153 |
- Added bug-buddy-05-use-pstack.diff to use pstack to get the stack |
|
154 |
trace on Solaris as gdb is not available. Fixes bug #5102045. |
|
155 |
* Wed Aug 25 2004 - [email protected] |
|
156 |
- Added l10n help contents with patch |
|
157 |
* Fri Aug 20 2004 - [email protected] |
|
5038
fa1cd3498a24
* gnome-user-docs.spec: Updated docs tarball (gnome-user-docs-AG-0.7linux)
dc144907
parents:
5023
diff
changeset
|
158 |
- Integrated updated docs tarball from [email protected]. |
4921 | 159 |
* Thu Aug 05 2004 - [email protected] |
160 |
- Integrated docs tarball from [email protected] |
|
161 |
- Added patch to compensate for Makefiles removed from new tarball. |
|
162 |
* Wed Jul 21 2004 - [email protected] |
|
163 |
- Add patch to remove --export-dynamic which breaks Solaris build. |
|
164 |
- Add $ACLOCAL_FLAGS to build on Solaris. |
|
165 |
* Thu Jul 08 2004 - [email protected] |
|
166 |
- Updated l10n content to bug-buddy-l10n-po-1.2.tar.bz2 |
|
167 |
* Wed Jul 07 2004 - [email protected] |
|
168 |
- ported to rpm4 |
|
169 |
* Wed Jul 07 2004 - [email protected] |
|
170 |
- added "-j $CPUS" to make to speed up builds |
|
171 |
* Wed May 12 2004 - [email protected] |
|
172 |
- Updated l10n content to bug-buddy-l10n-po-1.1.tar.bz2 |
|
173 |
* Fri May 07 2004 - [email protected] |
|
174 |
- Bump to 2.6.1 |
|
175 |
* Sun Apr 18 2004 - [email protected] |
|
176 |
- enable javahelp conversion on Solaris |
|
177 |
* Thu Apr 01 2004 - [email protected] |
|
178 |
- javahelp conversion |
|
179 |
* Mon Mar 29 2004 - [email protected] |
|
180 |
- Updated l10n content to bug-buddy-l10n-po-1.0.tar.bz2 |
|
181 |
* Wed Mar 24 2004 - [email protected] |
|
182 |
- Bump to 2.6.0 |
|
183 |
* Tue Mar 16 2004 - [email protected] |
|
184 |
- Bump to 2.5.92. Remove localized online help since it's upstream |
|
185 |
in the tarball. Remove help button since we're working from head |
|
186 |
and we'll get it with the next iteration. Remove random branding |
|
187 |
in the user interface, just increases more time spent doing pointless |
|
188 |
localizations. Remove the ximian branding patch, since it needs to be |
|
189 |
redone, and we shouldn't do the sendmail edits in that patch. |
|
190 |
* Tue Mar 16 2004 - [email protected] |
|
191 |
- Removed man, menu patches since we're doing this in spec file now. |
|
192 |
Merged potfile patches and reorder the rest. |
|
193 |
* Thu Mar 11 2004 - [email protected] |
|
194 |
- added bug-buddy-09-g11n-potfiles.diff |
|
195 |
* Wed Mar 03 2004 - [email protected] |
|
196 |
- Added patch bug-buddy-08-enable-help.diff to provide help. |
|
197 |
* Mon Feb 23 2004 - [email protected] |
|
198 |
- Bump to 2.5.3, update l10n |
|
199 |
- Re-merge all patches |
|
200 |
* Wed Dec 17 2003 - [email protected] |
|
201 |
- Bump to 2.5.1 |
|
202 |
* Thu Nov 13 2003 - [email protected] |
|
203 |
- Remove menu entry |
|
204 |
* Fri Oct 10 2003 - [email protected] |
|
205 |
- Updated to version 2.4.0 |
|
206 |
* Thu Oct 9 2003 - [email protected] |
|
207 |
- removed %post, fixed %files list and removed ximian.png. |
|
208 |
* Wed Sep 17 2003 - [email protected] |
|
209 |
- Man page change, package tarball version of man page |
|
210 |
* Tue Aug 19 2003 - [email protected] |
|
211 |
- add bug-buddy-04-remove-ximian-druid-pages.diff |
|
212 |
* Tue Aug 05 2003 - [email protected] |
|
213 |
- add bug-buddy-03-sensical-check-removed.diff |
|
214 |
* Tue Aug 05 2003 - [email protected] |
|
215 |
- Update tarball, bump version, reset release. |
|
216 |
* Fri Aug 01 2003 - [email protected] |
|
217 |
- Add menu category thing |
|
218 |
* Tue May 13 2003 - [email protected] |
|
219 |
- initial Sun Release |