Mercurial > pidgin
comparison pidgin.spec.in @ 16269:c14a05c00484
merge of '6b7a5fb8f33d3f1801a33540b42b5fb01b69511a'
and '7d305ece871339300b733aa498ca247d21b5aa41'
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Fri, 20 Apr 2007 00:47:30 +0000 |
parents | eae8f64218ba |
children | d7f00937b3a4 |
comparison
equal
deleted
inserted
replaced
16253:a68fffb647d0 | 16269:c14a05c00484 |
---|---|
16 | 16 |
17 Summary: A GTK+ based multiprotocol instant messaging client | 17 Summary: A GTK+ based multiprotocol instant messaging client |
18 Name: @PACKAGE@ | 18 Name: @PACKAGE@ |
19 Version: %pidginver | 19 Version: %pidginver |
20 Release: 0%{?beta:.beta%{beta}} | 20 Release: 0%{?beta:.beta%{beta}} |
21 Epoch: 0 | 21 Epoch: 2 |
22 License: GPL | 22 License: GPL |
23 Group: Applications/Internet | 23 Group: Applications/Internet |
24 URL: http://pidgin.im/ | 24 URL: http://pidgin.im/ |
25 Source: %{name}-@VERSION@.tar.bz2 | 25 Source: %{name}-@VERSION@.tar.bz2 |
26 BuildRoot: %{_tmppath}/%{name}-%{version}-root | 26 BuildRoot: %{_tmppath}/%{name}-%{version}-root |
70 Obsoletes: gaim | 70 Obsoletes: gaim |
71 | 71 |
72 %package devel | 72 %package devel |
73 Summary: Development headers, documentation, and libraries for Pidgin | 73 Summary: Development headers, documentation, and libraries for Pidgin |
74 Group: Applications/Internet | 74 Group: Applications/Internet |
75 Requires: pkgconfig, pidgin = %{epoch}:%{version}, libpurple-devel = %{epoch}:%{version} | 75 Requires: pidgin = %{epoch}:%{version}, libpurple-devel = %{epoch}:%{version} |
76 Requires: pkgconfig | |
76 Obsoletes: gaim-devel | 77 Obsoletes: gaim-devel |
77 | 78 |
78 %package -n libpurple | 79 %package -n libpurple |
79 Summary: libpurple library for IM clients like Pidgin and Finch | 80 Summary: libpurple library for IM clients like Pidgin and Finch |
80 Group: Applications/Internet | 81 Group: Applications/Internet |
84 | 85 |
85 %package -n libpurple-devel | 86 %package -n libpurple-devel |
86 Summary: Development headers, documentation, and libraries for libpurple | 87 Summary: Development headers, documentation, and libraries for libpurple |
87 Group: Applications/Internet | 88 Group: Applications/Internet |
88 Requires: libpurple = %{epoch}:%{version} | 89 Requires: libpurple = %{epoch}:%{version} |
90 Requires: pkgconfig | |
89 | 91 |
90 %if 0%{?_with_howl:1} || 0%{?_with_avahi:1} | 92 %if 0%{?_with_howl:1} || 0%{?_with_avahi:1} |
91 %package -n libpurple-bonjour | 93 %package -n libpurple-bonjour |
92 Summary: Bonjour plugin for Pidgin | 94 Summary: Bonjour plugin for Pidgin |
93 Group: Applications/Internet | 95 Group: Applications/Internet |
116 | 118 |
117 %package -n finch-devel | 119 %package -n finch-devel |
118 Summary: Headers etc. for finch stuffs | 120 Summary: Headers etc. for finch stuffs |
119 Group: Applications/Internet | 121 Group: Applications/Internet |
120 Requires: finch = %{epoch}:%{version}, libpurple-devel = %{epoch}:%{version} | 122 Requires: finch = %{epoch}:%{version}, libpurple-devel = %{epoch}:%{version} |
123 Requires: pkgconfig | |
121 %endif | 124 %endif |
122 | 125 |
123 %description | 126 %description |
124 Pidgin allows you to talk to anyone using a variety of messaging | 127 Pidgin allows you to talk to anyone using a variety of messaging |
125 protocols including AIM, MSN, Yahoo!, Jabber, Bonjour, Gadu-Gadu, | 128 protocols including AIM, MSN, Yahoo!, Jabber, Bonjour, Gadu-Gadu, |
226 rm -f $RPM_BUILD_ROOT%{_libdir}/libpurple/private/*.la | 229 rm -f $RPM_BUILD_ROOT%{_libdir}/libpurple/private/*.la |
227 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la | 230 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la |
228 rm -f $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod | 231 rm -f $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod |
229 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' | 232 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' |
230 find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';' | 233 find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';' |
231 # do we want to ship the nullclient ? | |
232 rm -f $RPM_BUILD_ROOT%{_bindir}/nullclient | |
233 rm -f $RPM_BUILD_ROOT%{_datadir}/pixmaps/gaim.svg | 234 rm -f $RPM_BUILD_ROOT%{_datadir}/pixmaps/gaim.svg |
234 | 235 |
235 %if 0%{!?_with_howl:1} && 0%{!?_with_avahi:1} | 236 %if 0%{!?_with_howl:1} && 0%{!?_with_avahi:1} |
236 rm -f $RPM_BUILD_ROOT%{_libdir}/libpurple/libbonjour.so | 237 rm -f $RPM_BUILD_ROOT%{_libdir}/libpurple/libbonjour.so |
237 %endif | 238 %endif |
295 export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` | 296 export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
296 gconftool-2 --makefile-install-rule \ | 297 gconftool-2 --makefile-install-rule \ |
297 %{_sysconfdir}/gconf/schemas/purple.schemas > /dev/null || : | 298 %{_sysconfdir}/gconf/schemas/purple.schemas > /dev/null || : |
298 killall -HUP gconfd-2 || : | 299 killall -HUP gconfd-2 || : |
299 fi | 300 fi |
300 /sbin/ldconfig | 301 |
302 %post -n libpurple -p /sbin/ldconfig | |
303 | |
304 %post -n finch -p /sbin/ldconfig | |
301 | 305 |
302 %preun | 306 %preun |
303 if [ "$1" -eq 0 -a -n "`which gconftool-2 2>/dev/null`" ]; then | 307 if [ "$1" -eq 0 -a -n "`which gconftool-2 2>/dev/null`" ]; then |
304 export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` | 308 export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
305 gconftool-2 --makefile-uninstall-rule \ | 309 gconftool-2 --makefile-uninstall-rule \ |
306 %{_sysconfdir}/gconf/schemas/purple.schemas > /dev/null || : | 310 %{_sysconfdir}/gconf/schemas/purple.schemas > /dev/null || : |
307 killall -HUP gconfd-2 || : | 311 killall -HUP gconfd-2 || : |
308 fi | 312 fi |
309 | 313 |
310 %postun -p /sbin/ldconfig | 314 %postun -n libpurple -p /sbin/ldconfig |
315 | |
316 %postun -n finch -p /sbin/ldconfig | |
311 | 317 |
312 %files -f %{name}-%{version}-pidginplugins | 318 %files -f %{name}-%{version}-pidginplugins |
313 %defattr(-, root, root) | 319 %defattr(-, root, root) |
314 | 320 |
315 %doc AUTHORS | 321 %doc AUTHORS |
328 %attr(755, root, root) %{perl_vendorarch}/Purple/* | 334 %attr(755, root, root) %{perl_vendorarch}/Purple/* |
329 %attr(755, root, root) %{perl_vendorarch}/auto/Purple/GtkUI* | 335 %attr(755, root, root) %{perl_vendorarch}/auto/Purple/GtkUI* |
330 | 336 |
331 %{_bindir}/pidgin | 337 %{_bindir}/pidgin |
332 %{_datadir}/pixmaps/pidgin | 338 %{_datadir}/pixmaps/pidgin |
333 %{_datadir}/pixmaps/pidgin.svg | |
334 %dir %{_datadir}/sounds/pidgin | 339 %dir %{_datadir}/sounds/pidgin |
335 %{_datadir}/sounds/pidgin/* | 340 %{_datadir}/sounds/pidgin/* |
336 %{_datadir}/applications/* | 341 %{_datadir}/applications/* |
337 %{_sysconfdir}/gconf/schemas/purple.schemas | 342 %{_sysconfdir}/gconf/schemas/purple.schemas |
338 | 343 |
425 %{_libdir}/libgnt.so | 430 %{_libdir}/libgnt.so |
426 | 431 |
427 %endif | 432 %endif |
428 | 433 |
429 %changelog | 434 %changelog |
435 * Thu Apr 19 2007 Stu Tomlinson <stu@nosnilmot.com> | |
436 - Fix pkgconfig Requires | |
437 - Add ldconfig in pre/post scripts for libpurple & finch | |
438 - Bump Epoch to 2 because Fedora unfortunately forgot to drop the Epoch | |
439 during the rename :( | |
440 | |
430 * Tue Apr 17 2007 Stu Tomlinson <stu@nosnilmot.com> | 441 * Tue Apr 17 2007 Stu Tomlinson <stu@nosnilmot.com> |
431 - Add some Obsolete:s to help upgrades | 442 - Add some Obsolete:s to help upgrades |
432 - Remove explicit Packager: %%{packager} from spec, it was redundant | 443 - Remove explicit Packager: %%{packager} from spec, it was redundant |
433 | 444 |
434 * Sun Apr 15 2007 Stu Tomlinson <stu@nosnilmot.com> | 445 * Sun Apr 15 2007 Stu Tomlinson <stu@nosnilmot.com> |