]> git.pld-linux.org Git - packages/pidgin.git/blame - pidgin.spec
- merged from DEVEL
[packages/pidgin.git] / pidgin.spec
CommitLineData
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
9443219b 6#
45e7e275 7%bcond_without cap # without Contact Availability Prediction
8%bcond_without dbus # without dbus (for gaim-remote and others)
f73ea328 9%bcond_without doc # do not generate and include documentation
9107d10f 10%bcond_without evolution # compile without the Gaim-Evolution plugin
f73ea328 11%bcond_without gtkspell # without gtkspell support
45e7e275 12%bcond_without meanwhile # without meanwhile support
13%bcond_without text # don't build text UI
4d35c86f 14#
45e7e275 15%define _pre beta6
16%include /usr/lib/rpm/macros.perl
e932206c 17Summary: A client compatible with AOL's 'Instant Messenger'
45e7e275 18Summary(de.UTF-8): Gaim ist ein Instant Messenger
3569b772
ER
19Summary(ko.UTF-8): AOL 인스턴트 메신저와 호환되는 클라이언트
20Summary(pl.UTF-8): Klient kompatybilny z AOL Instant Messenger
21Summary(pt_BR.UTF-8): Um cliente para o AOL Instant Messenger (AIM)
e932206c 22Name: gaim
45e7e275 23Version: 2.0.0
24Release: 1.%{_pre}.3
f9dce018 25Epoch: 1
e932206c
AM
26License: GPL
27Group: Applications/Communications
45e7e275 28Source0: http://dl.sourceforge.net/gaim/%{name}-%{version}%{_pre}.tar.bz2
29# Source0-md5: 404dcec261f911bcb56f69e5ea192583
30#Source0: http://dl.sourceforge.net/gaim/%{name}-%{version}.tar.bz2
d52cd671 31Patch0: %{name}-nolibs.patch
01f7311e 32Patch2: %{name}-GG-evo.patch
45e7e275 33Patch3: %{name}-dbus-dir.patch
34Patch4: %{name}-libgadu.patch
e932206c 35URL: http://gaim.sourceforge.net/
45e7e275 36BuildRequires: GConf2-devel >= 2.16.0
d52cd671 37BuildRequires: audiofile-devel
8ee3c20e 38BuildRequires: autoconf
39BuildRequires: automake
45e7e275 40BuildRequires: bind-devel
41%{?with_dbus:BuildRequires: dbus-glib-devel >= 0.71}
42%{?with_evolution:BuildRequires: evolution-data-server-devel >= 1.8.1}
43BuildRequires: gettext-autopoint
e932206c 44BuildRequires: gettext-devel
45e7e275 45BuildRequires: gnutls-devel
46BuildRequires: gstreamer-devel >= 0.10.10
47BuildRequires: gtk+2-devel >= 2:2.10.6
48%{?with_gtkspell:BuildRequires: gtkspell-devel >= 2.0.11}
49BuildRequires: intltool
50BuildRequires: mdns-howl-devel
51%{?with_meanwhile:BuildRequires: meanwhile-devel}
52BuildRequires: libgadu-devel
e932206c 53BuildRequires: libtool
45e7e275 54BuildRequires: libxml2-devel >= 2.6.26
b1f35fc0 55BuildRequires: perl-devel
414803d3 56BuildRequires: pkgconfig
45e7e275 57BuildRequires: python-modules
f015364d 58BuildRequires: rpm-perlprov
45e7e275 59BuildRequires: rpm-pythonprov
0c1136e7 60BuildRequires: rpmbuild(macros) >= 1.177
887a5c0d 61BuildRequires: tcl-devel
fe0e6ec9 62BuildRequires: tk-devel
45e7e275 63%{?with_text:BuildRequires: ncurses-ext-devel}
64%if %{with cap}
65BuildRequires: sqlite3-devel >= 3.3
66%endif
4d35c86f 67%if %{with doc}
68BuildRequires: doxygen
69BuildRequires: graphviz
70%endif
45e7e275 71Requires(post,preun): GConf2 >= 2.16.0
72Requires: %{name}-libs = %{epoch}:%{version}-%{release}
3af0006c 73# weird: it *should* break after DynaLoader's version change, but it doesn't
74#Requires: perl(DynaLoader) = %(%{__perl} -MDynaLoader -e 'print DynaLoader->VERSION')
45e7e275 75Obsoletes: gaim-ui
e932206c
AM
76BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
77
e932206c
AM
78%description
79Gaim allows you to talk to anyone using AOL's Instant Messenger
80service (you can sign up at http://www.aim.aol.com). It uses the TOC
81version of the AOL protocol, so your buddy list is stored on AOL's
82servers and can be retrieved from anywhere. It contains many of the
83same features as AOL's IM client while at the same time incorporating
84many new features. Gaim also contains a multiple connection feature
85which consists of protocol plugins. These plugins allow you to use
cbf7fb34 86gaim to connect to other chat services such as Yahoo!, ICQ, MSN,
7d8896f0 87Jabber, Napster, Zephyr, IRC and Gadu-Gadu.
e932206c 88
e22fe992
JR
89%description -l pl.UTF-8
90Gaim pozwala na rozmowy z dowolną osobą używającą usługi AOL Instant
91Messenger (można się zarejestrować pod adresem
92http://www.aim.aol.com/). Program używa wersji TOC protokołu AOL więc
93Twoja lista kontaktów jest zapisana na serwerze AOL i może być
94przesłana gdziekolwiek. Gaim zawiera wiele udogodnień dostępnych w
95kliencie AOL IM jak również dodaje własne. Gaim umożliwia także dostęp
96do usług takich jak Yahoo!, ICQ, MSN, Jabber, Napster, Zephyr, IRC
7d8896f0 97oraz Gadu-Gadu.
e932206c 98
e22fe992
JR
99%description -l pt_BR.UTF-8
100GAIM é um cliente para o AOL Instant Messenger (AIM) que usa o serviço
101tik/toc da AOL. É desenvolvido ativamente e suporta muitas das
102características do cliente da AOL, tendo uma interface similiar.
103Também oferece suporte a outros protocolos, como: ICQ, IRC, Yahoo!,
a926f806 104MSN, Jabber e Napster.
105
e22fe992
JR
106%description -l de.UTF-8
107Gaim ist ein Instant Messenger der von Mark Spencer ursprünglich für
108unixähnliche Systeme (GNU/Linux, BSD) geschrieben wurde, nun aber auch
109auf Microsoft Windows und Mac OS X lauffähig ist und mit vielen
49e5c2ba 110Plugins stark erweitert werden kann.
111
45e7e275 112%package libs
113Summary: Gaim client library
114Summary(pl.UTF-8): Biblioteka klienta Gaim
115Group: Libraries
116Epoch: 1
579e124c 117
45e7e275 118%description libs
119Gaim client library.
579e124c 120
45e7e275 121%description libs -l pl.UTF-8
122Biblioteka klienta Gaim.
579e124c 123
42f05844 124%package devel
45e7e275 125Summary: Development files for Gaim client library
126Summary(pl.UTF-8): Pliki programistyczne biblioteki klienta Gaim
15bdbbd4 127Group: Development/Libraries
45e7e275 128Requires: %{name}-libs = %{epoch}:%{version}-%{release}
129Requires: gtk+2-devel >= 2:2.10.6
42f05844 130
131%description devel
fe0e6ec9 132Development files for gaim.
15bdbbd4 133
e22fe992 134%description devel -l pl.UTF-8
15bdbbd4 135Pliki programistyczne biblioteki gaim-remote.
42f05844 136
9c3e5099 137%package perl
975d6389 138Summary: Gaim files for Perl scripts
45e7e275 139Summary(pl.UTF-8): Pliki Gaima dla skryptów w Perlu
975d6389 140Group: Libraries
5afe1394 141Requires: %{name} = %{epoch}:%{version}-%{release}
544cdff1 142
9c3e5099 143%description perl
88556783
JB
144This package gives you ability to extend Gaim functionality with Perl
145scripts.
544cdff1 146
e22fe992
JR
147%description perl -l pl.UTF-8
148Ten pakiet daje możliwość rozszerzania funkcjonalności Gaima za pomocą
149skryptów Perla.
544cdff1 150
fe0e6ec9
ER
151%package tcl
152Summary: Gaim files for Tcl scripts
45e7e275 153Summary(pl.UTF-8): Pliki Gaima dla skryptów w Tcl-u
fe0e6ec9
ER
154Group: Libraries
155Requires: %{name} = %{epoch}:%{version}-%{release}
156
157%description tcl
88556783
JB
158This package gives you ability to extend Gaim functionality with Tcl
159scripts.
160
e22fe992
JR
161%description tcl -l pl.UTF-8
162Ten pakiet daje możliwość rozszerzania funkcjonalności Gaima za pomocą
163skryptów w Tcl-u.
fe0e6ec9 164
082aa6fa
ER
165%package plugin-evolution
166Summary: Plugin for Ximian Evolution integration
45e7e275 167Summary(pl.UTF-8): Wtyczka do integracji z Evolution
975d6389 168Group: Libraries
887a5c0d
ER
169Requires: %{name} = %{epoch}:%{version}-%{release}
170
082aa6fa
ER
171%description plugin-evolution
172Provides integration with Ximian Evolution.
975d6389 173
e22fe992 174%description plugin-evolution -l pl.UTF-8
975d6389 175Wtyczka do integracji z Evolution.
887a5c0d 176
fe0e6ec9
ER
177%package plugin-remote
178Summary: Gaim Remote Control
45e7e275 179Summary(pl.UTF-8): Zdalne sterowanie Gaimem
88556783 180Group: Libraries
fe0e6ec9
ER
181Requires: %{name} = %{epoch}:%{version}-%{release}
182
183%description plugin-remote
88556783
JB
184This package gives Gaim the ability to be remote-controlled through
185third-party applications or through the gaim-remote tool.
186
e22fe992
JR
187%description plugin-remote -l pl.UTF-8
188Ten pakiet daje możliwość zdalnego sterowania Gaimem przez inne
189aplikacje albo narzędzie gaim-remote.
fe0e6ec9 190
4d35c86f 191%package doc
192Summary: Gaim documentation for developers (HTML format)
45e7e275 193Summary(pl.UTF-8): Dokumentacja Gaim dla programistów (format HTML)
975d6389 194Group: Documentation
4d35c86f 195
196%description doc
197Gaim documentation for developers (HTML format).
198
e22fe992
JR
199%description doc -l pl.UTF-8
200Dokumentacja Gaim dla programistów (format HTML).
4d35c86f 201
0c1136e7
ER
202%triggerpostun -- %{name} < 1:1.3.1-1.10
203%banner -e %{name} <<EOF
204The Ximian Evolution and gaim-remote plugins have been separated to separate packages.
205If you need then please install %{name}-plugin-evolution and %{name}-plugin-remote
206EOF
207
e932206c 208%prep
45e7e275 209%setup -qn %{name}-%{version}%{_pre}
639ca96a 210%patch0 -p1
639ca96a 211%patch2 -p1
45e7e275 212%patch3 -p1
213%patch4 -p1
5afe1394 214
e932206c 215%build
63f26c96 216%{__libtoolize}
45e7e275 217%{__aclocal} -I m4macros
2016db7a 218%{__autoheader}
6407ad31 219%{__autoconf}
220%{__automake}
e932206c 221%configure \
4617d6f9 222 --disable-nas \
9c3e5099 223 --enable-nss=no \
f73ea328 224 --with-perl-lib=vendor \
45e7e275 225 --%{?with_cap:en}%{!?with_cap:dis}able-cap \
226 %{?with_dbus:--enable-dbus --with-dbus-session-dir=/usr/share/dbus-1/services} \
227 %{!?with_dbus:--disable-dbus} \
4506a465 228 %{!?with_evolution:--disable-gevolution} \
45e7e275 229 %{!?with_gtkspell:--disable-gtkspell} \
230 --%{?with_text:en}%{!?with_text:dis}able-consoleui
579e124c 231
e932206c 232%{__make}
4d35c86f 233%{?with_doc:%{__make} docs}
d52cd671 234
e932206c
AM
235%install
236rm -rf $RPM_BUILD_ROOT
237
238%{__make} install \
d52cd671 239 DESTDIR=$RPM_BUILD_ROOT
579e124c 240
45e7e275 241rm -f $RPM_BUILD_ROOT%{_libdir}/gaim/{,private}/*.la
242rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/{ca@valencia,ca_ES@valencian,my_MM}
15bdbbd4 243
45e7e275 244%find_lang %{name} --with-gnome
245rm -f $RPM_BUILD_ROOT{%{perl_archlib}/perllocal.pod,%{perl_vendorarch}/auto/Gaim/{,GtkUI}/.packlist}
6cdc5a72 246
45e7e275 247%if %{with dbus}
248rm $RPM_BUILD_ROOT{%{_bindir}/gaim-client-example,%{_libdir}/gaim/dbus-example.so}
249%endif
e932206c
AM
250
251%clean
252rm -rf $RPM_BUILD_ROOT
253
45e7e275 254%post
255%gconf_schema_install gaim.schemas
256
257%preun
258%gconf_schema_uninstall gaim.schemas
259
260%post libs -p /sbin/ldconfig
261%postun libs -p /sbin/ldconfig
15bdbbd4 262
e932206c
AM
263%files -f %{name}.lang
264%defattr(644,root,root,755)
45e7e275 265%doc AUTHORS ChangeLog{,.API} HACKING NEWS PLUGIN_HOWTO PROGRAMMING_NOTES README* doc/FAQ
266%attr(755,root,root) %{_bindir}/gaim
15bdbbd4 267%dir %{_libdir}/gaim
45e7e275 268%dir %{_libdir}/gaim/private
269%if %{with cap}
270%attr(755,root,root) %{_libdir}/gaim/autoaccept.so
271%attr(755,root,root) %{_libdir}/gaim/autoreply.so
272%attr(755,root,root) %{_libdir}/gaim/buddynote.so
273%attr(755,root,root) %{_libdir}/gaim/cap.so
274%endif
275%attr(755,root,root) %{_libdir}/gaim/convcolors.so
276#%attr(755,root,root) %{_libdir}/gaim/docklet.so
9443219b 277%attr(755,root,root) %{_libdir}/gaim/extplacement.so
45e7e275 278%attr(755,root,root) %{_libdir}/gaim/gaimrc.so
9443219b 279%attr(755,root,root) %{_libdir}/gaim/gestures.so
45e7e275 280%if %{with text}
281%attr(755,root,root) %{_bindir}/gaim-text
282%attr(755,root,root) %{_libdir}/gaim/gntgf.so
283%attr(755,root,root) %{_libdir}/gaim/gnthistory.so
284%attr(755,root,root) %{_libdir}/gaim/gntlastlog.so
285%attr(755,root,root) %{_libdir}/gaim/s.so
286%endif
9443219b 287%attr(755,root,root) %{_libdir}/gaim/history.so
45e7e275 288%attr(755,root,root) %{_libdir}/gaim/iconaway.so
9443219b 289%attr(755,root,root) %{_libdir}/gaim/idle.so
45e7e275 290%attr(755,root,root) %{_libdir}/gaim/libaim.so
291%attr(755,root,root) %{_libdir}/gaim/libbonjour.so
9443219b 292%attr(755,root,root) %{_libdir}/gaim/libgg.so
45e7e275 293%attr(755,root,root) %{_libdir}/gaim/libicq.so
9443219b
ER
294%attr(755,root,root) %{_libdir}/gaim/libirc.so
295%attr(755,root,root) %{_libdir}/gaim/libjabber.so
296%attr(755,root,root) %{_libdir}/gaim/libmsn.so
9443219b
ER
297%attr(755,root,root) %{_libdir}/gaim/libnovell.so
298%attr(755,root,root) %{_libdir}/gaim/liboscar.so
45e7e275 299%attr(755,root,root) %{_libdir}/gaim/liboscar.so.*
300%attr(755,root,root) %{_libdir}/gaim/libqq.so
301%{?with_meanwhile:%attr(755,root,root) %{_libdir}/gaim/libsametime.so}
302%attr(755,root,root) %{_libdir}/gaim/libsimple.so
9443219b
ER
303%attr(755,root,root) %{_libdir}/gaim/libyahoo.so
304%attr(755,root,root) %{_libdir}/gaim/libzephyr.so
45e7e275 305%attr(755,root,root) %{_libdir}/gaim/log_reader.so
306%attr(755,root,root) %{_libdir}/gaim/markerline.so
307%attr(755,root,root) %{_libdir}/gaim/newline.so
9443219b 308%attr(755,root,root) %{_libdir}/gaim/notify.so
45e7e275 309%attr(755,root,root) %{_libdir}/gaim/offlinemsg.so
310%attr(755,root,root) %{_libdir}/gaim/psychic.so
9443219b
ER
311%attr(755,root,root) %{_libdir}/gaim/relnot.so
312%attr(755,root,root) %{_libdir}/gaim/spellchk.so
313%attr(755,root,root) %{_libdir}/gaim/ssl-gnutls.so
314%attr(755,root,root) %{_libdir}/gaim/ssl-nss.so
315%attr(755,root,root) %{_libdir}/gaim/ssl.so
316%attr(755,root,root) %{_libdir}/gaim/statenotify.so
9443219b
ER
317%attr(755,root,root) %{_libdir}/gaim/ticker.so
318%attr(755,root,root) %{_libdir}/gaim/timestamp.so
45e7e275 319%attr(755,root,root) %{_libdir}/gaim/timestamp_format.so
320%attr(755,root,root) %{_libdir}/gaim/xmppconsole.so
321%if %{with dbus}
322%attr(755,root,root) %{_bindir}/gaim-url-handler
323%attr(755,root,root) %{_libdir}/gaim/musicmessaging.so
324%attr(755,root,root) %{_bindir}/gaim-send
325%attr(755,root,root) %{_bindir}/gaim-send-async
326%{_datadir}/dbus-1/services/gaim.service
327%endif
328%{_sysconfdir}/gconf/schemas/gaim.schemas
15bdbbd4 329%{_datadir}/sounds/%{name}
45e7e275 330%{_mandir}/man?/*
579e124c 331
d52cd671 332%{_desktopdir}/gaim.desktop
45e7e275 333%{_pixmapsdir}/*
334
335%files libs
336%defattr(644,root,root,755)
337%attr(755,root,root) %{_libdir}/libgaim.so.*.*.*
338%if %{with text}
339%attr(755,root,root) %{_libdir}/libgnt.so.*.*.*
340%endif
341%if %{with dbus}
342%attr(755,root,root) %{_libdir}/libgaim-client.so.*.*.*
343%endif
579e124c 344
42f05844 345%files devel
4cade4cc 346%defattr(644,root,root,755)
45e7e275 347%if %{with dbus}
348%attr(755,root,root) %{_libdir}/libgaim-client.so
349%attr(755,root,root) %{_libdir}/libgaim.so
350%{_libdir}/libgaim-client.la
351%{_libdir}/libgaim.la
352%endif
353%{_aclocaldir}/*.m4
5e969896 354%dir %{_includedir}/gaim
6a03a86a 355%{_includedir}/gaim/*.h
356%{_pkgconfigdir}/*
45e7e275 357%if %{with text}
358%attr(755,root,root) %{_libdir}/libgnt.so
359%{_libdir}/libgnt.la
360%dir %{_includedir}/gaim/gnt
361%dir %{_includedir}/gnt
362%{_includedir}/gaim/gnt/*.h
363%{_includedir}/gnt/*.h
364%endif
544cdff1 365
9c3e5099 366%files perl
367%defattr(644,root,root,755)
45e7e275 368%attr(755,root,root) %{_libdir}/gaim/private/libgaimperl.so
9d790b53 369%attr(755,root,root) %{_libdir}/gaim/perl.so
9c3e5099 370%{perl_vendorarch}/*.pm
371%dir %{perl_vendorarch}/auto/Gaim
372%{perl_vendorarch}/auto/Gaim/*.ix
373%{perl_vendorarch}/auto/Gaim/*.bs
45e7e275 374%dir %{perl_vendorarch}/auto/Gaim/GtkUI
375%{perl_vendorarch}/auto/Gaim/GtkUI/*.bs
376%dir %{perl_vendorarch}/Gaim
377%{perl_vendorarch}/Gaim/*.pm
9c3e5099 378%attr(755,root,root) %{perl_vendorarch}/auto/Gaim/*.so
45e7e275 379%attr(755,root,root) %{perl_vendorarch}/auto/Gaim/GtkUI/*.so
4d35c86f 380
fe0e6ec9
ER
381%files tcl
382%defattr(644,root,root,755)
383%attr(755,root,root) %{_libdir}/gaim/tcl.so
384
9107d10f 385%if %{with evolution}
082aa6fa 386%files plugin-evolution
887a5c0d
ER
387%defattr(644,root,root,755)
388%attr(755,root,root) %{_libdir}/gaim/gevolution.so
9107d10f 389%endif
887a5c0d 390
45e7e275 391%if %{with dbus}
fe0e6ec9
ER
392%files plugin-remote
393%defattr(644,root,root,755)
639ca96a 394%attr(755,root,root) %{_bindir}/gaim-remote
45e7e275 395%endif
fe0e6ec9 396
4d35c86f 397%if %{with doc}
398%files doc
dc61e8db 399%defattr(644,root,root,755)
4d35c86f 400%doc doc/html/*.{html,png,css}
401%endif
This page took 0.306464 seconds and 4 git commands to generate.