]> git.pld-linux.org Git - packages/BitchX.git/blobdiff - BitchX.spec
- moved wserv -> wserv-bx
[packages/BitchX.git] / BitchX.spec
index d5e930e1139ede8d9dcae3af5dac98057f760518..13555ff346f931d84e204a660a31f18338037e8b 100644 (file)
 Summary:       Improved color IRC client with built-in scripts
 Summary(pl):   Ulepszony, kolorowy klient IRC z wbudowanymi skryptami
 Name:          BitchX
-Version:       75
-Release:       5d
-########       ftp://ftp.bitchx.com/pub/BitchX/source/
-Source0:       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}-%{version}.patch
-Patch1:                %{name}.pld.diff
-Patch2:                %{name}-%{version}.iso2.patch
-BuildRoot:     /tmp/%{name}-%{version}-root
+Version:       1.0c17
+Release:       5
+License:       GPL
+Group:         Applications/Networking
+Group(de):     Applikationen/Netzwerkwesen
+Group(pl):     Aplikacje/Sieciowe
+Source0:       ftp://ftp.bitchx.com/pub/BitchX/source/%{name}-%{version}.tar.gz
+Source1:       %{name}-config.h
+Source2:       ircII.servers
+Source3:       %{name}.desktop
+Source4:       %{name}-bxglobal.script
+Patch0:                %{name}-configure.patch
+Patch1:                %{name}-pld.patch
+Patch2:                %{name}-plugindir.patch
+Icon:          BitchX.xpm
+URL:           http://www.bitchx.com/
+BuildRequires: ncurses-devel >= 5.0
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
 %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.
+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.
+BitchX jest popularnym klientem ircII. Jego interfejs jest bardziej
+kolorowy i przejrzysty ni¿ interfejs standardowego kilienta ircII.
 
 %prep
 %setup -q -n %{name}
+find . -type d -name 'CVS'| xargs rm -rf
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
 
 %build
-gzip -dc %{SOURCE2} | tar -xf -
+cp -f %{SOURCE1} include/config.h
+
+autoconf
+
+CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -w -I%{_includedir}/ncurses"
+%configure \
+       --enable-ipv6 \
+       --with-plugins \
+       --with-plugindir=%{_libdir}/BitchX
 
-CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -w" LDFLAGS=-s \
-    ./configure \
-       --prefix=/usr
-make all 
+%{__make} INSTALL_WSERV=%{_bindir}/wserv-bx
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-install -d $RPM_BUILD_ROOT/usr/{bin,lib/BitchX/{script,translation,help}}
-install -d $RPM_BUILD_ROOT/{usr/man/man1,etc/irc}
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_prefix}/X11R6/share/pixmaps,%{_libdir}/BitchX,%{_applnkdir}/Network/IRC,%{_sysconfdir}/irc,%{_datadir}/BitchX/{script,translation,help},%{_mandir}/man1}
+
+install source/{BitchX,scr-bx} \
+                       $RPM_BUILD_ROOT%{_bindir}
+
+install source/wserv \
+                       $RPM_BUILD_ROOT%{_bindir}/wserv-bx
+
+install doc/BitchX.png $RPM_BUILD_ROOT%{_prefix}/X11R6/share/pixmaps
+
+install BitchX.{ircnames,quit,reasons,help} \
+                       $RPM_BUILD_ROOT%{_datadir}/BitchX
+
+install script/{bxtcl.tcl,example-.bitchxrc,file.tcl,fserve+vfs.tar.gz,menu.bx,query.bx} \
+                       $RPM_BUILD_ROOT%{_datadir}/BitchX/script
+
+install %{SOURCE2}     $RPM_BUILD_ROOT%{_sysconfdir}/irc/ircII.servers
+install %{SOURCE3}     $RPM_BUILD_ROOT%{_applnkdir}/Network/IRC/BitchX.desktop
+install %{SOURCE4}     $RPM_BUILD_ROOT%{_datadir}/BitchX/script/bxglobal
 
-strip source/BitchX
-strip source/wserv
-strip source/scr-bx
+install translation/*  $RPM_BUILD_ROOT%{_datadir}/BitchX/translation
 
-install %{SOURCE1} $RPM_BUILD_ROOT/etc/irc
-install %{SOURCE3} $RPM_BUILD_ROOT/usr/man/man1
-echo .so bitchx.1 > $RPM_BUILD_ROOT/usr/man/man1/BitchX.1
+cp -pr bitchx-docs/[1-9]* bitchx-docs/{commands,functions,out,README_FIRST} \
+                       $RPM_BUILD_ROOT%{_datadir}/BitchX/help
 
-install source/BitchX $RPM_BUILD_ROOT/usr/bin
-install source/wserv $RPM_BUILD_ROOT/usr/bin/wserv-bx
-install source/scr-bx $RPM_BUILD_ROOT/usr/bin
-install install-bitchx $RPM_BUILD_ROOT/usr/bin
+install dll/*.so       $RPM_BUILD_ROOT%{_libdir}/BitchX
 
-install BitchX.help $RPM_BUILD_ROOT/usr/lib/BitchX
-cp -r help $RPM_BUILD_ROOT/usr/lib/BitchX
+install doc/BitchX.1   $RPM_BUILD_ROOT%{_mandir}/man1
 
-bzip2 -9 Changes  doc/* BitchX.quit BitchX.reasons
-gzip -9fn $RPM_BUILD_ROOT/usr/man/man1/*
+gzip -9nf doc/BitchX{-format,-idea,.bot,.doc,.faq,.tcl} IPv6-support
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
-%defattr(644,root,root,755) 
-%doc Changes.bz2  doc/* BitchX* 
-
-%attr(755,root,root) /usr/bin/*
-
-/usr/lib/BitchX
-
-%config(noreplace) %verify(not md5 size mtime) /etc/irc/*
-%attr(644,root, man) /usr/man/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)
+%defattr(644,root,root,755)
+%doc doc/*.gz *.gz 
+%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_libdir}/BitchX
+%config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/irc/*
+%{_datadir}/BitchX
+%{_applnkdir}/Network/IRC/*
+%{_prefix}/X11R6/share/pixmaps/*
+%{_mandir}/man1/*
This page took 0.049285 seconds and 4 git commands to generate.