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