author | mattk |
Mon, 06 Sep 2004 10:06:53 +0000 | |
changeset 3857 | 04c2b6b18a33 |
parent 3855 | 4cd13c872d1d |
child 3858 | a0a00bd9bb27 |
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 |
3857 | 8 |
Release: 2 |
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 |
3704 | 15 |
Source1: gaim-l10n-po-1.3.tar.bz2 |
3843
a5310bc5ccb4
* gaim.spec: Add docs tarball from [email protected].
dc144907
parents:
3791
diff
changeset
|
16 |
Source2: gaim-docs-0.1.tar.bz2 |
2143 | 17 |
Patch1: gaim-01-g11n-menu-entry.diff |
1291 | 18 |
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
|
19 |
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
|
20 |
Patch4: gaim-04-uint_max.diff |
2567 | 21 |
Patch5: gaim-05-po-mkinstalldirs.diff |
22 |
Patch6: gaim-06-gettext.diff |
|
23 |
Patch7: gaim-07-g11n-potfiles.diff |
|
3704 | 24 |
Patch8: gaim-08-void-return.diff |
25 |
Patch9: gaim-09-ebook-checks.diff |
|
3843
a5310bc5ccb4
* gaim.spec: Add docs tarball from [email protected].
dc144907
parents:
3791
diff
changeset
|
26 |
Patch10: gaim-10-docs.diff |
290 | 27 |
URL: http://gaim.sourceforge.net/ |
28 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
29 |
Docdir: %{_defaultdocdir}/gaim |
|
30 |
Autoreqprov: on |
|
31 |
||
32 |
BuildRequires: gtk2-devel |
|
33 |
BuildRequires: glib2-devel |
|
3857 | 34 |
BuildRequires: javahelp-convert |
290 | 35 |
|
36 |
%description |
|
37 |
Gaim allows you to chat over the Internet using a variety of |
|
907 | 38 |
messaging protocols, including AIM, ICQ, IRC, Yahoo!, |
39 |
MSN Messenger and Jabber. |
|
290 | 40 |
These protocols are implemented using a modular, easy to use |
41 |
design. |
|
42 |
||
3704 | 43 |
%package devel |
44 |
Summary: Multiprotocol Instant Messaging Client |
|
45 |
Group: System/GUI/GNOME |
|
46 |
Autoreqprov: on |
|
47 |
Requires: %name = %version |
|
48 |
||
49 |
%description devel |
|
50 |
Gaim allows you to chat over the Internet using a variety of |
|
51 |
messaging protocols, including AIM, ICQ, IRC, Yahoo!, |
|
52 |
MSN Messenger and Jabber. |
|
53 |
These protocols are implemented using a modular, easy to use |
|
54 |
design. |
|
55 |
||
290 | 56 |
%prep |
57 |
%setup -q |
|
2355 | 58 |
/usr/bin/bzcat -dc %SOURCE1|tar xf - |
3843
a5310bc5ccb4
* gaim.spec: Add docs tarball from [email protected].
dc144907
parents:
3791
diff
changeset
|
59 |
/usr/bin/bzcat -dc %SOURCE2|tar xf - |
980 | 60 |
%patch1 -p1 |
630 | 61 |
%patch2 -p1 |
1810
037a440ec0cd
Update to 0.75. Add patches for Solaris compilation. Add CFLAGS for Forte
dc144907
parents:
1609
diff
changeset
|
62 |
%patch3 -p1 |
037a440ec0cd
Update to 0.75. Add patches for Solaris compilation. Add CFLAGS for Forte
dc144907
parents:
1609
diff
changeset
|
63 |
%patch4 -p1 |
037a440ec0cd
Update to 0.75. Add patches for Solaris compilation. Add CFLAGS for Forte
dc144907
parents:
1609
diff
changeset
|
64 |
%patch5 -p1 |
037a440ec0cd
Update to 0.75. Add patches for Solaris compilation. Add CFLAGS for Forte
dc144907
parents:
1609
diff
changeset
|
65 |
%patch6 -p1 |
2123 | 66 |
%patch7 -p1 |
2143 | 67 |
%patch8 -p1 |
2615 | 68 |
%patch9 -p1 |
3843
a5310bc5ccb4
* gaim.spec: Add docs tarball from [email protected].
dc144907
parents:
3791
diff
changeset
|
69 |
%patch10 -p1 |
290 | 70 |
|
71 |
%build |
|
3263 | 72 |
%ifos linux |
73 |
if [ -x /usr/bin/getconf ]; then |
|
74 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
75 |
fi |
|
76 |
%else |
|
3846 | 77 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
3263 | 78 |
%endif |
79 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
80 |
CPUS=1 |
|
81 |
fi |
|
82 |
||
2393 | 83 |
%ifos solaris |
2383 | 84 |
glib-gettextize -f |
2393 | 85 |
%endif |
1810
037a440ec0cd
Update to 0.75. Add patches for Solaris compilation. Add CFLAGS for Forte
dc144907
parents:
1609
diff
changeset
|
86 |
libtoolize --force |
037a440ec0cd
Update to 0.75. Add patches for Solaris compilation. Add CFLAGS for Forte
dc144907
parents:
1609
diff
changeset
|
87 |
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
|
88 |
autoheader |
037a440ec0cd
Update to 0.75. Add patches for Solaris compilation. Add CFLAGS for Forte
dc144907
parents:
1609
diff
changeset
|
89 |
automake -a -c -f |
037a440ec0cd
Update to 0.75. Add patches for Solaris compilation. Add CFLAGS for Forte
dc144907
parents:
1609
diff
changeset
|
90 |
autoconf |
037a440ec0cd
Update to 0.75. Add patches for Solaris compilation. Add CFLAGS for Forte
dc144907
parents:
1609
diff
changeset
|
91 |
|
037a440ec0cd
Update to 0.75. Add patches for Solaris compilation. Add CFLAGS for Forte
dc144907
parents:
1609
diff
changeset
|
92 |
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
|
93 |
LD_LIBRARY_PATH="%{_libdir}:$LD_LIBRARY_PATH" |
290 | 94 |
./configure --prefix=%{_prefix} --mandir=%{_mandir} |
95 |
||
3263 | 96 |
make -j $CPUS |
290 | 97 |
|
98 |
%install |
|
99 |
if [ -d $RPM_BUILD_ROOT ]; then rm -r $RPM_BUILD_ROOT; fi; |
|
100 |
make DESTDIR=$RPM_BUILD_ROOT install |
|
3628 | 101 |
rm -Rf $RPM_BUILD_ROOT%{_libdir}/perl5 |
102 |
rm $RPM_BUILD_ROOT%{_libdir}/gaim/*.la |
|
103 |
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
|
104 |
# 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
|
105 |
# rm $RPM_BUILD_ROOT%{_mandir}/man3/* |
3628 | 106 |
|
3857 | 107 |
javahelp-convert-install $RPM_BUILD_ROOT %{name} %{name}.xml |
108 |
||
290 | 109 |
|
110 |
%files |
|
111 |
%defattr(-, root, root) |
|
112 |
%doc doc/the_penguin.txt doc/CREDITS NEWS COPYING AUTHORS |
|
1319 | 113 |
%doc doc/FAQ README ChangeLog HACKING |
1058 | 114 |
%attr(755, root, root) %{_libdir}/gaim/*.so |
876 | 115 |
%attr(755, root, root) %{_libdir}/libgaim-remote.so.* |
290 | 116 |
%{_bindir}/* |
117 |
%{_mandir}/man1/* |
|
3791 | 118 |
%{_mandir}/man3/* |
290 | 119 |
%{_datadir}/locale/*/*/* |
120 |
%{_datadir}/pixmaps/* |
|
121 |
%{_datadir}/sounds/gaim/* |
|
122 |
%{_datadir}/applications/* |
|
3704 | 123 |
|
124 |
%files devel |
|
125 |
%defattr(-, root, root) |
|
126 |
%{_libdir}/pkgconfig/* |
|
127 |
%{_includedir}/gaim/* |
|
290 | 128 |
|
129 |
%clean |
|
130 |
rm -r $RPM_BUILD_ROOT |
|
131 |
||
132 |
%changelog |
|
3857 | 133 |
* Mon Sep 06 2004 - [email protected] |
134 |
- Add javahelp-convert for new docs |
|
135 |
||
3855 | 136 |
* Fri Sep 03 2004 - [email protected] |
137 |
- Add docs tarball from [email protected]. |
|
138 |
- Add patch to incorporate docs tarball. |
|
139 |
||
3790 | 140 |
* Mon Aug 30 2004 - [email protected] |
141 |
- Bump to 0.82.1 |
|
142 |
||
3716 | 143 |
* Tue Aug 24 2004 - [email protected] |
144 |
- mandir/man3 added to base package |
|
3790 | 145 |
|
3704 | 146 |
* Tue Aug 24 2004 - [email protected] |
147 |
- Bump to 0.81 and create a devel package. |
|
148 |
||
3657
0e955c793a20
* gaim.spec: Comment out removal of man3 files, added during rpm4 work. This
dc144907
parents:
3628
diff
changeset
|
149 |
* 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
|
150 |
- 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
|
151 |
|
3279
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
152 |
* 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
|
153 |
- 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
|
154 |
|
3628 | 155 |
* Wed Jul 07 2004 - [email protected] |
156 |
- ported to rpm4 |
|
157 |
||
3263 | 158 |
* Wed Jul 07 2004 - [email protected] |
159 |
- added "-j $CPUS" to make to speed up builds |
|
160 |
||
3068 | 161 |
* Wed Jun 09 2004 - [email protected] |
162 |
- Modified patch gaim-02-remove-unwanted-protocols.diff to remove the |
|
163 |
unnecessary protocols from the build. |
|
164 |
||
3017 | 165 |
* Fri Jun 04 2004 - [email protected] |
166 |
- Add patch gaim-10-iconv-open.diff. Fixes the irc protocol on |
|
167 |
Solaris |
|
168 |
||
2736
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
169 |
* 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
|
170 |
- 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
|
171 |
|
2615 | 172 |
* Sun May 02 2004 - [email protected] |
173 |
- add patch #9 (void-return) for a void function returning a value |
|
174 |
||
2567 | 175 |
* Tue Apr 27 2004 - [email protected] |
176 |
- Bumped new tarball 0.76 version and updated spec file |
|
177 |
accordingly. |
|
178 |
||
2393 | 179 |
* Mon Apr 05 2004 - [email protected] |
180 |
- ifos'ify glib-gettexttize, to stop nameless .mo files being |
|
181 |
generated on cinnabar/linux. |
|
182 |
||
2383 | 183 |
* Sun Apr 04 2004 - [email protected] |
184 |
- add glib-gettextize to make the build work with Solaris msgfmt |
|
185 |
||
2355 | 186 |
* Wed Mar 31 2004 - [email protected] |
187 |
- replace tar jxf with the more solaris friendly |
|
188 |
bzcat piped through tar |
|
189 |
||
2350 | 190 |
* Mon Mar 29 2004 - [email protected] |
191 |
- Adding gaim-l10n-po-1.0.tar.bz2 l10n content |
|
192 |
||
2161 | 193 |
* Mon Mar 08 2004 - [email protected] |
194 |
- Fixes all vulnerabilities reproted in the bug report. |
|
195 |
||
2143 | 196 |
* Thu Mar 04 2004 - [email protected] |
197 |
- Removed gaim-01-menu-entry.diff |
|
198 |
- Added gaim-01-g11n-menu-entry.diff to fix 4957377 |
|
199 |
- Added gaim-08-g11n-potfiles.diff |
|
200 |
||
2123 | 201 |
* Wed Mar 03 2004 - <[email protected]> |
202 |
- fix Solaris build by forcing the use of the glib gettext test macro |
|
203 |
||
1844 | 204 |
* Fri Feb 20 2004 - <[email protected]> |
205 |
- Distro to Cinnabar, fixed patch gaim-06-po-mkinstalldirs.diff |
|
206 |
||
1810
037a440ec0cd
Update to 0.75. Add patches for Solaris compilation. Add CFLAGS for Forte
dc144907
parents:
1609
diff
changeset
|
207 |
* 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
|
208 |
- Update to 0.75. |
037a440ec0cd
Update to 0.75. Add patches for Solaris compilation. Add CFLAGS for Forte
dc144907
parents:
1609
diff
changeset
|
209 |
|
1372 | 210 |
* Fri Oct 31 2003 - <[email protected]> |
211 |
- Remove the Sun Supported keyword from the menu |
|
212 |
patch. |
|
213 |
||
1291 | 214 |
* Mon Oct 20 2003 - <[email protected]> |
215 |
- update to 0.70 and removed potfiles patch |
|
216 |
||
1058 | 217 |
* Thu Aug 14 2003 - <[email protected]> |
218 |
- remove *.a, *.la |
|
219 |
||
980 | 220 |
* Tue Aug 05 2003 [email protected] |
221 |
- Added POTFILES.in patch again (updated) |
|
222 |
||
876 | 223 |
* Fri Aug 01 2003 [email protected] |
907 | 224 |
- removed unwanted protocols |
225 |
||
226 |
* Fri Aug 01 2003 [email protected] |
|
876 | 227 |
- why was there no changelog for this before? well |
228 |
new tarball, bumped release, reset release, added lbgaim-remote.so.* |