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