Summary(no): En GTK+-basert IRC-klient
Summary(pl): Oparty na Gtk+ klient IRC
Summary(pt): Um cliente de IRC (chat) em GTK+
-Summary(pt_BR): Cliente IRC Gnome
+Summary(pt_BR): Cliente IRC GNOME
Summary(ru): Gtk+ IRC ËÌÉÅÎÔ (chat)
Summary(sk): IRC klient zalo¾ený na GTK+
Summary(sl): Odjemnik v GTK+ za IRC (internetni klepet)
Summary(uk): Gtk+ IRC Ë̦¤ÎÔ
Summary(zh_CN): GTK+ IRC (ÁÄÌì) ¿Í»§¡£
Name: xchat
-Version: 1.9.7
+Version: 2.0.7
Release: 1
Epoch: 1
License: GPL
Group: X11/Applications/Networking
-Source0: http://xchat.org/files/source/1.8/%{name}-%{version}.tar.bz2
-Source1: %{name}-pl.po
-Patch0: %{name}-po.patch
-#Patch1: %{name}-fix-USE_GNOME.patch
-#Patch2: %{name}-fix-default-replace.patch
-#Patch3: %{name}-UTF8_desktop.patch
-#Patch4: %{name}-zh.patch
+Source0: http://xchat.org/files/source/2.0/%{name}-%{version}.tar.bz2
+# Source0-md5: f53bae43f4e89c6a8d873877d86df1b5
+#Source1: %{name}-pl.po
Icon: xchat.xpm
URL: http://xchat.org/
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gettext-devel
-BuildRequires: gtk+-devel >= 2.0.3
-BuildRequires: glib-devel >= 2.0.3
-#BuildRequires: gdk-pixbuf-devel
-#BuildRequires: gnome-core-devel
-BuildRequires: openssl-devel >= 0.9.6a
+BuildRequires: glib2-devel >= 2.0.3
+BuildRequires: gtk+2-devel >= 2.0.3
+BuildRequires: libtool
+BuildRequires: openssl-devel >= 0.9.7c
BuildRequires: perl-devel
+BuildRequires: pkgconfig
BuildRequires: python-devel >= 2.2
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-%define _prefix /usr/X11R6
-%define _mandir %{_prefix}/man
-
%description
X-Chat is yet another IRC client for the X Window System, using the
Gtk+ toolkit. It is pretty easy to use compared to the other Gtk+ IRC
%prep
%setup -q
-%patch0 -p1
-#%patch1 -p1
-#%patch2 -p1
-#%patch3 -p1
-#%patch4 -p1
+#%%patch2 -p1
+#%%patch3 -p1
-cp %{SOURCE1} po/pl.po
+#cp %{SOURCE1} po/pl.po
%build
rm -f config.status missing
+%{__libtoolize}
%{__gettextize}
-%{__aclocal}
+%{__aclocal} -I m4
%{__autoconf}
%{__automake}
%configure \
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT \
- utildir=%{_applnkdir}/Network/Communications
+ utildir=%{_desktopdir}
-install xchat.desktop $RPM_BUILD_ROOT%{_applnkdir}/Network/Communications
+install xchat.desktop $RPM_BUILD_ROOT%{_desktopdir}
install xchat.png $RPM_BUILD_ROOT%{_pixmapsdir}
%find_lang %{name}
%files -f %{name}.lang
%defattr(644,root,root,755)
-%doc README ChangeLog AUTHORS
+%doc ChangeLog faq.html HACKING README
%attr(755,root,root) %{_bindir}/*
-%{_applnkdir}/Network/Communications/xchat.desktop
-%{_pixmapsdir}/xchat.png
+%dir %{_libdir}/xchat
+%dir %{_libdir}/xchat/plugins
+%attr(755,root,root) %{_libdir}/xchat/plugins/*
+%{_desktopdir}/%{name}.desktop
+%{_pixmapsdir}/%{name}.png