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