1 Summary: Graphical IRC (chat) client
2 Summary(fr): Client IRC (chat) avec interface graphique
3 Summary(de): IRC-Client (Chat) mit grafischer Oberfläche
7 Group: X11/Applications/Networking
10 Source0: http://navi.cx/releases/%{name}-%{version}.tar.bz2
11 # Source0-md5: c057f7fc07c039e876f68529b9994352
12 Buildroot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13 BuildRequires: gettext-devel
14 BuildRequires: gtk+2-devel
18 A GUI IRC client with DCC file transfers, C plugin interface, Perl and
19 Python scripting capability, mIRC color, shaded transparency, tabbed
23 Summary: XChat Perl plugin
24 Group: X11/Applications/Networking
25 Requires: xchat-gnome = %{version}
28 Provides Perl scripting capability to XChat.
31 Summary: XChat Python plugin
32 Group: X11/Applications/Networking
33 Requires: xchat-gnome = %{version}
34 Requires: python2 >= 2.2.0
36 Provides Python scripting capability to XChat.
39 %setup -q -n %{name}-%{version}
42 %configure --disable-dependency-tracking --enable-gnomefe --disable-tcl
46 rm -rf $RPM_BUILD_ROOT
47 install -d $RPM_BUILD_ROOT%{_datadir}/applications $RPM_BUILD_ROOT%{_datadir}/pixmaps $RPM_BUILD_ROOT%{_libdir}/xchat/plugins
49 mv -f $RPM_BUILD_ROOT%{_bindir}/xchat-gnome $RPM_BUILD_ROOT%{_bindir}/xchat
50 strip -R .note -R .comment $RPM_BUILD_ROOT%{_libdir}/perl.so
51 strip -R .note -R .comment $RPM_BUILD_ROOT%{_libdir}/python.so
52 mv $RPM_BUILD_ROOT%{_libdir}/perl.so $RPM_BUILD_ROOT%{_libdir}/xchat/plugins
53 mv $RPM_BUILD_ROOT%{_libdir}/python.so $RPM_BUILD_ROOT%{_libdir}/xchat/plugins
54 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
55 mv $RPM_BUILD_ROOT%{_sysconfdir}/gconf/schemas/apps_xchat.schemas.in.in \
56 $RPM_BUILD_ROOT%{_sysconfdir}/gconf/schemas/apps_xchat.schemas
58 %find_lang xchat-gnome
61 export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
62 gconftool-2 --makefile-install-rule \
63 %{_sysconfdir}/gconf/schemas/apps_xchat.schemas \
66 %files -f xchat-gnome.lang
67 %defattr(644,root,root,755)
68 %doc README ChangeLog faq.html COPYING plugins/plugin20.html plugins/perl/xchat2-perldocs.html
69 %attr(755,root,root) %{_bindir}/xchat
70 %{_datadir}/applications/xchat.desktop
71 %{_datadir}/pixmaps/xchat.png
73 %{_sysconfdir}/gconf/schemas/apps_xchat.schemas
74 %{_datadir}/applications/xchat-gnome.desktop
75 %{_datadir}/pixmaps/xchat-gnome.png
78 %defattr(644,root,root,755)
79 %{_libdir}/xchat/plugins/perl.so
82 %defattr(644,root,root,755)
83 %{_libdir}/xchat/plugins/python.so
86 rm -rf $RPM_BUILD_ROOT