comparison pidgin.spec.in @ 16159:5b02cf4373a4

Drop -tcl & -silc sub-packages, include both in the main libpurple RPM. Update some of the other sub package descriptions to be a bit more ... descriptive
author Stu Tomlinson <stu@nosnilmot.com>
date Sun, 15 Apr 2007 19:34:50 +0000
parents c4f779253fab
children 8625c519d3a7
comparison
equal deleted inserted replaced
16158:1a64f972865c 16159:5b02cf4373a4
32 %{!?_without_gtkspell:BuildRequires: gtkspell-devel} 32 %{!?_without_gtkspell:BuildRequires: gtkspell-devel}
33 %{?_with_howl:BuildRequires: howl-devel} 33 %{?_with_howl:BuildRequires: howl-devel}
34 %{?_with_meanwhile:BuildRequires: meanwhile-devel} 34 %{?_with_meanwhile:BuildRequires: meanwhile-devel}
35 %{?_with_mono:BuildRequires: mono-devel} 35 %{?_with_mono:BuildRequires: mono-devel}
36 %{?_with_sasl:BuildRequires: cyrus-sasl-devel >= 2} 36 %{?_with_sasl:BuildRequires: cyrus-sasl-devel >= 2}
37 %{?_with_silc:BuildRequires: /usr/include/silc/silcclient.h} 37 %{!?_without_silc:BuildRequires: /usr/include/silc/silcclient.h}
38 %{?_with_tcl:BuildRequires: tcl, tk, /usr/include/tcl.h} 38 %{!?_without_tcl:BuildRequires: tcl, tk, /usr/include/tcl.h}
39 %{!?_without_text:BuildRequires: ncurses-devel} 39 %{!?_without_text:BuildRequires: ncurses-devel}
40 40
41 %if "%{_vendor}" == "suse" 41 %if "%{_vendor}" == "suse"
42 # For SuSE: 42 # For SuSE:
43 BuildRequires: gnutls-devel 43 BuildRequires: gnutls-devel
106 Summary: Mono .NET plugin support for Pidgin 106 Summary: Mono .NET plugin support for Pidgin
107 Group: Applications/Internet 107 Group: Applications/Internet
108 Requires: libpurple = %{epoch}:%{version} 108 Requires: libpurple = %{epoch}:%{version}
109 %endif 109 %endif
110 110
111 %if 0%{?_with_silc:1}
112 %package -n libpurple-silc
113 Summary: SILC (Secure Internet Live Conferencing) plugin for Pidgin
114 Group: Applications/Internet
115 Requires: libpurple = %{epoch}:%{version}
116 %endif
117
118 %if 0%{?_with_tcl:1}
119 %package -n libpurple-tcl
120 Summary: Tcl scripting support for Pidgin
121 Group: Applications/Internet
122 Requires: libpurple = %{epoch}:%{version}
123 %endif
124
125 %if 0%{!?_without_text:1} 111 %if 0%{!?_without_text:1}
126 %package -n finch 112 %package -n finch
127 Summary: A text-based user interface for Pidgin 113 Summary: A text-based user interface for Pidgin
128 Group: Applications/Internet 114 Group: Applications/Internet
129 Requires: libpurple = %{epoch}:%{version} 115 Requires: libpurple = %{epoch}:%{version}
152 The pidgin-devel package contains the header files, developer 138 The pidgin-devel package contains the header files, developer
153 documentation, and libraries required for development of Pidgin scripts 139 documentation, and libraries required for development of Pidgin scripts
154 and plugins. 140 and plugins.
155 141
156 %description -n libpurple 142 %description -n libpurple
157 someone write a good description of libpurple please 143 libpurple contains the core IM support for IM clients such as Pidgin
144 and Finch.
145
146 libpurple supports a variety of messaging protocols including AIM, MSN,
147 Yahoo!, Jabber, Bonjour, Gadu-Gadu, ICQ, IRC, Novell Groupwise, QQ,
148 Lotus Sametime, SILC, Simple and Zephyr.
158 149
159 %description -n libpurple-devel 150 %description -n libpurple-devel
160 someone write a good description of libpurple-devel please 151 The libpurple-devel package contains the header files, developer
152 documentation, and libraries required for development of libpurple based
153 instant messaging clients or plugins for any libpurple based client.
161 154
162 %if 0%{?_with_howl:1} || 0%{?_with_avahi:1} 155 %if 0%{?_with_howl:1} || 0%{?_with_avahi:1}
163 %description -n libpurple-bonjour 156 %description -n libpurple-bonjour
164 Bonjour plugin for Pidgin. 157 Bonjour plugin for Pidgin.
165 %endif 158 %endif
171 164
172 %if 0%{?_with_mono:1} 165 %if 0%{?_with_mono:1}
173 %description -n libpurple-mono 166 %description -n libpurple-mono
174 Mono plugin loader for Pidgin. This package will allow you to write or 167 Mono plugin loader for Pidgin. This package will allow you to write or
175 use Pidgin plugins written in the .NET programming language. 168 use Pidgin plugins written in the .NET programming language.
176 %endif
177
178 %if 0%{?_with_silc:1}
179 %description -n libpurple-silc
180 SILC (Secure Internet Live Conferencing) plugin for Pidgin.
181 %endif 169 %endif
182 170
183 %if 0%{!?_without_text:1} 171 %if 0%{!?_without_text:1}
184 %description -n finch 172 %description -n finch
185 A text-based user interface for using libpurple. This can be run from a 173 A text-based user interface for using libpurple. This can be run from a
186 standard text console or from a terminal within X Windows. It 174 standard text console or from a terminal within X Windows. It
187 uses ncurses and our homegrown gnt library for drawing windows 175 uses ncurses and our homegrown gnt library for drawing windows
188 and text. 176 and text.
189 177
190 %description -n finch-devel 178 %description -n finch-devel
191 Finch devel blah blah 179 The finch-devel package contains the header files, developer
192 %endif 180 documentation, and libraries required for development of Finch scripts
193 181 and plugins.
194 %if 0%{?_with_tcl:1}
195 %description -n libpurple-tcl
196 Tcl plugin loader for Pidgin. This package will allow you to write or
197 use Pidgin plugins written in the Tcl programming language.
198 %endif 182 %endif
199 183
200 %prep 184 %prep
201 %setup -q -n %{name}-@VERSION@ 185 %setup -q -n %{name}-@VERSION@
202 186
214 %{?_without_gtkspell:--disable-gtkspell} \ 198 %{?_without_gtkspell:--disable-gtkspell} \
215 %{?_with_mono:--enable-mono} \ 199 %{?_with_mono:--enable-mono} \
216 %{?_with_perlmakehack:--with-perl-lib=%{buildroot}%{_prefix}} \ 200 %{?_with_perlmakehack:--with-perl-lib=%{buildroot}%{_prefix}} \
217 %{!?_with_perlmakehack:--with-perl-lib=%{_prefix}} \ 201 %{!?_with_perlmakehack:--with-perl-lib=%{_prefix}} \
218 %{?_with_sasl:--enable-cyrus-sasl} \ 202 %{?_with_sasl:--enable-cyrus-sasl} \
219 %{?_with_silc:--with-silc-includes=%{_includedir}/silc} \ 203 %{!?_without_silc:--with-silc-includes=%{_includedir}/silc} \
220 %{?_with_silc:--with-silc-libs=%{_libdir}/silc} \ 204 %{!?_without_silc:--with-silc-libs=%{_libdir}/silc} \
221 %{!?_with_tcl:--disable-tcl} \ 205 %{?_without_tcl:--disable-tcl} \
222 %{?_without_text:--disable-consoleui} 206 %{?_without_text:--disable-consoleui}
223 207
224 make %{?_smp_mflags} 208 make %{?_smp_mflags}
225 209
226 %install 210 %install
259 %if 0%{!?_with_mono:1} 243 %if 0%{!?_with_mono:1}
260 rm -f $RPM_BUILD_ROOT%{_libdir}/libpurple/mono.so 244 rm -f $RPM_BUILD_ROOT%{_libdir}/libpurple/mono.so
261 rm -f $RPM_BUILD_ROOT%{_libdir}/libpurple/*.dll 245 rm -f $RPM_BUILD_ROOT%{_libdir}/libpurple/*.dll
262 %endif 246 %endif
263 247
264 %if 0%{!?_with_silc:1} 248 %if 0%{?_without_silc:1}
265 rm -f $RPM_BUILD_ROOT%{_libdir}/libpurple/libsilcpurple.so 249 rm -f $RPM_BUILD_ROOT%{_libdir}/libpurple/libsilcpurple.so
266 %endif 250 %endif
267 251
268 %if 0%{!?_with_tcl:1} 252 %if 0%{?_without_tcl:1}
269 rm -f $RPM_BUILD_ROOT%{_libdir}/libpurple/tcl.so 253 rm -f $RPM_BUILD_ROOT%{_libdir}/libpurple/tcl.so
270 %endif 254 %endif
271 255
272 %if 0%{?_without_text:1} 256 %if 0%{?_without_text:1}
273 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/finch.* 257 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/finch.*
278 %find_lang %{name} 262 %find_lang %{name}
279 263
280 find $RPM_BUILD_ROOT%{_libdir}/libpurple -xtype f -print | \ 264 find $RPM_BUILD_ROOT%{_libdir}/libpurple -xtype f -print | \
281 sed "s@^$RPM_BUILD_ROOT@@g" | \ 265 sed "s@^$RPM_BUILD_ROOT@@g" | \
282 grep -v /libbonjour.so | \ 266 grep -v /libbonjour.so | \
283 grep -v /libsilcpurple.so | \
284 grep -v /libsametime.so | \ 267 grep -v /libsametime.so | \
285 grep -v /mono.so | \ 268 grep -v /mono.so | \
286 grep -v /tcl.so | \ 269 grep -v ".dll$" > %{name}-%{version}-purpleplugins
287 grep -v ".dll$" | \
288 grep -v ".tcl$" > %{name}-%{version}-purpleplugins
289 270
290 find $RPM_BUILD_ROOT%{_libdir}/pidgin -xtype f -print | \ 271 find $RPM_BUILD_ROOT%{_libdir}/pidgin -xtype f -print | \
291 sed "s@^$RPM_BUILD_ROOT@@g" > %{name}-%{version}-pidginplugins 272 sed "s@^$RPM_BUILD_ROOT@@g" > %{name}-%{version}-pidginplugins
292 273
293 find $RPM_BUILD_ROOT%{_libdir}/finch -xtype f -print | \ 274 find $RPM_BUILD_ROOT%{_libdir}/finch -xtype f -print | \
424 405
425 %{_libdir}/libpurple/mono.so 406 %{_libdir}/libpurple/mono.so
426 %{_libdir}/libpurple/*.dll 407 %{_libdir}/libpurple/*.dll
427 %endif 408 %endif
428 409
429 %if 0%{?_with_silc:1}
430 %files -n libpurple-silc
431 %defattr(-, root, root)
432
433 %{_libdir}/libpurple/libsilcpurple.*
434 %endif
435
436 %if 0%{?_with_tcl:1}
437 %files -n libpurple-tcl
438 %defattr(-, root, root)
439
440 %{_libdir}/libpurple/tcl.so
441 %endif
442
443 %if 0%{!?_without_text:1} 410 %if 0%{!?_without_text:1}
444 %files -f %{name}-%{version}-finchplugins -n finch 411 %files -f %{name}-%{version}-finchplugins -n finch
445 %defattr(-, root, root) 412 %defattr(-, root, root)
446 413
447 %doc %{_mandir}/man1/finch.* 414 %doc %{_mandir}/man1/finch.*
459 %{_libdir}/libgnt.so 426 %{_libdir}/libgnt.so
460 427
461 %endif 428 %endif
462 429
463 %changelog 430 %changelog
431 * Sun Apr 15 2007 Stu Tomlinson <stu@nosnilmot.com>
432 - Fix for building without Finch
433 - Drop -tcl & -silc sub-packages, include them in the main libpurple
434 package (--without tcl and --without silc can be used to build libpurple
435 without support for these).
436
464 * Thu Apr 12 2007 Stu Tomlinson <stu@nosnilmot.com> 437 * Thu Apr 12 2007 Stu Tomlinson <stu@nosnilmot.com>
465 - Actually move libpurple.so.* to the libpurple RPM 438 - Actually move libpurple.so.* to the libpurple RPM
466 439
467 * Wed Apr 11 2007 Stu Tomlinson <stu@nosnilmot.com> 440 * Wed Apr 11 2007 Stu Tomlinson <stu@nosnilmot.com>
468 - Separate out libpurple, libpurple-devel and finch-devel 441 - Separate out libpurple, libpurple-devel and finch-devel