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