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