Mercurial > pidgin.yaz
annotate gaim.spec.in @ 10882:83e119608cb5
[gaim-migrate @ 12580]
and for head too..
committer: Tailor Script <tailor@pidgin.im>
author | Gary Kramlich <grim@reaperworld.com> |
---|---|
date | Thu, 28 Apr 2005 00:12:24 +0000 |
parents | 364a2ef907ae |
children | 29bec53bd2d2 |
rev | line source |
---|---|
10814
364a2ef907ae
[gaim-migrate @ 12468]
Luke Schierer <lschiere@pidgin.im>
parents:
10303
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 | |
10073 | 100 |
101 %if %{!?_with_silc:1}%{?_with_silc:0} | |
102 rm -f $RPM_BUILD_ROOT%{_libdir}/gaim/libsilcgaim.so | |
103 %endif | |
104 | |
105 %if %{!?_with_tcl:1}%{?_with_tcl:0} | |
106 rm -f $RPM_BUILD_ROOT%{_libdir}/gaim/tcl.so | |
107 %endif | |
108 | |
9373 | 109 find $RPM_BUILD_ROOT%{_libdir}/gaim -type f -print | \ |
110 sed "s@^$RPM_BUILD_ROOT@@g" | \ | |
9429 | 111 grep -v libsilcgaim.so | |
112 grep -v tcl.so | | |
113 grep -v ".tcl$" > %{name}-%{version}-coreplugins | |
6736
e411a7d6378c
[gaim-migrate @ 7268]
Christian Hammond <chipx86@chipx86.com>
parents:
6653
diff
changeset
|
114 |
6171 | 115 %clean |
116 rm -rf %{buildroot} | |
322 | 117 |
9373 | 118 %files -f %{name}-%{version}-coreplugins |
3737
5939b57aeed8
[gaim-migrate @ 3875]
Christian Hammond <chipx86@chipx86.com>
parents:
3736
diff
changeset
|
119 %defattr(-, root, root) |
5939b57aeed8
[gaim-migrate @ 3875]
Christian Hammond <chipx86@chipx86.com>
parents:
3736
diff
changeset
|
120 |
8058 | 121 %doc doc/the_penguin.txt doc/CREDITS NEWS COPYING AUTHORS COPYRIGHT |
6171 | 122 %doc README ChangeLog |
123 %doc %{_mandir}/man1/* | |
7006 | 124 %doc %{_mandir}/man3*/* |
3737
5939b57aeed8
[gaim-migrate @ 3875]
Christian Hammond <chipx86@chipx86.com>
parents:
3736
diff
changeset
|
125 |
6246 | 126 %dir %{_libdir}/gaim |
6171 | 127 %attr(755, root, root) %{_libdir}/libgaim-remote.so.* |
6736
e411a7d6378c
[gaim-migrate @ 7268]
Christian Hammond <chipx86@chipx86.com>
parents:
6653
diff
changeset
|
128 %attr(755, root, root) %{_libdir}/perl5 |
e411a7d6378c
[gaim-migrate @ 7268]
Christian Hammond <chipx86@chipx86.com>
parents:
6653
diff
changeset
|
129 |
3737
5939b57aeed8
[gaim-migrate @ 3875]
Christian Hammond <chipx86@chipx86.com>
parents:
3736
diff
changeset
|
130 %{_bindir}/* |
5939b57aeed8
[gaim-migrate @ 3875]
Christian Hammond <chipx86@chipx86.com>
parents:
3736
diff
changeset
|
131 %{_datadir}/locale/*/*/* |
5939b57aeed8
[gaim-migrate @ 3875]
Christian Hammond <chipx86@chipx86.com>
parents:
3736
diff
changeset
|
132 %{_datadir}/pixmaps/* |
6246 | 133 %dir %{_datadir}/sounds/gaim |
4206
30b5741e4c87
[gaim-migrate @ 4442]
Christian Hammond <chipx86@chipx86.com>
parents:
4030
diff
changeset
|
134 %{_datadir}/sounds/gaim/* |
4030 | 135 %{_datadir}/applications/* |
547
8086ed233742
[gaim-migrate @ 557]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
369
diff
changeset
|
136 |
9373 | 137 %if %{?_with_silc:1}%{!?_with_silc:0} |
138 %files silc | |
139 %defattr(-, root, root) | |
140 | |
141 %{_libdir}/gaim/libsilcgaim.* | |
142 %endif | |
143 | |
9545 | 144 %if %{?_with_tcl:1}%{!?_with_tcl:0} |
9429 | 145 %files tcl |
146 %defattr(-, root, root) | |
147 | |
148 %{_libdir}/gaim/tcl.so | |
149 %endif | |
150 | |
6171 | 151 %files devel |
9373 | 152 %defattr(-, root, root) |
6171 | 153 |
10303 | 154 %doc HACKING PROGRAMMING_NOTES |
6994
830070d70f3c
[gaim-migrate @ 7550]
Christian Hammond <chipx86@chipx86.com>
parents:
6736
diff
changeset
|
155 %doc plugins/HOWTO |
10303 | 156 %doc plugins/tcl/TCL-HOWTO |
6171 | 157 |
9400 | 158 %attr(755, root, root) %{_libdir}/libgaim-remote.so |
6171 | 159 %attr(755, root, root) %{_libdir}/libgaim-remote.la |
9364 | 160 %dir %{_includedir}/gaim |
161 %{_includedir}/gaim/*.h | |
162 %{_libdir}/pkgconfig/gaim.pc | |
2224 | 163 |
164 %changelog | |
10073 | 165 * Sat Oct 2 2004 Stu Tomlinson <stu@nosnilmot.com> |
166 - If --with tcl or silc are not specified, make sure the plugins don't | |
167 exist to prevent RPM complaining about unpackaged files | |
168 | |
9429 | 169 * Tue Jun 29 2004 Ethan Blanton <eblanton@cs.ohiou.edu> |
170 - Change Tcl to use --with tcl, the same as SILC, and build a gaim-tcl | |
171 package if specified. | |
172 | |
9400 | 173 * Thu Jun 24 2004 Mark Doliner <thekingant@users.sourceforge.net> |
174 - Add --with silc rebuild option for compiling a separate gaim-silc | |
175 RPM containing the silc protocol plugin (Stu Tomlinson). | |
176 | |
9368 | 177 * Wed Jun 23 2004 Ethan Blanton <eblanton@cs.ohiou.edu> |
178 - Moved gaim headers and a pkgconfig configuration file into the | |
9400 | 179 gaim-devel RPM (Stu Tomlinson). |
9368 | 180 |
8115 | 181 * Thu Jan 15 2004 Ethan Blanton <eblanton@cs.ohiou.edu> |
182 - Removed the manual strip command, as it seems to be unwarranted if | |
183 the necessary programs are properly installed. (For me, this was | |
184 elfutils.) | |
185 | |
6246 | 186 * Sun Jul 20 2003 Bjoern Voigt <bjoern@cs.tu-berlin.de> |
187 - Added pkgconfig build dependency. | |
188 - if "%{_vendor}" != "MandrakeSoft" now also works with rpm 3.x. | |
189 - Added Gaim-specific directories to list of Gaim's files. | |
190 | |
6171 | 191 * Wed Jul 16 2003 Ethan Blanton <eblanton@cs.ohiou.edu> |
192 - Complete spec file rewrite to take advantage of "new" RPM features | |
193 and make things prettier. | |
194 - Use system-supplied %%{_prefix}, %%{_datadir}, etc. rather than | |
195 attempt to define our own. |