Summary(fr): Client IRC (chat) avec interface graphique
Summary(pl): Graficzny klient IRC (chat)
Name: xchat-gnome
-Version: 0.2
-Release: 0.1
+Version: 0.10
+Release: 1
Group: X11/Applications/Networking
License: GPL
-Source0: http://navi.cx/releases/%{name}-%{version}.tar.bz2
-# Source0-md5: f063da0f0a536c7dac6015b9c32da5a7
+Source0: http://flapjack.navi.cx/releases/%{name}/%{name}-%{version}.tar.bz2
+# Source0-md5: 1ff2b7adfc71592951ee843599a8c8f7
+Patch0: %{name}-long-delimiter.patch
URL: http://xchat.org/
BuildRequires: gettext-devel
BuildRequires: gtk+2-devel >= 2.0.0
+BuildRequires: enchant-devel
+BuildRequires: libnotify-devel
+BuildRequires: libsexy-devel
BuildRequires: python-devel
+BuildRequires: perl-devel
Requires(post): GConf2
-Conflicts: xchat
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
%prep
%setup -q
+%patch0 -p1
%build
%configure \
--disable-dependency-tracking \
--enable-gnomefe \
+ --enable-ipv6 \
--disable-tcl
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_desktopdir} \
- $RPM_BUILD_ROOT%{_pixmapsdir} \
- $RPM_BUILD_ROOT%{_libdir}/xchat/plugins
+ $RPM_BUILD_ROOT%{_pixmapsdir}
-%makeinstall
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
-mv -f $RPM_BUILD_ROOT%{_bindir}/xchat-gnome $RPM_BUILD_ROOT%{_bindir}/xchat
-mv -f $RPM_BUILD_ROOT%{_libdir}/perl.so $RPM_BUILD_ROOT%{_libdir}/xchat/plugins
-mv -f $RPM_BUILD_ROOT%{_libdir}/python.so $RPM_BUILD_ROOT%{_libdir}/xchat/plugins
-rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
-mv -f $RPM_BUILD_ROOT%{_sysconfdir}/gconf/schemas/apps_xchat.schemas.in.in \
- $RPM_BUILD_ROOT%{_sysconfdir}/gconf/schemas/apps_xchat.schemas
+rm $RPM_BUILD_ROOT/%{_libdir}/xchat-gnome/plugins/*.a
+rm $RPM_BUILD_ROOT/%{_libdir}/xchat-gnome/plugins/*.la
-%find_lang xchat-gnome
+%find_lang xchat-gnome --with-gnome
%clean
rm -rf $RPM_BUILD_ROOT
%files -f xchat-gnome.lang
%defattr(644,root,root,755)
-%doc README ChangeLog faq.html plugins/plugin20.html plugins/perl/xchat2-perldocs.html
-%attr(755,root,root) %{_bindir}/xchat
-%dir %{_libdir}/xchat
-%dir %{_libdir}/xchat/plugins
-%{_datadir}/xchat
-%{_desktopdir}/xchat.desktop
+%doc README ChangeLog
+%attr(755,root,root) %{_bindir}/xchat-gnome
+%attr(755,root,root) %{_bindir}/xchat-gnome-remote
+%dir %{_libdir}/xchat-gnome
+%attr(755,root,root) %{_libdir}/xchat-gnome/plugins/autoaway.so
+%attr(755,root,root) %{_libdir}/xchat-gnome/plugins/dbus.so
+%attr(755,root,root) %{_libdir}/xchat-gnome/plugins/netmonitor.so
+%attr(755,root,root) %{_libdir}/xchat-gnome/plugins/notification.so
+%attr(755,root,root) %{_libdir}/xchat-gnome/plugins/notifyosd.so
+%attr(755,root,root) %{_libdir}/xchat-gnome/plugins/soundnotification.so
+%attr(755,root,root) %{_libdir}/xchat-gnome/plugins/urlscraper.so
+%{_datadir}/xchat-gnome
%{_desktopdir}/xchat-gnome.desktop
-%{_pixmapsdir}/xchat.png
%{_pixmapsdir}/xchat-gnome.png
-%{_sysconfdir}/gconf/schemas/apps_xchat.schemas
+%{_sysconfdir}/gconf/schemas/*.schemas
+%{_omf_dest_dir}/%{name}/xchat-gnome-C.omf
+
%files perl
%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/xchat/plugins/perl.so
+%attr(755,root,root) %{_libdir}/xchat-gnome/plugins/perl.so
%files python
%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/xchat/plugins/python.so
+%attr(755,root,root) %{_libdir}/xchat-gnome/plugins/python.so