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