Mercurial > pidgin
annotate gaim.spec.in @ 14328:2ce396e60cea
[gaim-migrate @ 17023]
several translation updates
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Thu, 24 Aug 2006 20:24:47 +0000 |
parents | eec43f2ef633 |
children | a8e05cb27456 |
rev | line source |
---|---|
10888 | 1 # Older RPM doesn't define these by default |
2 %{!?perl_vendorlib: %define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)} | |
11912 | 3 %{!?perl_vendorarch: %define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)} |
10888 | 4 %{!?perl_archlib: %define perl_archlib %(eval "`%{__perl} -V:installarchlib`"; echo $installarchlib)} |
5 | |
12884 | 6 # When not doing betas comment this out |
7 # NOTE: %defines in spec files are evaluated in comments so the correct | |
8 # way to comment it out is to replace the % with # | |
13922 | 9 %define beta 4 |
12529 | 10 |
12884 | 11 %if 0%{?beta} |
13922 | 12 %define gaimver %(echo "@VERSION@"|sed -e 's/dev//; s/beta.*//') |
12529 | 13 %else |
14 %define gaimver @VERSION@ | |
15 %endif | |
16 | |
10888 | 17 Summary: A Gtk+ based multiprotocol instant messaging client |
6171 | 18 Name: @PACKAGE@ |
12529 | 19 Version: %gaimver |
20 Release: 0%{?beta:.beta%{beta}} | |
3737
5939b57aeed8
[gaim-migrate @ 3875]
Christian Hammond <chipx86@chipx86.com>
parents:
3736
diff
changeset
|
21 Epoch: 1 |
5939b57aeed8
[gaim-migrate @ 3875]
Christian Hammond <chipx86@chipx86.com>
parents:
3736
diff
changeset
|
22 License: GPL |
5939b57aeed8
[gaim-migrate @ 3875]
Christian Hammond <chipx86@chipx86.com>
parents:
3736
diff
changeset
|
23 Group: Applications/Internet |
7670 | 24 URL: http://gaim.sourceforge.net/ |
7777 | 25 Packager: %{packager} |
13578 | 26 Source: %{name}-@VERSION@.tar.bz2 |
6171 | 27 BuildRoot: %{_tmppath}/%{name}-%{version}-root |
7670 | 28 |
10888 | 29 # Generic build requirements |
14225 | 30 BuildRequires: libtool, pkgconfig, intltool, gettext |
31 %{!?_without_gstreamer:BuildRequires: gstreamer-devel} | |
13922 | 32 %{?_with_avahi:BuildRequires: avahi-compat-howl avahi-compat-howl-devel} |
11912 | 33 %{?_with_howl:BuildRequires: howl-devel} |
10888 | 34 %{?_with_silc:BuildRequires: /usr/include/silc/silcclient.h} |
12529 | 35 %{?_with_meanwhile:BuildRequires: meanwhile-devel} |
13578 | 36 %{?_with_gadugadu:BuildRequires: libgadu-devel} |
10888 | 37 %{?_with_tcl:BuildRequires: tcl, tk, /usr/include/tcl.h} |
11912 | 38 %{?_with_mono:BuildRequires: mono-devel} |
12529 | 39 %{?_with_dbus:BuildRequires: dbus-devel >= 0.35} |
10888 | 40 %{!?_without_gtkspell:BuildRequires: gtkspell-devel} |
12539 | 41 %{?_with_sasl:BuildRequires: cyrus-sasl-devel >= 2} |
10888 | 42 # For some reason perl isn't always automatically detected as a requirement :( |
43 Requires: perl | |
44 | |
11912 | 45 # Mandrake 10.1 and lower || Mandrake 10.2 (and higher?) |
12550 | 46 %if "%{_vendor}" == "MandrakeSoft" || "%{_vendor}" == "Mandrakesoft" || "%{_vendor}" == "Mandriva" |
11009 | 47 # Mandrake/Mandriva requirements |
48 BuildRequires: libgtk+2.0_0-devel, libnss3-devel, perl-devel | |
11405 | 49 Obsoletes: libgaim-remote0 |
11009 | 50 %else |
51 | |
10888 | 52 # SuSE & Red Hat / Fedora requirements |
53 BuildRequires: gtk2-devel | |
54 | |
55 %if "%{_vendor}" == "suse" | |
56 BuildRequires: gnutls-devel | |
57 %else | |
13578 | 58 # let's assume RH & FC1 are the only brain-dead distros missing the |
59 # perl-XML-Parser dependency on intltool and that other RH/FC releases | |
60 # don't care if we specify it here | |
61 BuildRequires: perl-XML-Parser | |
10888 | 62 BuildRequires: mozilla-nss-devel |
6171 | 63 %endif |
10888 | 64 %endif |
11912 | 65 |
13747 | 66 %if 0%{?_with_howl:1} || 0%{?_with_avahi:1} |
11912 | 67 %package bonjour |
11913 | 68 Summary: Bonjour plugin for Gaim |
69 Group: Applications/Internet | |
70 Requires: gaim = %{epoch}:%{version} | |
11009 | 71 %endif |
9373 | 72 |
10888 | 73 %if 0%{?_with_silc:1} |
9373 | 74 %package silc |
75 Summary: SILC (Secure Internet Live Conferencing) plugin for Gaim | |
76 Group: Applications/Internet | |
9429 | 77 Requires: gaim = %{epoch}:%{version} |
78 %endif | |
79 | |
12529 | 80 %if 0%{?_with_meanwhile:1} |
81 %package meanwhile | |
82 Summary: Lotus Sametime plugin for Gaim using the Meanwhile library | |
83 Group: Applications/Internet | |
84 Requires: gaim = %{epoch}:%{version} | |
85 %endif | |
86 | |
13578 | 87 %if 0%{?_with_gadugadu:1} |
88 %package gadugadu | |
89 Summary: Gadu-Gadu plugin for Gaim using the libgadu library | |
90 Group: Applications/Internet | |
91 Requires: gaim = %{epoch}:%{version} | |
92 %endif | |
93 | |
10888 | 94 %if 0%{?_with_tcl:1} |
9429 | 95 %package tcl |
96 Summary: Tcl scripting support for Gaim | |
97 Group: Applications/Internet | |
98 Requires: gaim = %{epoch}:%{version} | |
9373 | 99 %endif |
6171 | 100 |
11912 | 101 %if 0%{?_with_mono:1} |
102 %package mono | |
103 Summary: Mono .NET plugin support for Gaim | |
104 Group: Applications/Internet | |
105 Requires: gaim = %{epoch}:%{version} | |
106 %endif | |
107 | |
6171 | 108 %package devel |
9373 | 109 Summary: Development headers, documentation, and libraries for Gaim. |
110 Group: Applications/Internet | |
10888 | 111 Requires: pkgconfig, gaim = %{epoch}:%{version} |
5033
14bbf22917d9
[gaim-migrate @ 5376]
Christian Hammond <chipx86@chipx86.com>
parents:
5009
diff
changeset
|
112 |
322 | 113 %description |
10888 | 114 Gaim allows you to talk to anyone using a variety of messaging |
10977
2ce8ec01a064
[gaim-migrate @ 12803]
Christopher O'Brien <siege@pidgin.im>
parents:
10888
diff
changeset
|
115 protocols, including AIM, ICQ, IRC, Yahoo!, Novell Groupwise, MSN |
14043 | 116 Messenger, Jabber, Gadu-Gadu, Lotus Sametime and Zephyr. |
10977
2ce8ec01a064
[gaim-migrate @ 12803]
Christopher O'Brien <siege@pidgin.im>
parents:
10888
diff
changeset
|
117 These protocols are implemented using a modular, easy to use design. |
7163 | 118 To use a protocol, just add an account using the account editor. |
3162 | 119 |
10888 | 120 Gaim supports many common features of other clients, as well as many |
7163 | 121 unique features, such as perl scripting, TCL scripting and C plugins. |
3162 | 122 |
10888 | 123 Gaim is NOT affiliated with or endorsed by America Online, Inc., |
7163 | 124 Microsoft Corporation, Yahoo! Inc., or ICQ Inc. |
2578 | 125 |
13747 | 126 %if 0%{?_with_howl:1} || 0%{?_with_avahi:1} |
11912 | 127 %description bonjour |
128 Bonjour plugin for Gaim | |
129 %endif | |
130 | |
10888 | 131 %if 0%{?_with_silc:1} |
9373 | 132 %description silc |
133 SILC (Secure Internet Live Conferencing) plugin for Gaim | |
134 %endif | |
135 | |
12529 | 136 %if 0%{?_with_meanwhile:1} |
137 %description meanwhile | |
138 Lotus Sametime plugin for Gaim using the Meanwhile library | |
139 %endif | |
140 | |
13578 | 141 %if 0%{?_with_gadugadu:1} |
142 %description gadugadu | |
143 Gadu-Gadu plugin for Gaim using the libgadu library | |
144 %endif | |
145 | |
10888 | 146 %if 0%{?_with_tcl:1} |
9429 | 147 %description tcl |
148 Tcl plugin loader for Gaim. This package will allow you to write or | |
149 use Gaim plugins written in the Tcl programming language. | |
150 %endif | |
151 | |
11912 | 152 %if 0%{?_with_mono:1} |
153 %description mono | |
154 Mono plugin loader for Gaim. This package will allow you to write or | |
155 use Gaim plugins written in the .NET programming language. | |
156 %endif | |
157 | |
6171 | 158 %description devel |
159 The gaim-devel package contains the header files, developer | |
160 documentation, and libraries required for development of gaim scripts | |
161 and plugins. | |
162 | |
322 | 163 %prep |
12529 | 164 %setup -q -n %{name}-@VERSION@ |
322 | 165 |
166 %build | |
6171 | 167 CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} \ |
168 --bindir=%{_bindir} \ | |
169 --datadir=%{_datadir} \ | |
170 --includedir=%{_includedir} \ | |
171 --libdir=%{_libdir} \ | |
172 --mandir=%{_mandir} \ | |
6995
dfc78aeca2d7
[gaim-migrate @ 7551]
Christian Hammond <chipx86@chipx86.com>
parents:
6994
diff
changeset
|
173 --sysconfdir=%{_sysconfdir} \ |
10888 | 174 --with-ao=%{_libdir} \ |
13578 | 175 %{!?_with_perlmakehack:--with-perl-lib=%{_prefix}} \ |
176 %{?_with_perlmakehack:--with-perl-lib=%{buildroot}%{_prefix}} \ | |
9373 | 177 %{?_with_silc:--with-silc-includes=%{_includedir}/silc} \ |
9429 | 178 %{?_with_silc:--with-silc-libs=%{_libdir}/silc} \ |
12529 | 179 %{?_with_mono:--enable-mono} \ |
10888 | 180 %{!?_with_tcl:--disable-tcl} \ |
12529 | 181 %{!?_with_dbus:--disable-dbus} \ |
182 %{?_without_gtkspell:--disable-gtkspell} \ | |
14225 | 183 %{?_with_sasl:--enable-cyrus-sasl} \ |
184 %{?_without_gstreamer:--disable-gstreamer} | |
9373 | 185 |
6171 | 186 make %{?_smp_mflags} |
322 | 187 |
188 %install | |
6171 | 189 rm -rf %{buildroot} |
13748 | 190 %if 0%{?_with_perlmakehack} |
13578 | 191 make prefix=%{buildroot}%{_prefix} bindir=%{buildroot}%{_bindir} \ |
192 datadir=%{buildroot}%{_datadir} includedir=%{buildroot}%{_includedir} \ | |
193 libdir=%{buildroot}%{_libdir} mandir=%{buildroot}%{_mandir} \ | |
194 sysconfdir=%{buildroot}%{_sysconfdir} \ | |
195 install | |
196 %else | |
12529 | 197 make DESTDIR=$RPM_BUILD_ROOT install |
13578 | 198 %endif |
6171 | 199 |
11912 | 200 rm -f $RPM_BUILD_ROOT%{_libdir}/gaim/*.la |
12529 | 201 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la |
10888 | 202 rm -f $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod |
11912 | 203 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' |
204 find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';' | |
205 | |
13747 | 206 %if 0%{!?_with_howl:1} && 0%{!?_with_avahi:1} |
11912 | 207 rm -f $RPM_BUILD_ROOT%{_libdir}/gaim/libbonjour.so |
208 %endif | |
10073 | 209 |
10888 | 210 %if 0%{!?_with_silc:1} |
10073 | 211 rm -f $RPM_BUILD_ROOT%{_libdir}/gaim/libsilcgaim.so |
212 %endif | |
213 | |
12529 | 214 %if 0%{!?_with_meanwhile:1} |
215 rm -f $RPM_BUILD_ROOT%{_libdir}/gaim/libsametime.so | |
216 %endif | |
217 | |
13578 | 218 %if 0%{!?_with_gadugadu:1} |
219 rm -f $RPM_BUILD_ROOT%{_libdir}/gaim/libgg.so | |
220 %endif | |
221 | |
10888 | 222 %if 0%{!?_with_tcl:1} |
10073 | 223 rm -f $RPM_BUILD_ROOT%{_libdir}/gaim/tcl.so |
224 %endif | |
225 | |
11912 | 226 %if 0%{!?_with_mono:1} |
227 rm -f $RPM_BUILD_ROOT%{_libdir}/gaim/mono.so | |
228 rm -f $RPM_BUILD_ROOT%{_libdir}/gaim/*.dll | |
229 %endif | |
230 | |
231 | |
9373 | 232 find $RPM_BUILD_ROOT%{_libdir}/gaim -type f -print | \ |
10888 | 233 sed "s@^$RPM_BUILD_ROOT@@g" | \ |
11913 | 234 grep -v libbonjour.so | \ |
11912 | 235 grep -v libsilcgaim.so | \ |
12529 | 236 grep -v libsametime.so | \ |
13578 | 237 grep -v libgg.so | \ |
11912 | 238 grep -v tcl.so | \ |
11913 | 239 grep -v mono.so | \ |
240 grep -v ".dll$" | \ | |
9429 | 241 grep -v ".tcl$" > %{name}-%{version}-coreplugins |
6736
e411a7d6378c
[gaim-migrate @ 7268]
Christian Hammond <chipx86@chipx86.com>
parents:
6653
diff
changeset
|
242 |
6171 | 243 %clean |
244 rm -rf %{buildroot} | |
322 | 245 |
9373 | 246 %files -f %{name}-%{version}-coreplugins |
3737
5939b57aeed8
[gaim-migrate @ 3875]
Christian Hammond <chipx86@chipx86.com>
parents:
3736
diff
changeset
|
247 %defattr(-, root, root) |
5939b57aeed8
[gaim-migrate @ 3875]
Christian Hammond <chipx86@chipx86.com>
parents:
3736
diff
changeset
|
248 |
8058 | 249 %doc doc/the_penguin.txt doc/CREDITS NEWS COPYING AUTHORS COPYRIGHT |
6171 | 250 %doc README ChangeLog |
251 %doc %{_mandir}/man1/* | |
7006 | 252 %doc %{_mandir}/man3*/* |
3737
5939b57aeed8
[gaim-migrate @ 3875]
Christian Hammond <chipx86@chipx86.com>
parents:
3736
diff
changeset
|
253 |
6246 | 254 %dir %{_libdir}/gaim |
11912 | 255 %attr(755, root, root) %{perl_vendorarch}/Gaim* |
256 %attr(755, root, root) %{perl_vendorarch}/auto/Gaim | |
6736
e411a7d6378c
[gaim-migrate @ 7268]
Christian Hammond <chipx86@chipx86.com>
parents:
6653
diff
changeset
|
257 |
3737
5939b57aeed8
[gaim-migrate @ 3875]
Christian Hammond <chipx86@chipx86.com>
parents:
3736
diff
changeset
|
258 %{_bindir}/* |
5939b57aeed8
[gaim-migrate @ 3875]
Christian Hammond <chipx86@chipx86.com>
parents:
3736
diff
changeset
|
259 %{_datadir}/locale/*/*/* |
5939b57aeed8
[gaim-migrate @ 3875]
Christian Hammond <chipx86@chipx86.com>
parents:
3736
diff
changeset
|
260 %{_datadir}/pixmaps/* |
6246 | 261 %dir %{_datadir}/sounds/gaim |
4206
30b5741e4c87
[gaim-migrate @ 4442]
Christian Hammond <chipx86@chipx86.com>
parents:
4030
diff
changeset
|
262 %{_datadir}/sounds/gaim/* |
4030 | 263 %{_datadir}/applications/* |
547
8086ed233742
[gaim-migrate @ 557]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
369
diff
changeset
|
264 |
12529 | 265 %if 0%{?_with_dbus:1} |
266 %{_libdir}/libgaim-client.so.* | |
267 %{_datadir}/dbus-1/services/gaim.service | |
268 %endif | |
269 | |
13747 | 270 %if 0%{?_with_howl:1} || 0%{?_with_avahi:1} |
11912 | 271 %files bonjour |
272 %defattr(-, root, root) | |
273 | |
274 %{_libdir}/gaim/libbonjour.* | |
275 %endif | |
276 | |
10888 | 277 %if 0%{?_with_silc:1} |
9373 | 278 %files silc |
279 %defattr(-, root, root) | |
280 | |
281 %{_libdir}/gaim/libsilcgaim.* | |
282 %endif | |
283 | |
12529 | 284 %if 0%{?_with_meanwhile:1} |
285 %files meanwhile | |
286 %defattr(-, root, root) | |
287 | |
288 %{_libdir}/gaim/libsametime.* | |
289 %endif | |
290 | |
13578 | 291 %if 0%{?_with_gadugadu:1} |
292 %files gadugadu | |
293 %defattr(-, root, root) | |
294 | |
295 %{_libdir}/gaim/libgg.* | |
296 %endif | |
297 | |
10888 | 298 %if 0%{?_with_tcl:1} |
9429 | 299 %files tcl |
300 %defattr(-, root, root) | |
301 | |
302 %{_libdir}/gaim/tcl.so | |
303 %endif | |
304 | |
11912 | 305 %if 0%{?_with_mono:1} |
306 %files mono | |
307 %defattr(-, root, root) | |
308 | |
309 %{_libdir}/gaim/mono.so | |
310 %{_libdir}/gaim/*.dll | |
311 %endif | |
312 | |
6171 | 313 %files devel |
9373 | 314 %defattr(-, root, root) |
6171 | 315 |
10888 | 316 %doc plugins/HOWTO |
10303 | 317 %doc HACKING PROGRAMMING_NOTES |
6171 | 318 |
9364 | 319 %dir %{_includedir}/gaim |
320 %{_includedir}/gaim/*.h | |
321 %{_libdir}/pkgconfig/gaim.pc | |
11318 | 322 %{_datadir}/aclocal/gaim.m4 |
12529 | 323 %if 0%{?_with_dbus:1} |
324 %{_libdir}/libgaim-client.so | |
325 %endif | |
2224 | 326 |
327 %changelog | |
14225 | 328 * Sun Aug 20 2006 Stu Tomlinson <stu@nosnilmot.com> |
329 - Make the gstreamer-devel dependency overridable with '--without-gstreamer' | |
330 to allow building on older distributions without suitable gstreamer | |
331 | |
332 * Tue Aug 15 2006 Mark Doliner <thekingant@users.sourceforge.net> | |
14129 | 333 - Add a BuildRequire for gstreamer-devel |
14130 | 334 - Remove the BuildRequires for audiofile-devel and libao-devel |
14129 | 335 |
14225 | 336 * Mon May 8 2006 Mark Doliner <thekingant@users.sourceforge.net> |
13747 | 337 - Add --with avahi option to compile the gaim-bonjour package against |
14129 | 338 Avahi's Howl compatibility layer |
13747 | 339 |
14225 | 340 * Wed Mar 29 2006 Stu Tomlinson <stu@nosnilmot.com> |
13578 | 341 - Source RPM uses tar.bz2 now to save space |
342 - Update BuildRequires for new intltool dependencies | |
343 - Add a --with perlmakehack option to allow builds to succeed on RH9 | |
344 - Add a --with gadugadu to build (separate) gaim-gadugadu package | |
345 | |
14225 | 346 * Sat Dec 17 2005 Stu Tomlinson <stu@nosnilmot.com> |
12529 | 347 - Add support for beta versions so the subsequent releases are seen as newer |
348 by RPM | |
349 - Split of sametime support to gaim-meanwhile | |
350 - Use make DESTDIR=... instead of overloading prefix etc. when installing | |
351 - Default build to include cyrus-sasl support in Jabber | |
352 - Add --with dbus to build with DBUS support | |
353 | |
14225 | 354 * Sun Dec 04 2005 Christopher O'Brien <siege@preoccupied.net> |
12314
e1fc3eaf73b9
[gaim-migrate @ 14618]
Christopher O'Brien <siege@pidgin.im>
parents:
11913
diff
changeset
|
355 - Added obsoletes gaim-meanwhile |
e1fc3eaf73b9
[gaim-migrate @ 14618]
Christopher O'Brien <siege@pidgin.im>
parents:
11913
diff
changeset
|
356 |
14225 | 357 * Sun Oct 30 2005 Stu Tomlinson <stu@nosnilmot.com> |
11912 | 358 - Add separate gaim-bonjour package if built with --with-howl |
359 - Add separate gaim-mono package if built with --with-mono | |
360 - Exclude some unwanted perl files | |
361 | |
14225 | 362 * Sat Aug 20 2005 Stu Tomlinson <stu@nosnilmot.com> |
11318 | 363 - Include libgaimperl.so |
364 - Include gaim.m4 in gaim-devel | |
365 | |
14225 | 366 * Thu Apr 28 2005 Stu Tomlinson <stu@nosnilmot.com> |
10888 | 367 - Use perl_vendorlib & perl_archlib for better 64bit compat (Jeff Mahoney) |
368 - Clean up Requires, most should be auto-detected | |
369 - Restore gtkspell-devel build requirement (and add --without gtkspell option) | |
370 - Fix Tcl build requirements to work across more distros | |
371 - Fix SILC build requirements to work across more distros | |
372 | |
373 * Mon Oct 11 2004 John Jolly <john.jolly@gmail.com> | |
374 - Added if "%{_vendor}" == "suse" to handle GnuTLS libraries for SuSE | |
375 | |
10073 | 376 * Sat Oct 2 2004 Stu Tomlinson <stu@nosnilmot.com> |
377 - If --with tcl or silc are not specified, make sure the plugins don't | |
378 exist to prevent RPM complaining about unpackaged files | |
379 | |
9429 | 380 * Tue Jun 29 2004 Ethan Blanton <eblanton@cs.ohiou.edu> |
381 - Change Tcl to use --with tcl, the same as SILC, and build a gaim-tcl | |
382 package if specified. | |
383 | |
9400 | 384 * Thu Jun 24 2004 Mark Doliner <thekingant@users.sourceforge.net> |
385 - Add --with silc rebuild option for compiling a separate gaim-silc | |
386 RPM containing the silc protocol plugin (Stu Tomlinson). | |
387 | |
9368 | 388 * Wed Jun 23 2004 Ethan Blanton <eblanton@cs.ohiou.edu> |
389 - Moved gaim headers and a pkgconfig configuration file into the | |
9400 | 390 gaim-devel RPM (Stu Tomlinson). |
9368 | 391 |
8115 | 392 * Thu Jan 15 2004 Ethan Blanton <eblanton@cs.ohiou.edu> |
393 - Removed the manual strip command, as it seems to be unwarranted if | |
394 the necessary programs are properly installed. (For me, this was | |
395 elfutils.) | |
396 | |
6246 | 397 * Sun Jul 20 2003 Bjoern Voigt <bjoern@cs.tu-berlin.de> |
398 - Added pkgconfig build dependency. | |
399 - if "%{_vendor}" != "MandrakeSoft" now also works with rpm 3.x. | |
400 - Added Gaim-specific directories to list of Gaim's files. | |
401 | |
6171 | 402 * Wed Jul 16 2003 Ethan Blanton <eblanton@cs.ohiou.edu> |
403 - Complete spec file rewrite to take advantage of "new" RPM features | |
404 and make things prettier. | |
405 - Use system-supplied %%{_prefix}, %%{_datadir}, etc. rather than | |
406 attempt to define our own. |