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