Mercurial > pidgin.yaz
annotate gaim.spec.in @ 7763:dc79649b829d
[gaim-migrate @ 8408]
This is an implementation of immutable, reference-counted strings. It
is exceedingly trivial, I have no idea why I didn't do this long
ago... PLEASE use these anywhere you pass around strings that may be
stuck in multiple places; I'm not sure that it will save us too much
heap holistically, but it should prevent having to make a hojillion
twenty-byte allocations and free them immediately.
committer: Tailor Script <tailor@pidgin.im>
author | Ethan Blanton <elb@pidgin.im> |
---|---|
date | Fri, 05 Dec 2003 16:56:03 +0000 |
parents | 4995ad0ada66 |
children | 69b9e1d4f9e2 |
rev | line source |
---|---|
3737
5939b57aeed8
[gaim-migrate @ 3875]
Christian Hammond <chipx86@chipx86.com>
parents:
3736
diff
changeset
|
1 Summary: A Gtk+ based multiprotocol instant messaging client |
6171 | 2 Name: @PACKAGE@ |
3 Version: @VERSION@ | |
7656 | 4 Release: 0 |
3737
5939b57aeed8
[gaim-migrate @ 3875]
Christian Hammond <chipx86@chipx86.com>
parents:
3736
diff
changeset
|
5 Epoch: 1 |
5939b57aeed8
[gaim-migrate @ 3875]
Christian Hammond <chipx86@chipx86.com>
parents:
3736
diff
changeset
|
6 License: GPL |
5939b57aeed8
[gaim-migrate @ 3875]
Christian Hammond <chipx86@chipx86.com>
parents:
3736
diff
changeset
|
7 Group: Applications/Internet |
7670 | 8 URL: http://gaim.sourceforge.net/ |
7680 | 9 Packager: %{packager} |
3737
5939b57aeed8
[gaim-migrate @ 3875]
Christian Hammond <chipx86@chipx86.com>
parents:
3736
diff
changeset
|
10 Source: %{name}-%{version}.tar.gz |
6171 | 11 BuildRoot: %{_tmppath}/%{name}-%{version}-root |
7670 | 12 |
6246 | 13 %if "%{_vendor}" != "MandrakeSoft" |
7235 | 14 Requires: gtk2 >= 2.0.0, mozilla-nss, gtkspell, audiofile, libao |
7411 | 15 BuildRequires: libao-devel, gtk2-devel, gtkspell-devel, libtool, audiofile-devel, pkgconfig, mozilla-nss-devel |
6171 | 16 %else |
7006 | 17 Requires: gtk+2.0 >= 2.0.0, libnss3 |
7410 | 18 BuildRequires: libao-devel, libgtk+2.0_0-devel, gtkspell-devel, libtool, audiofile-devel, pkgconfig, libnss3-devel, perl-devel |
6171 | 19 %endif |
20 | |
21 %package devel | |
22 Summary: Development headers, documentation, and libraries for Gaim. | |
23 Group: Applications/Internet | |
5033
14bbf22917d9
[gaim-migrate @ 5376]
Christian Hammond <chipx86@chipx86.com>
parents:
5009
diff
changeset
|
24 |
322 | 25 %description |
3162 | 26 Gaim allows you to talk to anyone using a variety of messaging |
27 protocols, including AIM (Oscar and TOC), ICQ, IRC, Yahoo!, | |
28 MSN Messenger, Jabber, Gadu-Gadu, Napster, and Zephyr. These | |
29 protocols are implemented using a modular, easy to use design. | |
7163 | 30 To use a protocol, just add an account using the account editor. |
3162 | 31 |
32 Gaim supports many common features of other clients, as well as many | |
7163 | 33 unique features, such as perl scripting, TCL scripting and C plugins. |
3162 | 34 |
7163 | 35 Gaim is NOT affiliated with or endorsed by America Online, Inc., |
36 Microsoft Corporation, Yahoo! Inc., or ICQ Inc. | |
2578 | 37 |
6171 | 38 %description devel |
39 | |
40 The gaim-devel package contains the header files, developer | |
41 documentation, and libraries required for development of gaim scripts | |
42 and plugins. | |
43 | |
322 | 44 %prep |
45 %setup | |
46 | |
47 %build | |
6171 | 48 CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} \ |
49 --bindir=%{_bindir} \ | |
50 --datadir=%{_datadir} \ | |
51 --includedir=%{_includedir} \ | |
52 --libdir=%{_libdir} \ | |
53 --mandir=%{_mandir} \ | |
6995
dfc78aeca2d7
[gaim-migrate @ 7551]
Christian Hammond <chipx86@chipx86.com>
parents:
6994
diff
changeset
|
54 --sysconfdir=%{_sysconfdir} \ |
dfc78aeca2d7
[gaim-migrate @ 7551]
Christian Hammond <chipx86@chipx86.com>
parents:
6994
diff
changeset
|
55 --with-perl-lib=%{buildroot}%{_prefix} |
6171 | 56 make %{?_smp_mflags} |
322 | 57 |
58 %install | |
6171 | 59 rm -rf %{buildroot} |
60 make prefix=%{buildroot}%{_prefix} bindir=%{buildroot}%{_bindir} \ | |
61 datadir=%{buildroot}%{_datadir} includedir=%{buildroot}%{_includedir} \ | |
62 libdir=%{buildroot}%{_libdir} mandir=%{buildroot}%{_mandir} \ | |
63 sysconfdir=%{buildroot}%{_sysconfdir} \ | |
64 install | |
65 | |
6736
e411a7d6378c
[gaim-migrate @ 7268]
Christian Hammond <chipx86@chipx86.com>
parents:
6653
diff
changeset
|
66 rm -f $RPM_BUILD_ROOT/%{_libdir}/perl5/*/*/perllocal.pod |
7223
e13fd40cc827
[gaim-migrate @ 7792]
Christian Hammond <chipx86@chipx86.com>
parents:
7163
diff
changeset
|
67 strip %{buildroot}%{_libdir}/{*.so*,%{name}/*.so} || : |
e13fd40cc827
[gaim-migrate @ 7792]
Christian Hammond <chipx86@chipx86.com>
parents:
7163
diff
changeset
|
68 |
6736
e411a7d6378c
[gaim-migrate @ 7268]
Christian Hammond <chipx86@chipx86.com>
parents:
6653
diff
changeset
|
69 |
6171 | 70 %clean |
71 rm -rf %{buildroot} | |
322 | 72 |
73 %files | |
3737
5939b57aeed8
[gaim-migrate @ 3875]
Christian Hammond <chipx86@chipx86.com>
parents:
3736
diff
changeset
|
74 %defattr(-, root, root) |
5939b57aeed8
[gaim-migrate @ 3875]
Christian Hammond <chipx86@chipx86.com>
parents:
3736
diff
changeset
|
75 |
6171 | 76 %doc doc/the_penguin.txt doc/CREDITS doc/FAQ NEWS COPYING AUTHORS |
77 %doc README ChangeLog | |
78 %doc %{_mandir}/man1/* | |
7006 | 79 %doc %{_mandir}/man3*/* |
3737
5939b57aeed8
[gaim-migrate @ 3875]
Christian Hammond <chipx86@chipx86.com>
parents:
3736
diff
changeset
|
80 |
6246 | 81 %dir %{_libdir}/gaim |
3737
5939b57aeed8
[gaim-migrate @ 3875]
Christian Hammond <chipx86@chipx86.com>
parents:
3736
diff
changeset
|
82 %attr(755, root, root) %{_libdir}/gaim/* |
6171 | 83 %attr(755, root, root) %{_libdir}/libgaim-remote.so.* |
6736
e411a7d6378c
[gaim-migrate @ 7268]
Christian Hammond <chipx86@chipx86.com>
parents:
6653
diff
changeset
|
84 %attr(755, root, root) %{_libdir}/perl5 |
e411a7d6378c
[gaim-migrate @ 7268]
Christian Hammond <chipx86@chipx86.com>
parents:
6653
diff
changeset
|
85 |
3737
5939b57aeed8
[gaim-migrate @ 3875]
Christian Hammond <chipx86@chipx86.com>
parents:
3736
diff
changeset
|
86 %{_bindir}/* |
5939b57aeed8
[gaim-migrate @ 3875]
Christian Hammond <chipx86@chipx86.com>
parents:
3736
diff
changeset
|
87 %{_datadir}/locale/*/*/* |
5939b57aeed8
[gaim-migrate @ 3875]
Christian Hammond <chipx86@chipx86.com>
parents:
3736
diff
changeset
|
88 %{_datadir}/pixmaps/* |
6246 | 89 %dir %{_datadir}/sounds/gaim |
4206
30b5741e4c87
[gaim-migrate @ 4442]
Christian Hammond <chipx86@chipx86.com>
parents:
4030
diff
changeset
|
90 %{_datadir}/sounds/gaim/* |
4030 | 91 %{_datadir}/applications/* |
547
8086ed233742
[gaim-migrate @ 557]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
369
diff
changeset
|
92 |
6171 | 93 %files devel |
94 | |
6994
830070d70f3c
[gaim-migrate @ 7550]
Christian Hammond <chipx86@chipx86.com>
parents:
6736
diff
changeset
|
95 %doc plugins/HOWTO |
6301 | 96 %doc HACKING PROGRAMMING_NOTES |
6171 | 97 |
98 %attr(755, root, root) %{_libdir}/libgaim-remote.la | |
6246 | 99 %dir %{_includedir}/gaim-remote |
6171 | 100 %{_includedir}/gaim-remote/*.h |
2224 | 101 |
102 %changelog | |
6246 | 103 * Sun Jul 20 2003 Bjoern Voigt <bjoern@cs.tu-berlin.de> |
104 - Added pkgconfig build dependency. | |
105 - if "%{_vendor}" != "MandrakeSoft" now also works with rpm 3.x. | |
106 - Added Gaim-specific directories to list of Gaim's files. | |
107 | |
6171 | 108 * Wed Jul 16 2003 Ethan Blanton <eblanton@cs.ohiou.edu> |
109 - Complete spec file rewrite to take advantage of "new" RPM features | |
110 and make things prettier. | |
111 - Use system-supplied %%{_prefix}, %%{_datadir}, etc. rather than | |
112 attempt to define our own. |