]>
Commit | Line | Data |
---|---|---|
9443219b | 1 | # TODO |
fe0e6ec9 ER |
2 | # - nas, silc/silcclient? |
3 | # - kerberos 4 with zephyr support? | |
4 | # - external zephyr? | |
5 | # http://packages.qa.debian.org/z/zephyr.html | |
abad16e6 | 6 | # - kill -ui-gtk? (is there any other ui?) |
9443219b | 7 | # |
f73ea328 | 8 | %bcond_without doc # do not generate and include documentation |
9107d10f | 9 | %bcond_without evolution # compile without the Gaim-Evolution plugin |
f73ea328 | 10 | %bcond_without gtkspell # without gtkspell support |
4d35c86f | 11 | # |
544cdff1 | 12 | %include /usr/lib/rpm/macros.perl |
e932206c | 13 | Summary: A client compatible with AOL's 'Instant Messenger' |
e22fe992 JR |
14 | Summary(ko.UTF-8): AOL 인스턴트 메신저와 호환되는 클라이언트 |
15 | Summary(pl.UTF-8): Klient kompatybilny z AOL Instant Messenger | |
16 | Summary(pt_BR.UTF-8): Um cliente para o AOL Instant Messenger (AIM) | |
17 | Summary(de.UTF-8): Gaim ist ein Instant Messenger | |
e932206c | 18 | Name: gaim |
639ca96a | 19 | Version: 1.5.0 |
7934806b | 20 | Release: 3 |
f9dce018 | 21 | Epoch: 1 |
e932206c AM |
22 | License: GPL |
23 | Group: Applications/Communications | |
bbe588e8 | 24 | Source0: http://dl.sourceforge.net/gaim/%{name}-%{version}.tar.bz2 |
639ca96a | 25 | # Source0-md5: 9205321ac11fad271c90f2f0d7c5e7ce |
d52cd671 | 26 | Patch0: %{name}-nolibs.patch |
aaa10e08 | 27 | Patch1: %{name}-desktop.patch |
01f7311e | 28 | Patch2: %{name}-GG-evo.patch |
e932206c | 29 | URL: http://gaim.sourceforge.net/ |
d52cd671 | 30 | BuildRequires: audiofile-devel |
8ee3c20e | 31 | BuildRequires: autoconf |
32 | BuildRequires: automake | |
9107d10f | 33 | %{?with_evolution:BuildRequires: evolution-data-server-devel >= 0.0.95} |
e932206c | 34 | BuildRequires: gettext-devel |
5afe1394 | 35 | BuildRequires: gtk+2-devel >= 1:2.2.0 |
f73ea328 | 36 | %{?with_gtkspell:BuildRequires: gtkspell-devel >= 2.0.4} |
d52cd671 | 37 | BuildRequires: libao-devel |
e932206c | 38 | BuildRequires: libtool |
b1f35fc0 | 39 | BuildRequires: perl-devel |
414803d3 | 40 | BuildRequires: pkgconfig |
f015364d | 41 | BuildRequires: rpm-perlprov |
0c1136e7 | 42 | BuildRequires: rpmbuild(macros) >= 1.177 |
887a5c0d | 43 | BuildRequires: tcl-devel |
fe0e6ec9 | 44 | BuildRequires: tk-devel |
070c1383 | 45 | BuildRequires: xcursor-devel |
4d35c86f | 46 | %if %{with doc} |
47 | BuildRequires: doxygen | |
48 | BuildRequires: graphviz | |
49 | %endif | |
5afe1394 JB |
50 | Requires: gaim-ui = %{epoch}:%{version}-%{release} |
51 | #Requires: libao | |
3af0006c | 52 | # weird: it *should* break after DynaLoader's version change, but it doesn't |
53 | #Requires: perl(DynaLoader) = %(%{__perl} -MDynaLoader -e 'print DynaLoader->VERSION') | |
e932206c AM |
54 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
55 | ||
e932206c AM |
56 | %description |
57 | Gaim allows you to talk to anyone using AOL's Instant Messenger | |
58 | service (you can sign up at http://www.aim.aol.com). It uses the TOC | |
59 | version of the AOL protocol, so your buddy list is stored on AOL's | |
60 | servers and can be retrieved from anywhere. It contains many of the | |
61 | same features as AOL's IM client while at the same time incorporating | |
62 | many new features. Gaim also contains a multiple connection feature | |
63 | which consists of protocol plugins. These plugins allow you to use | |
cbf7fb34 | 64 | gaim to connect to other chat services such as Yahoo!, ICQ, MSN, |
7d8896f0 | 65 | Jabber, Napster, Zephyr, IRC and Gadu-Gadu. |
e932206c | 66 | |
e22fe992 JR |
67 | %description -l pl.UTF-8 |
68 | Gaim pozwala na rozmowy z dowolną osobą używającą usługi AOL Instant | |
69 | Messenger (można się zarejestrować pod adresem | |
70 | http://www.aim.aol.com/). Program używa wersji TOC protokołu AOL więc | |
71 | Twoja lista kontaktów jest zapisana na serwerze AOL i może być | |
72 | przesłana gdziekolwiek. Gaim zawiera wiele udogodnień dostępnych w | |
73 | kliencie AOL IM jak również dodaje własne. Gaim umożliwia także dostęp | |
74 | do usług takich jak Yahoo!, ICQ, MSN, Jabber, Napster, Zephyr, IRC | |
7d8896f0 | 75 | oraz Gadu-Gadu. |
e932206c | 76 | |
e22fe992 JR |
77 | %description -l pt_BR.UTF-8 |
78 | GAIM é um cliente para o AOL Instant Messenger (AIM) que usa o serviço | |
79 | tik/toc da AOL. É desenvolvido ativamente e suporta muitas das | |
80 | características do cliente da AOL, tendo uma interface similiar. | |
81 | Também oferece suporte a outros protocolos, como: ICQ, IRC, Yahoo!, | |
a926f806 | 82 | MSN, Jabber e Napster. |
83 | ||
e22fe992 JR |
84 | %description -l de.UTF-8 |
85 | Gaim ist ein Instant Messenger der von Mark Spencer ursprünglich für | |
86 | unixähnliche Systeme (GNU/Linux, BSD) geschrieben wurde, nun aber auch | |
87 | auf Microsoft Windows und Mac OS X lauffähig ist und mit vielen | |
49e5c2ba | 88 | Plugins stark erweitert werden kann. |
89 | ||
579e124c | 90 | %package ui-gtk |
91 | Summary: gtk+ user interface for gaim | |
e22fe992 | 92 | Summary(pl.UTF-8): Interfejs użytkownika gaim korzystający z gtk+ |
579e124c | 93 | Group: Applications/Communications |
6584bfe9 | 94 | Provides: gaim-ui = %{epoch}:%{version}-%{release} |
f8e087c6 | 95 | Requires: %{name} = %{epoch}:%{version}-%{release} |
579e124c | 96 | |
97 | %description ui-gtk | |
171f5ade | 98 | gtk+ user interface for gaim. |
579e124c | 99 | |
e22fe992 JR |
100 | %description ui-gtk -l pl.UTF-8 |
101 | Interfejs użytkownika gaim korzystający z gtk+. | |
579e124c | 102 | |
42f05844 | 103 | %package devel |
fe0e6ec9 | 104 | Summary: Development files for gaim |
e22fe992 | 105 | Summary(pl.UTF-8): Pliki programistyczne biblioteki gaim-remote |
15bdbbd4 | 106 | Group: Development/Libraries |
fe0e6ec9 | 107 | Requires: %{name}-plugin-remote = %{epoch}:%{version}-%{release} |
5afe1394 | 108 | Requires: glib2-devel >= 2.0.0 |
875a470b | 109 | Requires: gtk+2-devel >= 1:2.2.0 |
42f05844 | 110 | |
111 | %description devel | |
fe0e6ec9 | 112 | Development files for gaim. |
15bdbbd4 | 113 | |
e22fe992 | 114 | %description devel -l pl.UTF-8 |
15bdbbd4 | 115 | Pliki programistyczne biblioteki gaim-remote. |
42f05844 | 116 | |
9c3e5099 | 117 | %package perl |
975d6389 | 118 | Summary: Gaim files for Perl scripts |
e22fe992 | 119 | Summary(pl.UTF-8): Pliki Gaima dla skryptów w Perlu |
975d6389 | 120 | Group: Libraries |
5afe1394 | 121 | Requires: %{name} = %{epoch}:%{version}-%{release} |
544cdff1 | 122 | |
9c3e5099 | 123 | %description perl |
88556783 JB |
124 | This package gives you ability to extend Gaim functionality with Perl |
125 | scripts. | |
544cdff1 | 126 | |
e22fe992 JR |
127 | %description perl -l pl.UTF-8 |
128 | Ten pakiet daje możliwość rozszerzania funkcjonalności Gaima za pomocą | |
129 | skryptów Perla. | |
544cdff1 | 130 | |
fe0e6ec9 ER |
131 | %package tcl |
132 | Summary: Gaim files for Tcl scripts | |
e22fe992 | 133 | Summary(pl.UTF-8): Pliki Gaima dla skryptów w Tcl-u |
fe0e6ec9 ER |
134 | Group: Libraries |
135 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
136 | ||
137 | %description tcl | |
88556783 JB |
138 | This package gives you ability to extend Gaim functionality with Tcl |
139 | scripts. | |
140 | ||
e22fe992 JR |
141 | %description tcl -l pl.UTF-8 |
142 | Ten pakiet daje możliwość rozszerzania funkcjonalności Gaima za pomocą | |
143 | skryptów w Tcl-u. | |
fe0e6ec9 | 144 | |
082aa6fa ER |
145 | %package plugin-evolution |
146 | Summary: Plugin for Ximian Evolution integration | |
e22fe992 | 147 | Summary(pl.UTF-8): Wtyczka do integracji z Evolution |
975d6389 | 148 | Group: Libraries |
887a5c0d ER |
149 | Requires: %{name} = %{epoch}:%{version}-%{release} |
150 | ||
082aa6fa ER |
151 | %description plugin-evolution |
152 | Provides integration with Ximian Evolution. | |
975d6389 | 153 | |
e22fe992 | 154 | %description plugin-evolution -l pl.UTF-8 |
975d6389 | 155 | Wtyczka do integracji z Evolution. |
887a5c0d | 156 | |
fe0e6ec9 ER |
157 | %package plugin-remote |
158 | Summary: Gaim Remote Control | |
e22fe992 | 159 | Summary(pl.UTF-8): Zdalne sterowanie Gaimem |
88556783 | 160 | Group: Libraries |
fe0e6ec9 ER |
161 | Requires: %{name} = %{epoch}:%{version}-%{release} |
162 | ||
163 | %description plugin-remote | |
88556783 JB |
164 | This package gives Gaim the ability to be remote-controlled through |
165 | third-party applications or through the gaim-remote tool. | |
166 | ||
e22fe992 JR |
167 | %description plugin-remote -l pl.UTF-8 |
168 | Ten pakiet daje możliwość zdalnego sterowania Gaimem przez inne | |
169 | aplikacje albo narzędzie gaim-remote. | |
fe0e6ec9 | 170 | |
4d35c86f | 171 | %package doc |
172 | Summary: Gaim documentation for developers (HTML format) | |
e22fe992 | 173 | Summary(pl.UTF-8): Dokumentacja Gaim dla programistów (format HTML) |
975d6389 | 174 | Group: Documentation |
4d35c86f | 175 | |
176 | %description doc | |
177 | Gaim documentation for developers (HTML format). | |
178 | ||
e22fe992 JR |
179 | %description doc -l pl.UTF-8 |
180 | Dokumentacja Gaim dla programistów (format HTML). | |
4d35c86f | 181 | |
0c1136e7 ER |
182 | %triggerpostun -- %{name} < 1:1.3.1-1.10 |
183 | %banner -e %{name} <<EOF | |
184 | The Ximian Evolution and gaim-remote plugins have been separated to separate packages. | |
185 | If you need then please install %{name}-plugin-evolution and %{name}-plugin-remote | |
186 | EOF | |
187 | ||
e932206c | 188 | %prep |
bbe588e8 | 189 | %setup -q |
639ca96a | 190 | %patch0 -p1 |
aaa10e08 | 191 | %patch1 -p1 |
639ca96a | 192 | %patch2 -p1 |
5afe1394 | 193 | |
e932206c | 194 | %build |
63f26c96 | 195 | %{__libtoolize} |
df3df194 | 196 | %{__gettextize} |
5ed679eb | 197 | %{__aclocal} |
2016db7a | 198 | %{__autoheader} |
6407ad31 | 199 | %{__autoconf} |
200 | %{__automake} | |
e932206c | 201 | %configure \ |
4617d6f9 | 202 | --disable-nas \ |
9c3e5099 | 203 | --enable-nss=no \ |
f73ea328 | 204 | --with-perl-lib=vendor \ |
4506a465 | 205 | %{!?with_evolution:--disable-gevolution} \ |
f73ea328 | 206 | %{!?with_gtkspell:--disable-gtkspell} |
579e124c | 207 | |
e932206c | 208 | %{__make} |
4d35c86f | 209 | %{?with_doc:%{__make} docs} |
d52cd671 | 210 | |
e932206c AM |
211 | %install |
212 | rm -rf $RPM_BUILD_ROOT | |
213 | ||
214 | %{__make} install \ | |
d52cd671 | 215 | DESTDIR=$RPM_BUILD_ROOT |
579e124c | 216 | |
15bdbbd4 JB |
217 | rm -f $RPM_BUILD_ROOT%{_libdir}/gaim/*.la |
218 | ||
6cdc5a72 | 219 | # for future my_MM not supported by glibc yet |
220 | mv -f $RPM_BUILD_ROOT%{_datadir}/locale/my{_MM,} | |
221 | ||
e932206c AM |
222 | %find_lang %{name} --with-gnome --all-name |
223 | ||
224 | %clean | |
225 | rm -rf $RPM_BUILD_ROOT | |
226 | ||
fe0e6ec9 ER |
227 | %post plugin-remote -p /sbin/ldconfig |
228 | %postun plugin-remote -p /sbin/ldconfig | |
15bdbbd4 | 229 | |
e932206c AM |
230 | %files -f %{name}.lang |
231 | %defattr(644,root,root,755) | |
10ee681a | 232 | %doc AUTHORS ChangeLog NEWS README* HACKING doc/{CREDITS,FAQ} |
15bdbbd4 | 233 | %dir %{_libdir}/gaim |
639ca96a | 234 | %attr(755,root,root) %{_libdir}/gaim/autorecon.so |
9443219b ER |
235 | %attr(755,root,root) %{_libdir}/gaim/docklet.so |
236 | %attr(755,root,root) %{_libdir}/gaim/extplacement.so | |
9443219b | 237 | %attr(755,root,root) %{_libdir}/gaim/gestures.so |
9443219b ER |
238 | %attr(755,root,root) %{_libdir}/gaim/history.so |
239 | %attr(755,root,root) %{_libdir}/gaim/idle.so | |
240 | %attr(755,root,root) %{_libdir}/gaim/libgg.so | |
241 | %attr(755,root,root) %{_libdir}/gaim/libirc.so | |
242 | %attr(755,root,root) %{_libdir}/gaim/libjabber.so | |
243 | %attr(755,root,root) %{_libdir}/gaim/libmsn.so | |
639ca96a | 244 | %attr(755,root,root) %{_libdir}/gaim/libnapster.so |
9443219b ER |
245 | %attr(755,root,root) %{_libdir}/gaim/libnovell.so |
246 | %attr(755,root,root) %{_libdir}/gaim/liboscar.so | |
247 | %attr(755,root,root) %{_libdir}/gaim/libyahoo.so | |
248 | %attr(755,root,root) %{_libdir}/gaim/libzephyr.so | |
249 | %attr(755,root,root) %{_libdir}/gaim/notify.so | |
250 | %attr(755,root,root) %{_libdir}/gaim/relnot.so | |
251 | %attr(755,root,root) %{_libdir}/gaim/spellchk.so | |
252 | %attr(755,root,root) %{_libdir}/gaim/ssl-gnutls.so | |
253 | %attr(755,root,root) %{_libdir}/gaim/ssl-nss.so | |
254 | %attr(755,root,root) %{_libdir}/gaim/ssl.so | |
255 | %attr(755,root,root) %{_libdir}/gaim/statenotify.so | |
9443219b ER |
256 | %attr(755,root,root) %{_libdir}/gaim/ticker.so |
257 | %attr(755,root,root) %{_libdir}/gaim/timestamp.so | |
e932206c AM |
258 | %{_pixmapsdir}/* |
259 | %{_mandir}/man?/* | |
15bdbbd4 | 260 | %{_datadir}/sounds/%{name} |
579e124c | 261 | |
262 | %files ui-gtk | |
948a6ab0 | 263 | %defattr(644,root,root,755) |
579e124c | 264 | %attr(755,root,root) %{_bindir}/gaim |
265 | %attr(755,root,root) %{_libdir}/gaim/iconaway.so | |
d52cd671 | 266 | %{_desktopdir}/gaim.desktop |
579e124c | 267 | |
42f05844 | 268 | %files devel |
4cade4cc | 269 | %defattr(644,root,root,755) |
639ca96a ER |
270 | %attr(755,root,root) %{_libdir}/libgaim-remote.so |
271 | %{_libdir}/libgaim-remote.la | |
5e969896 | 272 | %dir %{_includedir}/gaim |
6a03a86a | 273 | %{_includedir}/gaim/*.h |
274 | %{_pkgconfigdir}/* | |
544cdff1 | 275 | |
9c3e5099 | 276 | %files perl |
277 | %defattr(644,root,root,755) | |
9d790b53 | 278 | %attr(755,root,root) %{_libdir}/gaim/perl.so |
9c3e5099 | 279 | %{perl_vendorarch}/*.pm |
280 | %dir %{perl_vendorarch}/auto/Gaim | |
281 | %{perl_vendorarch}/auto/Gaim/*.ix | |
282 | %{perl_vendorarch}/auto/Gaim/*.bs | |
283 | %attr(755,root,root) %{perl_vendorarch}/auto/Gaim/*.so | |
4d35c86f | 284 | |
fe0e6ec9 ER |
285 | %files tcl |
286 | %defattr(644,root,root,755) | |
287 | %attr(755,root,root) %{_libdir}/gaim/tcl.so | |
288 | ||
9107d10f | 289 | %if %{with evolution} |
082aa6fa | 290 | %files plugin-evolution |
887a5c0d ER |
291 | %defattr(644,root,root,755) |
292 | %attr(755,root,root) %{_libdir}/gaim/gevolution.so | |
9107d10f | 293 | %endif |
887a5c0d | 294 | |
fe0e6ec9 ER |
295 | %files plugin-remote |
296 | %defattr(644,root,root,755) | |
639ca96a ER |
297 | %attr(755,root,root) %{_bindir}/gaim-remote |
298 | %attr(755,root,root) %{_libdir}/libgaim-remote.so.0.0.0 | |
299 | %attr(755,root,root) %{_libdir}/gaim/gaim-remote.so | |
fe0e6ec9 | 300 | |
4d35c86f | 301 | %if %{with doc} |
302 | %files doc | |
dc61e8db | 303 | %defattr(644,root,root,755) |
4d35c86f | 304 | %doc doc/html/*.{html,png,css} |
305 | %endif |