author | fujiwara |
Wed, 12 Jan 2005 14:25:08 +0000 | |
changeset 4821 | 6d89aba22863 |
parent 4814 | 578c5bdd9f0a |
child 4846 | ffaaacbb77db |
permissions | -rw-r--r-- |
290 | 1 |
# |
601 | 2 |
# Copyright (c) 2003 Sun Microsystems, Inc. |
290 | 3 |
# This file and all modifications and additions to the pristine |
4 |
# package are under the same license as the package itself. |
|
5 |
# |
|
6 |
Name: gaim |
|
3790 | 7 |
Version: 0.82.1 |
4801 | 8 |
Release: 28 |
290 | 9 |
License: GPL |
10 |
Group: Applications/Internet |
|
1844 | 11 |
Distribution: Cinnabar |
575 | 12 |
Vendor: Sun Microsystems, Inc. |
3704 | 13 |
Summary: Multiprotocol Instant Messaging Client |
1810
037a440ec0cd
Update to 0.75. Add patches for Solaris compilation. Add CFLAGS for Forte
dc144907
parents:
1609
diff
changeset
|
14 |
Source: http://heanet.dl.sourceforge.net/sourceforge/gaim/%{name}-%{version}.tar.bz2 |
4748 | 15 |
Source1: gaim-l10n-po-1.10.tar.bz2 |
4720
5a785417365a
* gaim.spec: Update docs tarball from [email protected].
dc144907
parents:
4689
diff
changeset
|
16 |
Source2: gaim-docs-0.2.tar.bz2 |
4455 | 17 |
Source3: l10n-configure.sh |
4758 | 18 |
Source4: gaim-l10n-online-help-ci-linux.tar.bz2 |
2143 | 19 |
Patch1: gaim-01-g11n-menu-entry.diff |
1291 | 20 |
Patch2: gaim-02-remove-unwanted-protocols.diff |
1810
037a440ec0cd
Update to 0.75. Add patches for Solaris compilation. Add CFLAGS for Forte
dc144907
parents:
1609
diff
changeset
|
21 |
Patch3: gaim-03-perl-common-argc.diff |
037a440ec0cd
Update to 0.75. Add patches for Solaris compilation. Add CFLAGS for Forte
dc144907
parents:
1609
diff
changeset
|
22 |
Patch4: gaim-04-uint_max.diff |
2567 | 23 |
Patch5: gaim-05-po-mkinstalldirs.diff |
24 |
Patch6: gaim-06-gettext.diff |
|
25 |
Patch7: gaim-07-g11n-potfiles.diff |
|
3704 | 26 |
Patch8: gaim-08-void-return.diff |
27 |
Patch9: gaim-09-ebook-checks.diff |
|
3843
a5310bc5ccb4
* gaim.spec: Add docs tarball from [email protected].
dc144907
parents:
3791
diff
changeset
|
28 |
Patch10: gaim-10-docs.diff |
4317 | 29 |
Patch11: gaim-11-sound_errors.diff |
4381 | 30 |
Patch12: gaim-12-msn-security-fix.diff |
4393 | 31 |
Patch13: gaim-13-add-help.diff |
4537 | 32 |
Patch14: gaim-14-l10n-online-help.diff |
4814 | 33 |
Patch15: gaim-15-long-preferences.diff |
4821 | 34 |
Patch16: gaim-16-g11n-enable-im.diff |
35 |
Patch17: gaim-17-g11n-filename.diff |
|
290 | 36 |
URL: http://gaim.sourceforge.net/ |
37 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
38 |
Docdir: %{_defaultdocdir}/gaim |
|
39 |
Autoreqprov: on |
|
40 |
||
41 |
BuildRequires: gtk2-devel |
|
42 |
BuildRequires: glib2-devel |
|
3857 | 43 |
BuildRequires: javahelp-convert |
290 | 44 |
|
45 |
%description |
|
46 |
Gaim allows you to chat over the Internet using a variety of |
|
907 | 47 |
messaging protocols, including AIM, ICQ, IRC, Yahoo!, |
48 |
MSN Messenger and Jabber. |
|
290 | 49 |
These protocols are implemented using a modular, easy to use |
50 |
design. |
|
51 |
||
3704 | 52 |
%package devel |
53 |
Summary: Multiprotocol Instant Messaging Client |
|
54 |
Group: System/GUI/GNOME |
|
55 |
Autoreqprov: on |
|
56 |
Requires: %name = %version |
|
57 |
||
58 |
%description devel |
|
59 |
Gaim allows you to chat over the Internet using a variety of |
|
60 |
messaging protocols, including AIM, ICQ, IRC, Yahoo!, |
|
61 |
MSN Messenger and Jabber. |
|
62 |
These protocols are implemented using a modular, easy to use |
|
63 |
design. |
|
64 |
||
290 | 65 |
%prep |
66 |
%setup -q |
|
2355 | 67 |
/usr/bin/bzcat -dc %SOURCE1|tar xf - |
3843
a5310bc5ccb4
* gaim.spec: Add docs tarball from [email protected].
dc144907
parents:
3791
diff
changeset
|
68 |
/usr/bin/bzcat -dc %SOURCE2|tar xf - |
980 | 69 |
%patch1 -p1 |
630 | 70 |
%patch2 -p1 |
1810
037a440ec0cd
Update to 0.75. Add patches for Solaris compilation. Add CFLAGS for Forte
dc144907
parents:
1609
diff
changeset
|
71 |
%patch3 -p1 |
037a440ec0cd
Update to 0.75. Add patches for Solaris compilation. Add CFLAGS for Forte
dc144907
parents:
1609
diff
changeset
|
72 |
%patch4 -p1 |
037a440ec0cd
Update to 0.75. Add patches for Solaris compilation. Add CFLAGS for Forte
dc144907
parents:
1609
diff
changeset
|
73 |
%patch5 -p1 |
037a440ec0cd
Update to 0.75. Add patches for Solaris compilation. Add CFLAGS for Forte
dc144907
parents:
1609
diff
changeset
|
74 |
%patch6 -p1 |
2123 | 75 |
%patch7 -p1 |
2143 | 76 |
%patch8 -p1 |
2615 | 77 |
%patch9 -p1 |
3843
a5310bc5ccb4
* gaim.spec: Add docs tarball from [email protected].
dc144907
parents:
3791
diff
changeset
|
78 |
%patch10 -p1 |
4317 | 79 |
%patch11 -p1 |
4381 | 80 |
%patch12 -p1 |
4393 | 81 |
%patch13 -p1 |
4537 | 82 |
%patch14 -p1 |
4821 | 83 |
/usr/bin/bzcat -dc %SOURCE4|tar xf - |
4814 | 84 |
%patch15 -p1 |
4821 | 85 |
%patch16 -p1 |
86 |
%patch17 -p1 |
|
290 | 87 |
|
4455 | 88 |
bash -x %SOURCE3 |
89 |
||
290 | 90 |
%build |
3263 | 91 |
%ifos linux |
92 |
if [ -x /usr/bin/getconf ]; then |
|
93 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
94 |
fi |
|
95 |
%else |
|
3846 | 96 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
3263 | 97 |
%endif |
98 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
99 |
CPUS=1 |
|
100 |
fi |
|
101 |
||
2393 | 102 |
%ifos solaris |
2383 | 103 |
glib-gettextize -f |
2393 | 104 |
%endif |
1810
037a440ec0cd
Update to 0.75. Add patches for Solaris compilation. Add CFLAGS for Forte
dc144907
parents:
1609
diff
changeset
|
105 |
libtoolize --force |
037a440ec0cd
Update to 0.75. Add patches for Solaris compilation. Add CFLAGS for Forte
dc144907
parents:
1609
diff
changeset
|
106 |
aclocal $ACLOCAL_FLAGS -I %{_datadir}/aclocal/gnome2-macros -I . |
037a440ec0cd
Update to 0.75. Add patches for Solaris compilation. Add CFLAGS for Forte
dc144907
parents:
1609
diff
changeset
|
107 |
autoheader |
037a440ec0cd
Update to 0.75. Add patches for Solaris compilation. Add CFLAGS for Forte
dc144907
parents:
1609
diff
changeset
|
108 |
automake -a -c -f |
037a440ec0cd
Update to 0.75. Add patches for Solaris compilation. Add CFLAGS for Forte
dc144907
parents:
1609
diff
changeset
|
109 |
autoconf |
037a440ec0cd
Update to 0.75. Add patches for Solaris compilation. Add CFLAGS for Forte
dc144907
parents:
1609
diff
changeset
|
110 |
|
037a440ec0cd
Update to 0.75. Add patches for Solaris compilation. Add CFLAGS for Forte
dc144907
parents:
1609
diff
changeset
|
111 |
CFLAGS="$RPM_OPT_FLAGS -DG_IMPLEMENT_INLINES -DG_HAVE_ISO_VARARGS" \ |
037a440ec0cd
Update to 0.75. Add patches for Solaris compilation. Add CFLAGS for Forte
dc144907
parents:
1609
diff
changeset
|
112 |
LD_LIBRARY_PATH="%{_libdir}:$LD_LIBRARY_PATH" |
290 | 113 |
./configure --prefix=%{_prefix} --mandir=%{_mandir} |
114 |
||
3263 | 115 |
make -j $CPUS |
290 | 116 |
|
117 |
%install |
|
118 |
if [ -d $RPM_BUILD_ROOT ]; then rm -r $RPM_BUILD_ROOT; fi; |
|
119 |
make DESTDIR=$RPM_BUILD_ROOT install |
|
3628 | 120 |
rm -Rf $RPM_BUILD_ROOT%{_libdir}/perl5 |
121 |
rm $RPM_BUILD_ROOT%{_libdir}/gaim/*.la |
|
122 |
rm $RPM_BUILD_ROOT%{_libdir}/*.la |
|
3657
0e955c793a20
* gaim.spec: Comment out removal of man3 files, added during rpm4 work. This
dc144907
parents:
3628
diff
changeset
|
123 |
# Added in rpm4 work. Breaking Solaris build. Comment out for now. |
0e955c793a20
* gaim.spec: Comment out removal of man3 files, added during rpm4 work. This
dc144907
parents:
3628
diff
changeset
|
124 |
# rm $RPM_BUILD_ROOT%{_mandir}/man3/* |
3628 | 125 |
|
3857 | 126 |
javahelp-convert-install $RPM_BUILD_ROOT %{name} %{name}.xml |
127 |
||
290 | 128 |
|
129 |
%files |
|
130 |
%defattr(-, root, root) |
|
131 |
%doc doc/the_penguin.txt doc/CREDITS NEWS COPYING AUTHORS |
|
1319 | 132 |
%doc doc/FAQ README ChangeLog HACKING |
1058 | 133 |
%attr(755, root, root) %{_libdir}/gaim/*.so |
876 | 134 |
%attr(755, root, root) %{_libdir}/libgaim-remote.so.* |
290 | 135 |
%{_bindir}/* |
136 |
%{_mandir}/man1/* |
|
3791 | 137 |
%{_mandir}/man3/* |
290 | 138 |
%{_datadir}/locale/*/*/* |
139 |
%{_datadir}/pixmaps/* |
|
140 |
%{_datadir}/sounds/gaim/* |
|
141 |
%{_datadir}/applications/* |
|
3860 | 142 |
%{_datadir}/gnome/help/* |
143 |
%{_datadir}/gnome/javahelp/* |
|
3862 | 144 |
%{_datadir}/omf/* |
3704 | 145 |
|
146 |
%files devel |
|
147 |
%defattr(-, root, root) |
|
148 |
%{_libdir}/pkgconfig/* |
|
149 |
%{_includedir}/gaim/* |
|
290 | 150 |
|
151 |
%clean |
|
152 |
rm -r $RPM_BUILD_ROOT |
|
153 |
||
154 |
%changelog |
|
4821 | 155 |
* Wed Jan 12 2005 - [email protected] |
156 |
- Added gaim-15-g11n-enable-im.diff to enable Ja input method. Fix 4990149. |
|
157 |
- Added gaim-16-g11n-filename.diff to get/put localized filenames. Fixes 6216501 |
|
158 |
||
4814 | 159 |
* Tue Jan 11 2005 - [email protected] |
160 |
- Added patch #15. Fixes #6204972 |
|
161 |
||
4758 | 162 |
* Thu Dec 16 2004 - [email protected] |
163 |
- Update l10n help tarball to use linux version |
|
164 |
||
4720
5a785417365a
* gaim.spec: Update docs tarball from [email protected].
dc144907
parents:
4689
diff
changeset
|
165 |
* Wed Dec 8 2004 - [email protected] |
5a785417365a
* gaim.spec: Update docs tarball from [email protected].
dc144907
parents:
4689
diff
changeset
|
166 |
- Update docs tarball from [email protected]. |
5a785417365a
* gaim.spec: Update docs tarball from [email protected].
dc144907
parents:
4689
diff
changeset
|
167 |
|
4537 | 168 |
* Fri Nov 12 2004 - [email protected] |
169 |
- Added workaround fix for 6193354 |
|
170 |
||
4381 | 171 |
* Fri Oct 29 2004 - [email protected] |
172 |
- Fixes msn security issues. |
|
173 |
||
4317 | 174 |
* Thu Oct 21 2004 - [email protected] |
175 |
- Added patch #11. Fixes #5101982 |
|
176 |
||
3857 | 177 |
* Mon Sep 06 2004 - [email protected] |
178 |
- Add javahelp-convert for new docs |
|
179 |
||
3855 | 180 |
* Fri Sep 03 2004 - [email protected] |
181 |
- Add docs tarball from [email protected]. |
|
182 |
- Add patch to incorporate docs tarball. |
|
183 |
||
3790 | 184 |
* Mon Aug 30 2004 - [email protected] |
185 |
- Bump to 0.82.1 |
|
186 |
||
3716 | 187 |
* Tue Aug 24 2004 - [email protected] |
188 |
- mandir/man3 added to base package |
|
3790 | 189 |
|
3704 | 190 |
* Tue Aug 24 2004 - [email protected] |
191 |
- Bump to 0.81 and create a devel package. |
|
192 |
||
3657
0e955c793a20
* gaim.spec: Comment out removal of man3 files, added during rpm4 work. This
dc144907
parents:
3628
diff
changeset
|
193 |
* Fri Aug 20 2004 - [email protected] |
0e955c793a20
* gaim.spec: Comment out removal of man3 files, added during rpm4 work. This
dc144907
parents:
3628
diff
changeset
|
194 |
- Comment out removal of man3 files - these don't exist on Solaris. |
0e955c793a20
* gaim.spec: Comment out removal of man3 files, added during rpm4 work. This
dc144907
parents:
3628
diff
changeset
|
195 |
|
3279
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
196 |
* Thu Jul 08 2004 - [email protected] |
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
197 |
- Updated l10n content to gaim-l10n-po-1.2.tar.bz2 |
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
198 |
|
3628 | 199 |
* Wed Jul 07 2004 - [email protected] |
200 |
- ported to rpm4 |
|
201 |
||
3263 | 202 |
* Wed Jul 07 2004 - [email protected] |
203 |
- added "-j $CPUS" to make to speed up builds |
|
204 |
||
3068 | 205 |
* Wed Jun 09 2004 - [email protected] |
206 |
- Modified patch gaim-02-remove-unwanted-protocols.diff to remove the |
|
207 |
unnecessary protocols from the build. |
|
208 |
||
3017 | 209 |
* Fri Jun 04 2004 - [email protected] |
210 |
- Add patch gaim-10-iconv-open.diff. Fixes the irc protocol on |
|
211 |
Solaris |
|
212 |
||
2736
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
213 |
* Wed May 12 2004 - [email protected] |
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
214 |
- Updated l10n content to gaim-l10n-po-1.1.tar.bz2 |
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
215 |
|
2615 | 216 |
* Sun May 02 2004 - [email protected] |
217 |
- add patch #9 (void-return) for a void function returning a value |
|
218 |
||
2567 | 219 |
* Tue Apr 27 2004 - [email protected] |
220 |
- Bumped new tarball 0.76 version and updated spec file |
|
221 |
accordingly. |
|
222 |
||
2393 | 223 |
* Mon Apr 05 2004 - [email protected] |
224 |
- ifos'ify glib-gettexttize, to stop nameless .mo files being |
|
225 |
generated on cinnabar/linux. |
|
226 |
||
2383 | 227 |
* Sun Apr 04 2004 - [email protected] |
228 |
- add glib-gettextize to make the build work with Solaris msgfmt |
|
229 |
||
2355 | 230 |
* Wed Mar 31 2004 - [email protected] |
231 |
- replace tar jxf with the more solaris friendly |
|
232 |
bzcat piped through tar |
|
233 |
||
2350 | 234 |
* Mon Mar 29 2004 - [email protected] |
235 |
- Adding gaim-l10n-po-1.0.tar.bz2 l10n content |
|
236 |
||
2161 | 237 |
* Mon Mar 08 2004 - [email protected] |
238 |
- Fixes all vulnerabilities reproted in the bug report. |
|
239 |
||
2143 | 240 |
* Thu Mar 04 2004 - [email protected] |
241 |
- Removed gaim-01-menu-entry.diff |
|
242 |
- Added gaim-01-g11n-menu-entry.diff to fix 4957377 |
|
243 |
- Added gaim-08-g11n-potfiles.diff |
|
244 |
||
2123 | 245 |
* Wed Mar 03 2004 - <[email protected]> |
246 |
- fix Solaris build by forcing the use of the glib gettext test macro |
|
247 |
||
1844 | 248 |
* Fri Feb 20 2004 - <[email protected]> |
249 |
- Distro to Cinnabar, fixed patch gaim-06-po-mkinstalldirs.diff |
|
250 |
||
1810
037a440ec0cd
Update to 0.75. Add patches for Solaris compilation. Add CFLAGS for Forte
dc144907
parents:
1609
diff
changeset
|
251 |
* Thu Feb 19 2004 - <[email protected]> |
037a440ec0cd
Update to 0.75. Add patches for Solaris compilation. Add CFLAGS for Forte
dc144907
parents:
1609
diff
changeset
|
252 |
- Update to 0.75. |
037a440ec0cd
Update to 0.75. Add patches for Solaris compilation. Add CFLAGS for Forte
dc144907
parents:
1609
diff
changeset
|
253 |
|
1372 | 254 |
* Fri Oct 31 2003 - <[email protected]> |
255 |
- Remove the Sun Supported keyword from the menu |
|
256 |
patch. |
|
257 |
||
1291 | 258 |
* Mon Oct 20 2003 - <[email protected]> |
259 |
- update to 0.70 and removed potfiles patch |
|
260 |
||
1058 | 261 |
* Thu Aug 14 2003 - <[email protected]> |
262 |
- remove *.a, *.la |
|
263 |
||
980 | 264 |
* Tue Aug 05 2003 [email protected] |
265 |
- Added POTFILES.in patch again (updated) |
|
266 |
||
876 | 267 |
* Fri Aug 01 2003 [email protected] |
907 | 268 |
- removed unwanted protocols |
269 |
||
270 |
* Fri Aug 01 2003 [email protected] |
|
876 | 271 |
- why was there no changelog for this before? well |
272 |
new tarball, bumped release, reset release, added lbgaim-remote.so.* |