1 Summary: Improved color IRC client with built-in scripts
2 Summary(pl): Ulepszony, kolorowy klient IRC z wbudowanymi skryptami
7 Group: Applications/Networking
8 Group(pl): Aplikacje/Sieciowe
9 Source0: ftp://ftp.bitchx.com/pub/BitchX/source/%{name}-%{version}.tar.gz
10 Source1: %{name}-config.h
11 Source2: ircII.servers
12 Source3: %{name}.desktop
13 Source4: %{name}-bxglobal.script
14 Patch0: %{name}-configure.patch
15 Patch1: %{name}-pld.patch
16 Patch2: %{name}-plugindir.patch
18 URL: http://www.bitchx.com/
19 BuildRequires: ncurses-devel >= 5.0
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 BitchX is a popular ANSI color ircII client by panasync. It
24 incorporates various features that would normally require a script.
25 It's interface is more colorful and cleaner than ircII.
28 BitchX jest popularnym klientem ircII. Jego interfejs jest bardziej
29 kolorowy i przejrzysty ni¿ interfejs standardowego kilienta ircII.
33 find . -type d -name 'CVS'| xargs rm -rf
39 cp -f %{SOURCE1} include/config.h
43 CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -w -I%{_includedir}/ncurses"
48 --with-plugindir=%{_libdir}/BitchX
53 rm -rf $RPM_BUILD_ROOT
55 install -d $RPM_BUILD_ROOT{%{_bindir},%{_prefix}/X11R6/share/pixmaps,%{_libdir}/BitchX,%{_applnkdir}/Network/IRC,%{_sysconfdir}/irc,%{_datadir}/BitchX/{script,translation,help},%{_mandir}/man1}
57 install source/{BitchX,scr-bx,wserv} \
58 $RPM_BUILD_ROOT%{_bindir}
60 install doc/BitchX.png $RPM_BUILD_ROOT%{_prefix}/X11R6/share/pixmaps
62 install BitchX.{ircnames,quit,reasons,help} \
63 $RPM_BUILD_ROOT%{_datadir}/BitchX
65 install script/{bxtcl.tcl,example-.bitchxrc,file.tcl,fserve+vfs.tar.gz,menu.bx,query.bx} \
66 $RPM_BUILD_ROOT%{_datadir}/BitchX/script
68 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/irc/ircII.servers
69 install %{SOURCE3} $RPM_BUILD_ROOT%{_applnkdir}/Network/IRC/BitchX.desktop
70 install %{SOURCE4} $RPM_BUILD_ROOT%{_datadir}/BitchX/script/bxglobal
72 install translation/* $RPM_BUILD_ROOT%{_datadir}/BitchX/translation
74 cp -pr bitchx-docs/[1-9]* bitchx-docs/{commands,functions,out,README_FIRST} \
75 $RPM_BUILD_ROOT%{_datadir}/BitchX/help
77 install dll/*.so $RPM_BUILD_ROOT%{_libdir}/BitchX
79 install doc/BitchX.1 $RPM_BUILD_ROOT%{_mandir}/man1
81 gzip -9nf doc/BitchX{-format,-idea,.bot,.doc,.faq,.tcl} IPv6-support
84 rm -rf $RPM_BUILD_ROOT
87 %defattr(644,root,root,755)
89 %attr(755,root,root) %{_bindir}/*
90 %attr(755,root,root) %{_libdir}/BitchX
91 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/irc/*
93 %{_applnkdir}/Network/IRC/*
94 %{_prefix}/X11R6/share/pixmaps/*