Mercurial > pidgin.yaz
annotate gaim.spec.in @ 11566:7897207b522d
[gaim-migrate @ 13832]
Don't use the gtk wrapper when you can use glib directly - upnp shouldn't depend on gtk. Also some trailing whitespace fixes - this whole file is using spaces instead of tabs.
committer: Tailor Script <tailor@pidgin.im>
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Fri, 23 Sep 2005 02:39:32 +0000 |
parents | a6d446cf090f |
children | 8eb1f4b9210c |
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 | |
11405 | 29 Obsoletes: 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 | |
11405 | 36 Obsoletes: libgaim-remote0 |
11009 | 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 |
11318 | 155 %attr(755, root, root) %{_libdir}/libgaimperl.so |
10888 | 156 %attr(755, root, root) %{perl_vendorlib} |
6736
e411a7d6378c
[gaim-migrate @ 7268]
Christian Hammond <chipx86@chipx86.com>
parents:
6653
diff
changeset
|
157 |
3737
5939b57aeed8
[gaim-migrate @ 3875]
Christian Hammond <chipx86@chipx86.com>
parents:
3736
diff
changeset
|
158 %{_bindir}/* |
5939b57aeed8
[gaim-migrate @ 3875]
Christian Hammond <chipx86@chipx86.com>
parents:
3736
diff
changeset
|
159 %{_datadir}/locale/*/*/* |
5939b57aeed8
[gaim-migrate @ 3875]
Christian Hammond <chipx86@chipx86.com>
parents:
3736
diff
changeset
|
160 %{_datadir}/pixmaps/* |
6246 | 161 %dir %{_datadir}/sounds/gaim |
4206
30b5741e4c87
[gaim-migrate @ 4442]
Christian Hammond <chipx86@chipx86.com>
parents:
4030
diff
changeset
|
162 %{_datadir}/sounds/gaim/* |
4030 | 163 %{_datadir}/applications/* |
547
8086ed233742
[gaim-migrate @ 557]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
369
diff
changeset
|
164 |
10888 | 165 %if 0%{?_with_silc:1} |
9373 | 166 %files silc |
167 %defattr(-, root, root) | |
168 | |
169 %{_libdir}/gaim/libsilcgaim.* | |
170 %endif | |
171 | |
10888 | 172 %if 0%{?_with_tcl:1} |
9429 | 173 %files tcl |
174 %defattr(-, root, root) | |
175 | |
176 %{_libdir}/gaim/tcl.so | |
177 %endif | |
178 | |
6171 | 179 %files devel |
9373 | 180 %defattr(-, root, root) |
6171 | 181 |
10888 | 182 %doc plugins/HOWTO |
10303 | 183 %doc HACKING PROGRAMMING_NOTES |
6171 | 184 |
9364 | 185 %dir %{_includedir}/gaim |
186 %{_includedir}/gaim/*.h | |
187 %{_libdir}/pkgconfig/gaim.pc | |
11318 | 188 %{_datadir}/aclocal/gaim.m4 |
2224 | 189 |
190 %changelog | |
11318 | 191 * Sat Aug 20 2005 <stu@nosnilmot.com> |
192 - Include libgaimperl.so | |
193 - Include gaim.m4 in gaim-devel | |
194 | |
10888 | 195 * Thu Apr 28 2005 <stu@nosnilmot.com> |
196 - Use perl_vendorlib & perl_archlib for better 64bit compat (Jeff Mahoney) | |
197 - Clean up Requires, most should be auto-detected | |
198 - Restore gtkspell-devel build requirement (and add --without gtkspell option) | |
199 - Fix Tcl build requirements to work across more distros | |
200 - Fix SILC build requirements to work across more distros | |
201 | |
202 * Mon Oct 11 2004 John Jolly <john.jolly@gmail.com> | |
203 - Added if "%{_vendor}" == "suse" to handle GnuTLS libraries for SuSE | |
204 | |
10073 | 205 * Sat Oct 2 2004 Stu Tomlinson <stu@nosnilmot.com> |
206 - If --with tcl or silc are not specified, make sure the plugins don't | |
207 exist to prevent RPM complaining about unpackaged files | |
208 | |
9429 | 209 * Tue Jun 29 2004 Ethan Blanton <eblanton@cs.ohiou.edu> |
210 - Change Tcl to use --with tcl, the same as SILC, and build a gaim-tcl | |
211 package if specified. | |
212 | |
9400 | 213 * Thu Jun 24 2004 Mark Doliner <thekingant@users.sourceforge.net> |
214 - Add --with silc rebuild option for compiling a separate gaim-silc | |
215 RPM containing the silc protocol plugin (Stu Tomlinson). | |
216 | |
9368 | 217 * Wed Jun 23 2004 Ethan Blanton <eblanton@cs.ohiou.edu> |
218 - Moved gaim headers and a pkgconfig configuration file into the | |
9400 | 219 gaim-devel RPM (Stu Tomlinson). |
9368 | 220 |
8115 | 221 * Thu Jan 15 2004 Ethan Blanton <eblanton@cs.ohiou.edu> |
222 - Removed the manual strip command, as it seems to be unwarranted if | |
223 the necessary programs are properly installed. (For me, this was | |
224 elfutils.) | |
225 | |
6246 | 226 * Sun Jul 20 2003 Bjoern Voigt <bjoern@cs.tu-berlin.de> |
227 - Added pkgconfig build dependency. | |
228 - if "%{_vendor}" != "MandrakeSoft" now also works with rpm 3.x. | |
229 - Added Gaim-specific directories to list of Gaim's files. | |
230 | |
6171 | 231 * Wed Jul 16 2003 Ethan Blanton <eblanton@cs.ohiou.edu> |
232 - Complete spec file rewrite to take advantage of "new" RPM features | |
233 and make things prettier. | |
234 - Use system-supplied %%{_prefix}, %%{_datadir}, etc. rather than | |
235 attempt to define our own. |