Remove BitchX.spec and gtkBitchX.spec - these are obsolete now. A new
BitchX.spec will be added later. git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@170 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
133
BitchX.spec.in
133
BitchX.spec.in
@@ -1,133 +0,0 @@
|
|||||||
# @configure_input@
|
|
||||||
|
|
||||||
%define ver @VERSION_NUMBER@
|
|
||||||
%define rel 1
|
|
||||||
%define ser 2
|
|
||||||
%define pfx @prefix@
|
|
||||||
|
|
||||||
Summary: The Ultimate IRC Client
|
|
||||||
Name: BitchX
|
|
||||||
Version: %{ver}
|
|
||||||
Release: %{rel}
|
|
||||||
Serial: %{ser}
|
|
||||||
Prefix: %{pfx}
|
|
||||||
Packager: David Walluck <david@bitchx.org>
|
|
||||||
Copyright: BSD-Style
|
|
||||||
Group: Networking/IRC
|
|
||||||
Source: ftp://ftp.bitchx.org/pub/source/BitchX-%{version}.tar.bz2
|
|
||||||
Url: http://www.bitchx.org/
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
||||||
Requires: ncurses, tcl, BitchX-common = %{version}
|
|
||||||
BuildRequires: ncurses-devel, tcl
|
|
||||||
|
|
||||||
%description
|
|
||||||
BitchX is a VERY heavily modified ircII client. It includes many things such
|
|
||||||
as built in CDCC (XDCC) offering, built in flood protection, etc. It is easier
|
|
||||||
to script things in BitchX because unlike plain vanilla ircII, half the
|
|
||||||
script does not have to be devoted to changing the appearance of ircII. It also
|
|
||||||
includes many other new features, such as port scanning, a CD player, a mail
|
|
||||||
client, etc.
|
|
||||||
|
|
||||||
%package common
|
|
||||||
Summary: Help files, documentation, and extras for the BitchX IRC client
|
|
||||||
Group: Networking/IRC
|
|
||||||
|
|
||||||
%description common
|
|
||||||
These are the help files and other documentation for the BitchX IRC client. It
|
|
||||||
is required that you install this package so that you at least have all of the
|
|
||||||
files needed by BitchX.
|
|
||||||
|
|
||||||
This package requires either the BitchX or the gtkBitchX package to do anything
|
|
||||||
useful.
|
|
||||||
|
|
||||||
%prep
|
|
||||||
%setup -n BitchX
|
|
||||||
find . -type f -name '*~' | xargs rm -rf
|
|
||||||
find . -type d -name 'CVS' | xargs rm -rf
|
|
||||||
|
|
||||||
%build
|
|
||||||
%ifarch i386 i486 i586 i686 k6 k7
|
|
||||||
CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
|
|
||||||
./configure --prefix=%{prefix} --with-tcl --with-plugins
|
|
||||||
%else
|
|
||||||
CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
|
|
||||||
./configure --prefix=%{prefix} --with-plugins
|
|
||||||
%endif
|
|
||||||
|
|
||||||
make
|
|
||||||
|
|
||||||
%install
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
rm -f script/fserve+vfs.tar.gz
|
|
||||||
rm -f script/actplug.gmz
|
|
||||||
rm -f script/menu.bx
|
|
||||||
|
|
||||||
make prefix=$RPM_BUILD_ROOT/%{prefix} install
|
|
||||||
ln -sf BitchX-%{version} $RPM_BUILD_ROOT/%{prefix}/bin/BitchX
|
|
||||||
|
|
||||||
cat > BitchX.menu << EOF
|
|
||||||
?package(BitchX): \\
|
|
||||||
needs="X11" \\
|
|
||||||
section="Networking/IRC" \\
|
|
||||||
title="BitchX" \\
|
|
||||||
longtitle="The Ultimate IRC Client" \\
|
|
||||||
command="rxvt -geometry 80x24 -bg black -fg white -fn vga -e BitchX" \\
|
|
||||||
icon="BitchX.xpm"
|
|
||||||
EOF
|
|
||||||
install -d $RPM_BUILD_ROOT/usr/lib/menu
|
|
||||||
install -m 644 BitchX.menu $RPM_BUILD_ROOT/usr/lib/menu/BitchX
|
|
||||||
|
|
||||||
install -d $RPM_BUILD_ROOT/usr/share/icons
|
|
||||||
install -m 664 doc/BitchX.xpm $RPM_BUILD_ROOT/usr/share/icons
|
|
||||||
install -d $RPM_BUILD_ROOT/usr/share/icons/mini
|
|
||||||
install -m 664 doc/BitchX-mini.xpm $RPM_BUILD_ROOT/usr/share/icons/mini/BitchX.xpm
|
|
||||||
|
|
||||||
cat >ircII.servers <<EOF
|
|
||||||
EOF
|
|
||||||
install -m 644 ircII.servers $RPM_BUILD_ROOT/%{prefix}/lib/bx
|
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%post
|
|
||||||
%{update_menus}
|
|
||||||
|
|
||||||
%postun
|
|
||||||
%{clean_menus}
|
|
||||||
|
|
||||||
%files
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%{prefix}/bin/BitchX
|
|
||||||
%{prefix}/bin/BitchX-%{version}
|
|
||||||
%{prefix}/lib/bx/wserv
|
|
||||||
%{prefix}/bin/scr-bx
|
|
||||||
/usr/lib/menu/BitchX
|
|
||||||
|
|
||||||
%files common
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc ChangeLog INSTALL README README.GTK README.autoconf doc/*
|
|
||||||
%dir %{prefix}/lib/bx
|
|
||||||
%config(noreplace) %{prefix}/lib/bx/ircII.servers
|
|
||||||
%{prefix}/lib/bx/BitchX.help
|
|
||||||
%{prefix}/lib/bx/BitchX.ircnames
|
|
||||||
%{prefix}/lib/bx/BitchX.kick
|
|
||||||
%{prefix}/lib/bx/BitchX.quit
|
|
||||||
%{prefix}/lib/bx/help
|
|
||||||
%{prefix}/lib/bx/plugins
|
|
||||||
%dir %{prefix}/lib/bx/script
|
|
||||||
%config(noreplace) %{prefix}/lib/bx/script/bxglobal
|
|
||||||
%{prefix}/lib/bx/script/bxtcl.tcl
|
|
||||||
%{prefix}/lib/bx/script/file.tcl
|
|
||||||
%{prefix}/lib/bx/script/fserve.irc
|
|
||||||
%{prefix}/lib/bx/translation
|
|
||||||
/usr/share/icons/BitchX.xpm
|
|
||||||
/usr/share/icons/mini/BitchX.xpm
|
|
||||||
%{prefix}/man/man1/*
|
|
||||||
|
|
||||||
%changelog
|
|
||||||
* Tue Aug 29 2000 David Walluck <david@bitchx.org> 1.0c17-1
|
|
||||||
- update to 1.0c17
|
|
||||||
|
|
||||||
* Mon Oct 18 1999 David Walluck <david@bitchx.org> 1.0c16-1
|
|
||||||
- initial release of spec for inclusion in BitchX
|
|
||||||
@@ -1,5 +1,7 @@
|
|||||||
[Changes 1.2c01]
|
[Changes 1.2c01]
|
||||||
|
|
||||||
|
* Remove obsolete .spec files. (caf)
|
||||||
|
|
||||||
* configure - only create sig.inc if it's actually needed. (caf)
|
* configure - only create sig.inc if it's actually needed. (caf)
|
||||||
|
|
||||||
* configure - use the right dependencies when checking for net/if.h, i
|
* configure - use the right dependencies when checking for net/if.h, i
|
||||||
|
|||||||
@@ -1023,8 +1023,6 @@ AC_SUBST(WINNT_INSTALL)
|
|||||||
|
|
||||||
AC_CONFIG_FILES([
|
AC_CONFIG_FILES([
|
||||||
Makefile
|
Makefile
|
||||||
BitchX.spec
|
|
||||||
gtkBitchX.spec
|
|
||||||
bx-conf/Makefile
|
bx-conf/Makefile
|
||||||
doc/BitchX.bat
|
doc/BitchX.bat
|
||||||
doc/Makefile
|
doc/Makefile
|
||||||
|
|||||||
@@ -1,89 +0,0 @@
|
|||||||
# @configure_input@
|
|
||||||
|
|
||||||
%define ver @VERSION_NUMBER@
|
|
||||||
%define rel 1
|
|
||||||
%define ser 2
|
|
||||||
%define pfx @prefix@
|
|
||||||
|
|
||||||
Summary: The Ultimate IRC Client
|
|
||||||
Name: gtkBitchX
|
|
||||||
Version: %{ver}
|
|
||||||
Release: %{rel}
|
|
||||||
Serial: %{ser}
|
|
||||||
Prefix: %{pfx}
|
|
||||||
Packager: David Walluck <david@bitchx.org>
|
|
||||||
Copyright: BSD-Style
|
|
||||||
Group: Networking/IRC
|
|
||||||
Source: ftp://ftp.bitchx.org/pub/source/BitchX-%{version}.tar.bz2
|
|
||||||
Url: http://www.bitchx.org/gtk/
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
||||||
Requires: ncurses, XFree86-libs, glib >= 1.2.0, gtk+ >= 1.2.0, gnome-libs >= 1.0.0, tcl, openssl, esound >= 0.2.5, audiofile >= 0.1.5, BitchX-common = %{version}
|
|
||||||
BuildRequires: ncurses-devel, XFree86-libs, XFree86-devel, glib-devel >= 1.2.0, gtk+-devel >= 1.2.0, gnome-libs-devel >= 1.0.0, tcl, openssl-devel, esound-devel >= 0.2.5, audiofile-devel >= 0.1.5
|
|
||||||
|
|
||||||
%description
|
|
||||||
BitchX is a VERY heavily modified ircII client. It includes many things such
|
|
||||||
as built in CDCC (XDCC) offering, built in flood protection, etc. It is easier
|
|
||||||
to script things in BitchX because unlike plain vanilla ircII, half the
|
|
||||||
script does not have to be devoted to changing the appearance of ircII. It also
|
|
||||||
includes many other new features, such as port scanning, a CD player, a mail
|
|
||||||
client, etc.
|
|
||||||
|
|
||||||
This version of BitchX contains GTK support and, as such, requires X to run.
|
|
||||||
|
|
||||||
%prep
|
|
||||||
%setup -n BitchX
|
|
||||||
|
|
||||||
%build
|
|
||||||
%ifarch i386 i486 i586 i686 k6 k7
|
|
||||||
CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
|
|
||||||
./configure --prefix=%{prefix} --with-tcl --with-ssl --with-gtk --enable-sound --with-plugins=nicklist --enable-ipv6
|
|
||||||
%else
|
|
||||||
CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
|
|
||||||
./configure --prefix=%{prefix} --with-tcl --with-ssl --with-gtk --enable-sound --with-plugins=nicklist --enable-ipv6
|
|
||||||
%endif
|
|
||||||
|
|
||||||
make
|
|
||||||
|
|
||||||
%install
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
sed -e 's/loadacts = \[NO\]/loadacts = \[YES\]/' -e 's/\$exedir\/fonts/\%{prefix}\/share\/figlet/' < script/menu.bx > script/menu.bx.new
|
|
||||||
install -m 644 script/menu.bx.new script/menu.bx
|
|
||||||
rm -rf script/menu.bx.new
|
|
||||||
|
|
||||||
make prefix=$RPM_BUILD_ROOT/%{prefix} install
|
|
||||||
ln -sf gtkBitchX-%{version} $RPM_BUILD_ROOT/%{prefix}/bin/gtkBitchX
|
|
||||||
|
|
||||||
cat > gtkBitchX.menu << EOF
|
|
||||||
?package(gtkBitchX): \\
|
|
||||||
needs="X11" \\
|
|
||||||
section="Networking/IRC" \\
|
|
||||||
title="gtkBitchX" \\
|
|
||||||
longtitle="The Ultimate IRC Client" \\
|
|
||||||
command="gtkBitchX" \\
|
|
||||||
icon="BitchX.xpm"
|
|
||||||
EOF
|
|
||||||
install -d $RPM_BUILD_ROOT/usr/lib/menu
|
|
||||||
install -m 644 gtkBitchX.menu $RPM_BUILD_ROOT/usr/lib/menu/gtkBitchX
|
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%post
|
|
||||||
%{update_menus}
|
|
||||||
|
|
||||||
%postun
|
|
||||||
%{clean_menus}
|
|
||||||
|
|
||||||
%files
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%{prefix}/bin/gtkBitchX
|
|
||||||
%{prefix}/bin/gtkBitchX-%{version}
|
|
||||||
%{prefix}/lib/bx/script/menu.bx
|
|
||||||
%{prefix}/lib/bx/script/actplug.gmz
|
|
||||||
%{prefix}/lib/bx/plugins/nicklist.so
|
|
||||||
/usr/lib/menu/gtkBitchX
|
|
||||||
|
|
||||||
%changelog
|
|
||||||
* Mon Oct 18 1999 David Walluck <david@bitchx.org> 1.0c16-1
|
|
||||||
- initial release of spec for inclusion in BitchX
|
|
||||||
Reference in New Issue
Block a user