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