--- plugin_pack.spec 2008-03-12 19:33:57.000000000 +0100 +++ /home/matej/redhat/SPECS/purple-plugin_pack.spec 2008-03-12 19:33:32.000000000 +0100 @@ -1,52 +1,85 @@ -# -# pidgin_major_ver and pidgin_minor_ver should be defined to match the minimum -# Pidgin API version _required_ to build Plugin Pack -# Due to the way Pidgin checks plugin versions, we need to also ensure that -# the correct minimum version of Pidgin is Require:'d based on what version of -# the Pidgin headers we actually build with. -# - -%define pidgin_major_ver 2 -%define pidgin_minor_ver 0 -%define pidgin_next_major_ver %(echo $((%{pidgin_major_ver}+1))) -%define pidgin_build_minor_ver %(pkg-config --modversion pidgin | awk -F. '{ print $2 }') - -Summary: Plugin Pack for libpurple and derived IM clients -Name: purple-plugin_pack -Version: 2.3.0mtn - -Release: 0%{?pidgindist:.%{pidgindist}} -License: GPL -Group: Applications/Internet - -URL: http://plugins.guifications.org/ -Source0: %{name}-%{version}.tar.bz2 -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -BuildRequires: pkgconfig, libtool, gettext -%{!?_without_xmms:BuildRequires: xmms-devel} -BuildRequires: pidgin-devel >= %{pidgin_major_ver}.%{pidgin_minor_ver}, pidgin-devel < %{pidgin_next_major_ver} -%if "%{_vendor}" == "MandrakeSoft" || "%{_vendor}" == "Mandrakesoft" -BuildRequires: libgtk+2.0_0-devel -%else -BuildRequires: gtk2-devel -%endif -Requires: libpurple >= %{pidgin_major_ver}.%{pidgin_build_minor_ver}, libpurple < %{pidgin_next_major_ver} - -%package -n pidgin-plugin_pack -Summary: Plugin Pack for Pidgin -Group: Applications/Internet -Requires: pidgin >= %{pidgin_major_ver}.%{pidgin_build_minor_ver}, pidgin < %{pidgin_next_major_ver} -Requires: purple-plugin_pack = %{version} +Name: purple-plugin_pack +Version: 2.2.0 +Release: 5.mc.svn20080311.1%{?dist} +Summary: A set of plugins for libpurple, pidgin, and finch + +Group: Applications/Internet +License: GPLv2+ +URL: http://plugins.guifications.org/trac/wiki/PluginPack +#Source0: http://downloads.guifications.org/plugins/Plugin%20Pack/purple-plugin_pack-%{version}.tar.bz2 +Source0: purple-plugin_pack.tar.bz2 +Patch0: purple-plugin_pack-2.2.0-switchspell-enchant.patch +Patch1: purple-plugin_pack-MC-build.patch +Patch2: purple-plugin_pack-MC-install.patch +BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) + +BuildRequires: pidgin-devel xmms-devel perl(XML::Parser) gettext-devel +BuildRequires: enchant-devel +BuildRequires: diffutils +Provides: purple-plugin-pack = %{version}-%{release} %description -All the other plugins for all libpurple derived clients +This package contains a number of plugins for use with the purple IM/IRC +library: -%description -n pidgin-plugin_pack -All the other plugins for Pidgin +- Auto Reply +- Bash.org +- DeWYSIWYGification +- Dice +- Flip +- Highlight +- Ignore +- IRC Helper +- IRC More +- List Handler +- Magic 8 Ball +- Old Logger +- Show Offline +- Sim Fix +- Simple Network Paging Protocol (SNPP) +- Slash Exec +- SSL Info + +%package pidgin +Summary: A set of plugins for pidgin +Group: Applications/Internet +Requires: %{name} = %{version} +Provides: purple-plugin-pack-pidgin = %{version}-%{release} + +%description pidgin +This package contains a number of plugins for use with the pidgin client: + +- Album +- Buddy List Options +- Conversation Badger +- DiffTopic +- gRIM +- Irssi Features +- Last Seen +- My Status Box +- Nick Said +- Schedule +- Plonkers +- Separate and Tab +- Switch Spell +- Timelog +- XChat-Chats + +%package pidgin-xmms +Summary: A plugin for pidgin to control xmms +Group: Applications/Internet +Requires: %{name} = %{version} +Provides: purple-plugin-pack-pidgin-xmms = %{version}-%{release} + +%description pidgin-xmms +This package contains a plugin for pidgin to control xmms. %prep -%setup -q +%setup -q -n plugins +%patch0 -p 1 -b .enchant +%patch1 -p 1 -b .MC-build +%patch2 -p 1 -b .MC-install +NOCONFIGURE=True ./autogen.sh %build %configure @@ -55,9 +88,7 @@ %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT - -rm -f $RPM_BUILD_ROOT%{_libdir}/purple-2/*.la $RPM_BUILD_ROOT%{_libdir}/purple-2/*.a -rm -f $RPM_BUILD_ROOT%{_libdir}/pidgin/*.la $RPM_BUILD_ROOT%{_libdir}/pidgin/*.a +find $RPM_BUILD_ROOT -name \*.la -exec rm {} \; %find_lang plugin_pack %clean @@ -65,51 +96,44 @@ %files -f plugin_pack.lang %defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING README +%doc AUTHORS ChangeLog COPYING NEWS %{_libdir}/purple-2/*.so -%files -n pidgin-plugin_pack -f plugin_pack.lang +%files pidgin %defattr(-,root,root,-) -%doc AUTHORS ChangeLog COPYING README -%{_libdir}/pidgin/*.so +%doc AUTHORS ChangeLog COPYING NEWS %{_datadir}/pixmaps/pidgin/plugin_pack +%{_datadir}/pixmaps/pidgin/protocols +%{_libdir}/pidgin/[^x]*.so +%{_libdir}/pidgin/xchat-chats.so + +%files pidgin-xmms +%defattr(-,root,root,-) +%{_datadir}/pixmaps/pidgin/plugin_pack/xmmsremote +%{_libdir}/pidgin/xmmsremote.so %changelog -* Sat Mar 01 2008 Stu Tomlinson -- make the pidgin plugin pack depend on the purple plugin pack +* Tue Mar 11 2008 Matěj Cepl 2.2.0-5.mc.1 +- fix build (null -> NULL) +- add patch for fixing upstream bug 478. +- some cleaning of rpmlint issues + +* Thu Feb 14 2008 Ignacio Vazquez-Abrams 2.2.0-5 +- Rebuild for GCC 4.3 -* Sat Oct 27 2007 Stu Tomlinson -- Add --without xmms option to build without xmms plugin +* Tue Jan 8 2008 Ignacio Vazquez-Abrams 2.2.0-4 +- Switch from aspell to enchant (#427949) -* Mon Apr 30 2007 Stu Tomlinson -- Update for the rename of Gaim to Pidgin -- New URL for our new website -- Use tar.bz2 for source -- Split into pidgin- and purple- RPMs - -* Tue Dec 5 2006 John Bailey -- Update the URL to match our new website - -* Thu Oct 19 2006 Stu Tomlinson -- Removed locale from %%files, that's what %%find_lang is for -- Fixed finding translations -- Fixed %%s in %%changelog -- Package xmms pixmaps -- Add xmms-devel buildrequires - -* Sun Nov 11 2005 Peter Lawler -- Added locale to %%files -- Enabled %%find_lang - -* Thu Nov 03 2005 Stu Tomlinson -- Fix it again +* Mon Jan 7 2008 Ignacio Vazquez-Abrams 2.2.0-3 +- Switch from gtkspell to aspell -* Wed Nov 02 2005 Peter Lawler -- Fixed up the Mandrivel .so rename +* Thu Nov 15 2007 Ignacio Vazquez-Abrams 2.2.0-2 +- Added provides to other subpackages -* Tue Nov 01 2005 Stu Tomlinson -- Fix it +* Wed Nov 14 2007 Ignacio Vazquez-Abrams 2.2.0-1 +- Update to 2.2.0 +- Add provides of purple-plugin-pack -* Tue Nov 01 2005 Peter Lawler -- Initial Spec File for Plugin Pack +* Thu Oct 4 2007 Ignacio Vazquez-Abrams 2.1.1-1 +- Initial RPM release