Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37408616
en ru br
ALT Linux repos
S:0.8.9-alt6.qa3
5.0: 0.8.9-alt6.qa1
4.1: 0.8.9-alt6.qa1
4.0: 0.8.9-alt5
3.0: 0.8.9-alt3

Group :: Networking/Instant messaging
RPM: alicq

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

# -*- rpm-spec -*-
# $Id: alicq.spec,v 1.76 2005/08/04 14:03:06 grigory Exp $

Name: alicq
Version: 0.8.9
Release: alt5

Summary: alicq - Flexible ICQ client in pure Tcl/Tk
License: GPL
Group: Networking/Instant messaging
URL: http://alicq.sourceforge.net/

BuildArch: noarch
Source0: %name-%version.tar.bz2

Requires: bwidget tk >= 8.3
Requires: tcl-icq >= 0.8.9
BuildRequires: rpm-build >= 4.0.4 tcl >= 8.3 tcllib xsltproc

%description
  Alicq is pure Tcl/Tk implementation of ICQ client with flexible
modularized architecture, support for ICQv8 (ICQ2000/OSCAR) protocol,
and ability to pick up Licq configuration files and user database.

Why would you use it? It is small, about 2500 lines as of release
0.6. It is modular and extendable in best tradition of the Tcl
scripting language. New modules are easy to write, and dozen lines
Tcl module can do a lot. It is crossplatfrom: works on Unix, Windows,
Macintosh, and on any other system supported by Tcl/Tk.


%package -n tcl-icq
Summary: This library gives ability to use ICQ v8 protocol (OSCAR) in tcl programs
Group: Development/Tcl
Requires: tcl >= 8.3

%description -n tcl-icq
Protocol description and some ideas in implementattion were taken from
ICQ2000.pm and ICQ2000_Easy.pm perl modules by
Robin Fisher <robin at phase3solutions.com> and vICQ program by
Alexander Timoshenko

%add_tcl_lib_path %_datadir/%name

%prep
%setup -q -c
%__subst 's|check-tcl||g' Makefile

%build

%install
%makeinstall package=%name tcldatadir=%buildroot%_datadir/%name/lib
%makeinstall -C icq package=tcl-icq tcldatadir=%buildroot%_tcldatadir

# menu stuff JONS GTK

%__mkdir_p %buildroot%_menudir
%__cat > %buildroot%_menudir/%name <<EOF
   ?package(alicq):\
   command="alicq"\
   icon="alicq.xpm"\
   title="Alicq"\
   longtitle="tcl/tk ICQ client"\
   needs="x11"\
   section="Networking/Instant messaging"
EOF
%__install -d -m 755 %buildroot%_miconsdir
%__install -p -m 0644 %name.xpm %buildroot%_miconsdir/%name.xpm

%files
%doc doc/{changelog,INSTALL,README,TODO,alicqrc.sample}
%dir %_datadir/%name
%dir %_datadir/%name/lib
%_bindir/*
%_datadir/%name/*
%_menudir/%name
%_miconsdir/%name.xpm
#%_man1dir/*
#%_man5dir/*

%files -n tcl-icq
%doc icq/examples/* icq/doc/{changelog,README,TODO}
%dir %_tcldatadir/tcl-icq
%_tcldatadir/tcl-icq/*
%_mandir/mann/*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin