Mercurial > pidgin
annotate gaim.spec.in @ 9379:c7eeab91fe21
[gaim-migrate @ 10187]
updated
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Thu, 24 Jun 2004 21:53:30 +0000 |
parents | 7b524aa57718 |
children | ecd93503a5c9 |
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 |
9373 | 21 %{?_with_silc:BuildRequires: libsilc-devel} |
22 | |
23 %if %{?_with_silc:1}%{!?_with_silc:0} | |
24 %package silc | |
25 Summary: SILC (Secure Internet Live Conferencing) plugin for Gaim | |
26 Group: Applications/Internet | |
27 Requires: gaim = 1:%{version} | |
28 %endif | |
6171 | 29 |
30 %package devel | |
9373 | 31 Summary: Development headers, documentation, and libraries for Gaim. |
32 Group: Applications/Internet | |
33 Requires: gaim = %{epoch}:%{version} | |
5033
14bbf22917d9
[gaim-migrate @ 5376]
Christian Hammond <chipx86@chipx86.com>
parents:
5009
diff
changeset
|
34 |
322 | 35 %description |
3162 | 36 Gaim allows you to talk to anyone using a variety of messaging |
37 protocols, including AIM (Oscar and TOC), ICQ, IRC, Yahoo!, | |
38 MSN Messenger, Jabber, Gadu-Gadu, Napster, and Zephyr. These | |
39 protocols are implemented using a modular, easy to use design. | |
7163 | 40 To use a protocol, just add an account using the account editor. |
3162 | 41 |
42 Gaim supports many common features of other clients, as well as many | |
7163 | 43 unique features, such as perl scripting, TCL scripting and C plugins. |
3162 | 44 |
7163 | 45 Gaim is NOT affiliated with or endorsed by America Online, Inc., |
46 Microsoft Corporation, Yahoo! Inc., or ICQ Inc. | |
2578 | 47 |
9373 | 48 %if %{?_with_silc:1}%{!?_with_silc:0} |
49 %description silc | |
50 SILC (Secure Internet Live Conferencing) plugin for Gaim | |
51 %endif | |
52 | |
6171 | 53 %description devel |
54 The gaim-devel package contains the header files, developer | |
55 documentation, and libraries required for development of gaim scripts | |
56 and plugins. | |
57 | |
322 | 58 %prep |
59 %setup | |
60 | |
61 %build | |
6171 | 62 CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} \ |
63 --bindir=%{_bindir} \ | |
64 --datadir=%{_datadir} \ | |
65 --includedir=%{_includedir} \ | |
66 --libdir=%{_libdir} \ | |
67 --mandir=%{_mandir} \ | |
6995
dfc78aeca2d7
[gaim-migrate @ 7551]
Christian Hammond <chipx86@chipx86.com>
parents:
6994
diff
changeset
|
68 --sysconfdir=%{_sysconfdir} \ |
9373 | 69 --with-perl-lib=%{buildroot}%{_prefix} \ |
70 %{?_with_silc:--with-silc-includes=%{_includedir}/silc} \ | |
71 %{?_with_silc:--with-silc-libs=%{_libdir}/silc} | |
72 | |
6171 | 73 make %{?_smp_mflags} |
322 | 74 |
75 %install | |
6171 | 76 rm -rf %{buildroot} |
77 make prefix=%{buildroot}%{_prefix} bindir=%{buildroot}%{_bindir} \ | |
78 datadir=%{buildroot}%{_datadir} includedir=%{buildroot}%{_includedir} \ | |
79 libdir=%{buildroot}%{_libdir} mandir=%{buildroot}%{_mandir} \ | |
80 sysconfdir=%{buildroot}%{_sysconfdir} \ | |
81 install | |
82 | |
9373 | 83 rm -f $RPM_BUILD_ROOT%{_libdir}/perl5/*/*/perllocal.pod |
84 rm -f $RPM_BUILD_ROOT%{_libdir}/gaim/*.la | |
85 find $RPM_BUILD_ROOT%{_libdir}/gaim -type f -print | \ | |
86 sed "s@^$RPM_BUILD_ROOT@@g" | \ | |
87 grep -v libsilcgaim.so > %{name}-%{version}-coreplugins | |
6736
e411a7d6378c
[gaim-migrate @ 7268]
Christian Hammond <chipx86@chipx86.com>
parents:
6653
diff
changeset
|
88 |
6171 | 89 %clean |
90 rm -rf %{buildroot} | |
322 | 91 |
9373 | 92 %files -f %{name}-%{version}-coreplugins |
3737
5939b57aeed8
[gaim-migrate @ 3875]
Christian Hammond <chipx86@chipx86.com>
parents:
3736
diff
changeset
|
93 %defattr(-, root, root) |
5939b57aeed8
[gaim-migrate @ 3875]
Christian Hammond <chipx86@chipx86.com>
parents:
3736
diff
changeset
|
94 |
8058 | 95 %doc doc/the_penguin.txt doc/CREDITS NEWS COPYING AUTHORS COPYRIGHT |
6171 | 96 %doc README ChangeLog |
97 %doc %{_mandir}/man1/* | |
7006 | 98 %doc %{_mandir}/man3*/* |
3737
5939b57aeed8
[gaim-migrate @ 3875]
Christian Hammond <chipx86@chipx86.com>
parents:
3736
diff
changeset
|
99 |
6246 | 100 %dir %{_libdir}/gaim |
6171 | 101 %attr(755, root, root) %{_libdir}/libgaim-remote.so.* |
6736
e411a7d6378c
[gaim-migrate @ 7268]
Christian Hammond <chipx86@chipx86.com>
parents:
6653
diff
changeset
|
102 %attr(755, root, root) %{_libdir}/perl5 |
e411a7d6378c
[gaim-migrate @ 7268]
Christian Hammond <chipx86@chipx86.com>
parents:
6653
diff
changeset
|
103 |
3737
5939b57aeed8
[gaim-migrate @ 3875]
Christian Hammond <chipx86@chipx86.com>
parents:
3736
diff
changeset
|
104 %{_bindir}/* |
5939b57aeed8
[gaim-migrate @ 3875]
Christian Hammond <chipx86@chipx86.com>
parents:
3736
diff
changeset
|
105 %{_datadir}/locale/*/*/* |
5939b57aeed8
[gaim-migrate @ 3875]
Christian Hammond <chipx86@chipx86.com>
parents:
3736
diff
changeset
|
106 %{_datadir}/pixmaps/* |
6246 | 107 %dir %{_datadir}/sounds/gaim |
4206
30b5741e4c87
[gaim-migrate @ 4442]
Christian Hammond <chipx86@chipx86.com>
parents:
4030
diff
changeset
|
108 %{_datadir}/sounds/gaim/* |
4030 | 109 %{_datadir}/applications/* |
547
8086ed233742
[gaim-migrate @ 557]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
369
diff
changeset
|
110 |
9373 | 111 %if %{?_with_silc:1}%{!?_with_silc:0} |
112 %files silc | |
113 %defattr(-, root, root) | |
114 | |
115 %{_libdir}/gaim/libsilcgaim.* | |
116 %endif | |
117 | |
6171 | 118 %files devel |
9373 | 119 %defattr(-, root, root) |
6171 | 120 |
6994
830070d70f3c
[gaim-migrate @ 7550]
Christian Hammond <chipx86@chipx86.com>
parents:
6736
diff
changeset
|
121 %doc plugins/HOWTO |
6301 | 122 %doc HACKING PROGRAMMING_NOTES |
6171 | 123 |
124 %attr(755, root, root) %{_libdir}/libgaim-remote.la | |
9364 | 125 %dir %{_includedir}/gaim |
126 %{_includedir}/gaim/*.h | |
127 %{_libdir}/pkgconfig/gaim.pc | |
2224 | 128 |
129 %changelog | |
9368 | 130 * Wed Jun 23 2004 Ethan Blanton <eblanton@cs.ohiou.edu> |
131 - Moved gaim headers and a pkgconfig configuration file into the | |
132 gaim-devel RPM (Stu Tomlinson) | |
133 | |
8115 | 134 * Thu Jan 15 2004 Ethan Blanton <eblanton@cs.ohiou.edu> |
135 - Removed the manual strip command, as it seems to be unwarranted if | |
136 the necessary programs are properly installed. (For me, this was | |
137 elfutils.) | |
138 | |
6246 | 139 * Sun Jul 20 2003 Bjoern Voigt <bjoern@cs.tu-berlin.de> |
140 - Added pkgconfig build dependency. | |
141 - if "%{_vendor}" != "MandrakeSoft" now also works with rpm 3.x. | |
142 - Added Gaim-specific directories to list of Gaim's files. | |
143 | |
6171 | 144 * Wed Jul 16 2003 Ethan Blanton <eblanton@cs.ohiou.edu> |
145 - Complete spec file rewrite to take advantage of "new" RPM features | |
146 and make things prettier. | |
147 - Use system-supplied %%{_prefix}, %%{_datadir}, etc. rather than | |
148 attempt to define our own. |