Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37558893
en ru br
Репозитории ALT
5.1: 2.1.5-alt1
4.1: 2.1.4-alt1
4.0: 2.1.3-alt5.1
3.0: 2.1.3-alt5
www.altlinux.org/Changes

Группа :: Базы Данных
Пакет: sqsh

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define name sqsh
%define release alt5
%define version 2.1.3

Name: %name
Version: %version
Release: %release.1

Summary: SQL Shell. It is intended as a replacement for the Sybase 'isql'.
License: GPL
Group: Databases
Url: http://www.sqsh.org/

Source0: http://www.sqsh.org/%name-%version.tar.bz2
Patch0: %name-2.1-makefile.patch
Patch1: %name-2.1.3-alt-configure.patch

Patch10: %name-2.1-configure.patch

# Automatically added by buildreq on Sat May 22 2004

BuildRequires: libncurses-devel libreadline-devel
BuildRequires: libfreetds-devel >= 0.63
Requires: libfreetds >= 0.63

%description
Sqsh (pronounced skwish) is short for SQshelL (pronounced s-q-shell),
it is intended as a replacement for the venerable 'isql' program supplied
by Sybase.

Sqsh is much more than a nice prompt (a la 'dsql', from David B. Joyner),
it is intended to provide much of the functionality provided by a good
shell, such as variables, aliasing, redirection, pipes, back-grounding,
job control, history, command substitution, and dynamic configuration.
Also, as a by-product of the design, it is remarkably easy to extend
and add functionality.

Sqsh can be used for make connection to any databases with TDS-protocol
support (eg. MS-SQL or Sybase). This package is build with FreeTDS
library (http://www.freetds.org).

%prep

%setup -q
%patch0 -p1
%patch1 -p1

%build
export SYBASE=/usr
%configure --with-readline=yes

%make_build

%install
make DESTDIR=%buildroot install
make DESTDIR=%buildroot install.man

%files
%config(noreplace) %_sysconfdir/sqshrc
%_bindir/sqsh
%_mandir/man1/sqsh.1*
%doc COPYING ChangeLog INSTALL README
%doc doc/FAQ doc/RELEASE doc/sample.* doc/*.sqshrc doc/sqsh.html

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin