Summary(uk): GTK+ IRC Ë̦¤ÎÔ
Summary(zh_CN): GTK+ IRC (ÁÄÌì) ¿Í»§¡£
Name: xchat
-Version: 2.4.0
-Release: 2
+Version: 2.6.4
+Release: 1
Epoch: 1
License: GPL v2
Group: X11/Applications/Networking
-Source0: http://xchat.org/files/source/2.4/%{name}-%{version}.tar.bz2
-# Source0-md5: 084585b765509d5da355155189b16ecd
+Source0: http://xchat.org/files/source/2.6/%{name}-%{version}.tar.bz2
+# Source0-md5: 358f6cec635eab49fca99d324f76e065
Source1: %{name}-pl.po
Patch0: %{name}-desktop.patch
Patch1: %{name}-locale_names.patch
Patch2: %{name}-long-delimiter.patch
Patch3: %{name}-domains.patch
-Icon: xchat.xpm
-URL: http://xchat.org/
+URL: http://www.xchat.org/
+BuildRequires: GConf2-devel
BuildRequires: autoconf
BuildRequires: automake
+BuildRequires: dbus-glib-devel
BuildRequires: gettext-devel
BuildRequires: glib2-devel >= 2.0.3
-BuildRequires: gtk+2-devel >= 2.0.3
+BuildRequires: gtk+2-devel >= 1:2.0.3
BuildRequires: libtool
BuildRequires: openssl-devel >= 0.9.7d
BuildRequires: perl-devel
BuildRequires: pkgconfig
BuildRequires: python-devel >= 2.2
+BuildRequires: rpm-pythonprov
+Requires: GConf2
+Requires: perl(DynaLoader) = %(%{__perl} -MDynaLoader -e 'print DynaLoader->VERSION')
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
%patch2 -p1
%patch3 -p1
-mv -f po/{no,nb}.po
cp %{SOURCE1} po/pl.po
%build
%{__automake}
%configure \
--enable-gnome \
+ --enable-ipv6 \
+ --enable-japanese-conv \
+ --enable-openssl \
--enable-panel \
--enable-perl \
- --enable-openssl \
- --enable-japanese-conv \
- --enable-ipv6
+ --enable-shm
%{__make} -C po update-po
%{__make}
DESTDIR=$RPM_BUILD_ROOT \
utildir=%{_desktopdir}
-mv -f %{name}.desktop %{name}.desktop.orig
-sed -e 's/Network;/Network;InstantMessaging;/' %{name}.desktop.orig > %{name}.desktop
-
-install xchat.desktop $RPM_BUILD_ROOT%{_desktopdir}
-install xchat.png $RPM_BUILD_ROOT%{_pixmapsdir}
-
%find_lang %{name}
%clean
%attr(755,root,root) %{_libdir}/xchat/plugins/*
%{_desktopdir}/%{name}.desktop
%{_pixmapsdir}/%{name}.png
+%{_sysconfdir}/gconf/schemas/apps_xchat_url_handler.schemas