Mercurial > pidgin
annotate gaim.spec.in @ 7791:21be2d9e8399
[gaim-migrate @ 8437]
what I came up with while disconnected
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Sun, 07 Dec 2003 18:44:49 +0000 |
parents | 69b9e1d4f9e2 |
children | 2348fa3da6ed |
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/ |
7777 | 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 |
7777 | 13 %if "%{_vendor}" == "MandrakeSoft" |
14 Requires: gtk+2.0 >= 2.0.0, libnss3 | |
15 BuildRequires: libao-devel, libgtk+2.0_0-devel, gtkspell-devel, libtool, audiofile-devel, pkgconfig, libnss3-devel, perl-devel | |
16 Provides: libgaim-remote0 | |
17 %else | |
7235 | 18 Requires: gtk2 >= 2.0.0, mozilla-nss, gtkspell, audiofile, libao |
7411 | 19 BuildRequires: libao-devel, gtk2-devel, gtkspell-devel, libtool, audiofile-devel, pkgconfig, mozilla-nss-devel |
6171 | 20 %endif |
21 | |
22 %package devel | |
23 Summary: Development headers, documentation, and libraries for Gaim. | |
24 Group: Applications/Internet | |
5033
14bbf22917d9
[gaim-migrate @ 5376]
Christian Hammond <chipx86@chipx86.com>
parents:
5009
diff
changeset
|
25 |
322 | 26 %description |
3162 | 27 Gaim allows you to talk to anyone using a variety of messaging |
28 protocols, including AIM (Oscar and TOC), ICQ, IRC, Yahoo!, | |
29 MSN Messenger, Jabber, Gadu-Gadu, Napster, and Zephyr. These | |
30 protocols are implemented using a modular, easy to use design. | |
7163 | 31 To use a protocol, just add an account using the account editor. |
3162 | 32 |
33 Gaim supports many common features of other clients, as well as many | |
7163 | 34 unique features, such as perl scripting, TCL scripting and C plugins. |
3162 | 35 |
7163 | 36 Gaim is NOT affiliated with or endorsed by America Online, Inc., |
37 Microsoft Corporation, Yahoo! Inc., or ICQ Inc. | |
2578 | 38 |
6171 | 39 %description devel |
40 | |
41 The gaim-devel package contains the header files, developer | |
42 documentation, and libraries required for development of gaim scripts | |
43 and plugins. | |
44 | |
322 | 45 %prep |
46 %setup | |
47 | |
48 %build | |
6171 | 49 CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} \ |
50 --bindir=%{_bindir} \ | |
51 --datadir=%{_datadir} \ | |
52 --includedir=%{_includedir} \ | |
53 --libdir=%{_libdir} \ | |
54 --mandir=%{_mandir} \ | |
6995
dfc78aeca2d7
[gaim-migrate @ 7551]
Christian Hammond <chipx86@chipx86.com>
parents:
6994
diff
changeset
|
55 --sysconfdir=%{_sysconfdir} \ |
dfc78aeca2d7
[gaim-migrate @ 7551]
Christian Hammond <chipx86@chipx86.com>
parents:
6994
diff
changeset
|
56 --with-perl-lib=%{buildroot}%{_prefix} |
6171 | 57 make %{?_smp_mflags} |
322 | 58 |
59 %install | |
6171 | 60 rm -rf %{buildroot} |
61 make prefix=%{buildroot}%{_prefix} bindir=%{buildroot}%{_bindir} \ | |
62 datadir=%{buildroot}%{_datadir} includedir=%{buildroot}%{_includedir} \ | |
63 libdir=%{buildroot}%{_libdir} mandir=%{buildroot}%{_mandir} \ | |
64 sysconfdir=%{buildroot}%{_sysconfdir} \ | |
65 install | |
66 | |
6736
e411a7d6378c
[gaim-migrate @ 7268]
Christian Hammond <chipx86@chipx86.com>
parents:
6653
diff
changeset
|
67 rm -f $RPM_BUILD_ROOT/%{_libdir}/perl5/*/*/perllocal.pod |
7223
e13fd40cc827
[gaim-migrate @ 7792]
Christian Hammond <chipx86@chipx86.com>
parents:
7163
diff
changeset
|
68 strip %{buildroot}%{_libdir}/{*.so*,%{name}/*.so} || : |
e13fd40cc827
[gaim-migrate @ 7792]
Christian Hammond <chipx86@chipx86.com>
parents:
7163
diff
changeset
|
69 |
6736
e411a7d6378c
[gaim-migrate @ 7268]
Christian Hammond <chipx86@chipx86.com>
parents:
6653
diff
changeset
|
70 |
6171 | 71 %clean |
72 rm -rf %{buildroot} | |
322 | 73 |
74 %files | |
3737
5939b57aeed8
[gaim-migrate @ 3875]
Christian Hammond <chipx86@chipx86.com>
parents:
3736
diff
changeset
|
75 %defattr(-, root, root) |
5939b57aeed8
[gaim-migrate @ 3875]
Christian Hammond <chipx86@chipx86.com>
parents:
3736
diff
changeset
|
76 |
6171 | 77 %doc doc/the_penguin.txt doc/CREDITS doc/FAQ NEWS COPYING AUTHORS |
78 %doc README ChangeLog | |
79 %doc %{_mandir}/man1/* | |
7006 | 80 %doc %{_mandir}/man3*/* |
3737
5939b57aeed8
[gaim-migrate @ 3875]
Christian Hammond <chipx86@chipx86.com>
parents:
3736
diff
changeset
|
81 |
6246 | 82 %dir %{_libdir}/gaim |
3737
5939b57aeed8
[gaim-migrate @ 3875]
Christian Hammond <chipx86@chipx86.com>
parents:
3736
diff
changeset
|
83 %attr(755, root, root) %{_libdir}/gaim/* |
6171 | 84 %attr(755, root, root) %{_libdir}/libgaim-remote.so.* |
6736
e411a7d6378c
[gaim-migrate @ 7268]
Christian Hammond <chipx86@chipx86.com>
parents:
6653
diff
changeset
|
85 %attr(755, root, root) %{_libdir}/perl5 |
e411a7d6378c
[gaim-migrate @ 7268]
Christian Hammond <chipx86@chipx86.com>
parents:
6653
diff
changeset
|
86 |
3737
5939b57aeed8
[gaim-migrate @ 3875]
Christian Hammond <chipx86@chipx86.com>
parents:
3736
diff
changeset
|
87 %{_bindir}/* |
5939b57aeed8
[gaim-migrate @ 3875]
Christian Hammond <chipx86@chipx86.com>
parents:
3736
diff
changeset
|
88 %{_datadir}/locale/*/*/* |
5939b57aeed8
[gaim-migrate @ 3875]
Christian Hammond <chipx86@chipx86.com>
parents:
3736
diff
changeset
|
89 %{_datadir}/pixmaps/* |
6246 | 90 %dir %{_datadir}/sounds/gaim |
4206
30b5741e4c87
[gaim-migrate @ 4442]
Christian Hammond <chipx86@chipx86.com>
parents:
4030
diff
changeset
|
91 %{_datadir}/sounds/gaim/* |
4030 | 92 %{_datadir}/applications/* |
547
8086ed233742
[gaim-migrate @ 557]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
369
diff
changeset
|
93 |
6171 | 94 %files devel |
95 | |
6994
830070d70f3c
[gaim-migrate @ 7550]
Christian Hammond <chipx86@chipx86.com>
parents:
6736
diff
changeset
|
96 %doc plugins/HOWTO |
6301 | 97 %doc HACKING PROGRAMMING_NOTES |
6171 | 98 |
99 %attr(755, root, root) %{_libdir}/libgaim-remote.la | |
6246 | 100 %dir %{_includedir}/gaim-remote |
6171 | 101 %{_includedir}/gaim-remote/*.h |
2224 | 102 |
103 %changelog | |
6246 | 104 * Sun Jul 20 2003 Bjoern Voigt <bjoern@cs.tu-berlin.de> |
105 - Added pkgconfig build dependency. | |
106 - if "%{_vendor}" != "MandrakeSoft" now also works with rpm 3.x. | |
107 - Added Gaim-specific directories to list of Gaim's files. | |
108 | |
6171 | 109 * Wed Jul 16 2003 Ethan Blanton <eblanton@cs.ohiou.edu> |
110 - Complete spec file rewrite to take advantage of "new" RPM features | |
111 and make things prettier. | |
112 - Use system-supplied %%{_prefix}, %%{_datadir}, etc. rather than | |
113 attempt to define our own. |