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