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