]> git.pld-linux.org Git - packages/BitchX.git/blobdiff - BitchX.spec
- fixed %%doc for europa
[packages/BitchX.git] / BitchX.spec
index 40c5c989a555aaccfd8b87dcbfe52bb82c1bae10..21dbcc9f3ab5ba88ca1297e2bd4f11182ab34e66 100644 (file)
 Summary:       Improved color IRC client with built-in scripts
+Summary(es):   Cliente IRC para la consola Linux
 Summary(pl):   Ulepszony, kolorowy klient IRC z wbudowanymi skryptami
+Summary(pt_BR):        Cliente IRC para o console do Linux
 Name:          BitchX
-Version:       75p3
+Version:       1.0c19
 Release:       1
+License:       GPL
+Group:         Applications/Networking
 Source0:       ftp://ftp.bitchx.com/pub/BitchX/source/ircii-pana-%{version}.tar.gz
 Source1:       ircII.servers
-Source2:       ftp://ftp.acronet.net/pub/ircii/epic3.004-help.tar.gz
-Source3:       bitchx.1
-Copyright:     GPL
-Group:         Applications/Communications
-Group(pl):     Aplikacje/Komunikacja
-Patch0:                %{name}-75.patch
-Patch1:                %{name}-pld.patch
-Patch2:                %{name}-75.iso2.patch
-Patch3:         %{name}-tcl.patch
-Patch4:         %{name}-script.patch
-Patch5:                BitchX-config.patch
-URL:            ftp://ftp.bitchx.com/pub/BitchX/source/
-BuildRoot:     /tmp/%{name}-%{version}-root
-%description 
+Source2:       %{name}.desktop
+Source3:       %{name}-bxglobal.script
+Source4:       %{name}.1.pl
+Patch0:                %{name}-config.h.patch
+Patch1:                %{name}-numver.patch
+Icon:          BitchX.xpm
+URL:           http://www.bitchx.com/
+BuildRequires: mysql-devel
+BuildRequires: ncurses-devel >= 5.0
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _datadir        %{_libdir}
+
+%description
 BitchX is a popular ANSI color ircII client by panasync. It
-incorporates various features that would normally require a
-script. It's interface is more colorful and cleaner than ircII.
-
-%description -l pl 
-BitchX jest popularnym klientem ircII. Jego interfejs jest bardziej 
-kolorowy i przej¿ysty ni¿ interfejs standardowego kilienta ircII.
+incorporates various features that would normally require a script.
+It's interface is more colorful and cleaner than ircII.
+
+%description -l es
+Cliente IRC para la consola Linux.
+
+%description -l pl
+BitchX jest popularnym klientem ircII. Jego interfejs jest bardziej
+kolorowy i przejrzysty ni¿ interfejs standardowego klienta ircII.
+
+%description -l pt_BR
+O BitchX é um cliente de IRC com suporte a cores para o console do
+Linux. Ele incorpora várias características que normalmente
+requereriam um script, e a sua interface é mais colorida, e simples de
+trabalhar que a do ircII :)
+
+%package europa
+Summary:       Europa Plugin
+Summary(pl):   Wtyczka Europa
+Group:         Applications/Networking
+Requires:      BitchX = %{version}
+
+%description europa
+Europa is a BitchX plugin to provide easy access to an SQL
+knowledgebase. This is helpful for use in help channels where common
+questions repeatedly come up.
+
+%description europa -l pl
+Europa jest wtyczk± do BitchX zapewniaj±c± ³atwy dostêp do SQL-owej
+bazy wiedzy. Jest przydatny na kana³ach pomocy, gdzie czêsto
+powtarzaj± siê te same pytania.
 
 %prep
 %setup -q -n %{name}
 %patch0 -p1
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
-%patch5 -p0
 
 %build
-gzip -dc %{SOURCE2} | tar -xf -
+CFLAGS="%{rpmcflags} -I%{_includedir}/ncurses"
+%configure2_13 \
+       --enable-ipv6 \
+       --with-plugins=all
 
-CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -w" LDFLAGS="-s" \
-./configure %{_target_platform} \
-       --prefix=%{_prefix}
-make all 
+%{__make} \
+       IRCLIB="%{_datadir}/%{name}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_pixmapsdir},%{_applnkdir}/Network/Communications} \
+       $RPM_BUILD_ROOT{%{_sysconfdir}/irc,%{_mandir}/{man1,pl/man1}} \
+       $RPM_BUILD_ROOT%{_datadir}/%{name}/{script,translation,help,plugins}
+
+install source/{BitchX,scr-bx} \
+                       $RPM_BUILD_ROOT%{_bindir}
+install dll/*/*.so     $RPM_BUILD_ROOT%{_datadir}/%{name}/plugins
 
-install -d $RPM_BUILD_ROOT/usr/{bin,share/BitchX/{script,translation,help}}
-install -d $RPM_BUILD_ROOT/{%{_mandir}/man1,etc/irc}
+install source/wserv   $RPM_BUILD_ROOT%{_datadir}/%{name}
 
-strip source/BitchX
-strip source/wserv
-strip source/scr-bx
+install script/*       $RPM_BUILD_ROOT%{_datadir}/%{name}/script
+install translation/*  $RPM_BUILD_ROOT%{_datadir}/%{name}/translation
+cp -pfr bitchx-docs/*  $RPM_BUILD_ROOT%{_datadir}/%{name}/help
 
-install %{SOURCE1} $RPM_BUILD_ROOT/etc/irc
-install %{SOURCE3} $RPM_BUILD_ROOT%{_mandir}/man1
-echo .so bitchx.1 > $RPM_BUILD_ROOT%{_mandir}/man1/BitchX.1
+install doc/BitchX.png $RPM_BUILD_ROOT%{_pixmapsdir}
 
-install source/BitchX $RPM_BUILD_ROOT%{_bindir}
-install source/wserv $RPM_BUILD_ROOT%{_bindir}/wserv-bx
-install source/scr-bx $RPM_BUILD_ROOT%{_bindir}
-install install-bitchx $RPM_BUILD_ROOT%{_bindir}
+install doc/BitchX.1   $RPM_BUILD_ROOT%{_mandir}/man1
 
-install BitchX.help $RPM_BUILD_ROOT%{_datadir}/BitchX
-cp -a help $RPM_BUILD_ROOT%{_datadir}/BitchX
+install %{SOURCE1}     $RPM_BUILD_ROOT%{_sysconfdir}/irc/ircII.servers
+install %{SOURCE2}     $RPM_BUILD_ROOT%{_applnkdir}/Network/Communications/BitchX.desktop
+install %{SOURCE3}     $RPM_BUILD_ROOT%{_datadir}/%{name}/script/bxglobal
+install %{SOURCE4}     $RPM_BUILD_ROOT%{_mandir}/pl/man1/BitchX.1
 
-gzip -9nf Changes doc/* BitchX.quit BitchX.reasons \
-       $RPM_BUILD_ROOT%{_mandir}/man1/* || :
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
-%defattr(644,root,root,755) 
-%doc Changes.gz doc/* BitchX* 
-
+%defattr(644,root,root,755)
+%doc Changelog doc/BitchX{-format,-idea,.bot,.doc,.faq,.tcl} IPv6-support dll/europa/{README,knowledgebase.sql}
 %attr(755,root,root) %{_bindir}/*
-
-%{_datadir}/BitchX
-
-%config(noreplace) %verify(not md5 size mtime) /etc/irc/*
+%config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/irc/*
+%dir %{_datadir}/BitchX
+%dir %{_datadir}/BitchX/plugins
+%attr(755,root,root) %{_datadir}/BitchX/plugins/acro.so
+%attr(755,root,root) %{_datadir}/BitchX/plugins/aim.so
+%attr(755,root,root) %{_datadir}/BitchX/plugins/arcfour.so
+%attr(755,root,root) %{_datadir}/BitchX/plugins/autobot.so
+%attr(755,root,root) %{_datadir}/BitchX/plugins/autocycle.so
+%attr(755,root,root) %{_datadir}/BitchX/plugins/blowfish.so
+%attr(755,root,root) %{_datadir}/BitchX/plugins/cavlink.so
+%attr(755,root,root) %{_datadir}/BitchX/plugins/encrypt.so
+%attr(755,root,root) %{_datadir}/BitchX/plugins/fserv.so
+%attr(755,root,root) %{_datadir}/BitchX/plugins/hint.so
+%attr(755,root,root) %{_datadir}/BitchX/plugins/identd.so
+%attr(755,root,root) %{_datadir}/BitchX/plugins/nap.so
+%attr(755,root,root) %{_datadir}/BitchX/plugins/pkga.so
+%attr(755,root,root) %{_datadir}/BitchX/plugins/possum.so
+%attr(755,root,root) %{_datadir}/BitchX/plugins/qbx.so
+%attr(755,root,root) %{_datadir}/BitchX/plugins/qmail.so
+%attr(755,root,root) %{_datadir}/BitchX/plugins/scan.so
+%attr(755,root,root) %{_datadir}/BitchX/plugins/wavplay.so
+%attr(755,root,root) %{_datadir}/BitchX/wserv
+%{_datadir}/BitchX/help
+%{_datadir}/BitchX/script
+%{_datadir}/BitchX/translation
+%{_applnkdir}/Network/Communications/*
+%{_pixmapsdir}/*
 %{_mandir}/man1/*
+%lang(pl) %{_mandir}/pl/man1/*
 
-%changelog
-* Thu Oct 01 1998 Arkadiusz Mi¶kiewicz <misiek@misiek.eu.org>
-- wserv is now as wserv-bx (modifiet to avoid conflicts with others
-  irc clients)
-- irclib is now ${prefix}/lib/BitchX
-- added /usr/lib/BitchX with subdirectories
-- modified pl translations
-- added configuration /etc/irc/ircII.servers
-- added help (from EPIC3 but should be from EPIC4!)
-- added pl message in %post
-- now BitchX uses /usr/lib/BitchX/BitchX.help instead ~/.BitchX/BitchX.help
-- added Polish IRCNet servers to DEFAULT
-
-* Thu Aug 13 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
-- build against glibc-2.1,
-- translation modified for pl,
-- changed build root to /tmp/bitchx (oj Andrzej, Andrzej... fonetyka ;)
-- changed permissions of ELF binaries to 711.
-
-* Thu Jul 02 1998 Rod Cordova <rcordova@ethernet.org>
-- Applied the dcc.c fix to the source code
-
-* Wed Jul 01 1998 Rod Cordova <rcordova@ethernet.org>
-- Upgraded to version 75
-- incorporated the tcl-1.5-linux.o object into the binary for tcl support
-
-* Thu Apr 02 1998 Rod Cordova <rcordova@ethernet.org>
-- fixed the post install since it was not echo'ing properly after install
-- applied the fixpack74p4.tgz to the source code
-- incorporated the tcl.o object into the binary for tcl support
-- stripped the BitchX binary and the wserv binary to reduce the size of
-  the package
-
-* Sat Mar 28 1998 Rod Cordova <rcordova@ethernet.org>
-- upgraded to version 74p4
-
-* Fri Feb 27 1998 Andrzej K. Brandt <andy@monk.cs.net.pl>
-- upgraded to patchlevel 2
-
-* Sun Feb 15 1998 Andrzej K. Brandt <andy@monk.cs.net.pl>
-- backported from an SRPM made for RH 5.0 distribution (glibc)
+%files europa
+%defattr(644,root,root,755)
+%doc dll/europa/{README,CREDITS}
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_datadir}/BitchX/plugins/europa.so
This page took 0.206035 seconds and 4 git commands to generate.