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