Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37522768
en ru br
Репозитории ALT
S:1.0.0-alt1.2
5.1: 0.6-alt6cvs20051217
4.1: 0.6-alt5cvs20051217
4.0: 0.6-alt5cvs20051217
www.altlinux.org/Changes

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

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

%define pre %nil
%def_disable static
%def_enable gmdb

Name: mdbtools
Version: 0.6
Release: alt6cvs20051217%pre

Summary: Utilities for use M$ Access databases under Linux

Group: Databases
License: GPL/LGPL
Url: http://mdbtools.sourceforge.net/

Packager: Igor Zubkov <icesik at altlinux.ru>

Source: http://dl.sourceforge.net/%name/%name-%version%pre.tar.bz2

Patch0: %name-as-needed.patch
Patch1: %name-0.6-alt-sql.patch

Requires: lib%name = %version-%release

BuildRequires: libglade-devel
# Automatically added by buildreq on Sat Apr 15 2006
BuildRequires: esound flex fontconfig gcc-c++ glibc-devel-static libavahi-glib libgnomeui-devel libpopt-devel libreadline-devel libSM-devel libunixODBC-devel scrollkeeper zlib-devel

%description
MDB Tools is a set of libraries and programs to help you use Microsoft
Access file in various settings.

This package provides:
Several command line utilities to list tables, export schema, and data,
show the version of the files, and other useful stuff.
mdb-sql - a command line SQL tool that allows one to type sql queries
and get results.

%package -n gmdb
Summary: MS Access MDB File Viewer
Group: Databases
Requires: lib%name = %version-%release

%description -n gmdb
gmdb - The GTK2 MDB File Viewer and debugger. Still alpha, but making
great progress.

%package -n lib%name
Summary: MDB Tools shared libraries
Group: System/Libraries

%description -n lib%name
MDB Tools is a set of libraries and programs to help you use Microsoft
Access file in various settings.

This package contains:
libmdb the core library that allows access to MDB files programatically.
libmdbsql builds on libmdb to provide a SQL engine (ala Jet)
libmdbodbc an ODBC driver for use with unixODBC driver manager. Allows
one to use MDB files with PHP for example.

%package -n lib%name-devel
Summary: MDB Tools development files and libraries
Group: Development/C
Requires: lib%name = %version-%release

%description -n lib%name-devel
This package contains the files needed to build packages that depend on
MDB Tools.

%package -n lib%name-devel-static
Summary: MDB Tools static libraries
Group: Development/C
Requires: lib%name-devel = %version-%release

%description -n lib%name-devel-static
This package contains the libraries needed to build applications
statically linked with MDB Tools.

%prep
%setup -q -n %name-%version%pre
%patch0 -p0
%patch1 -p1
%__subst "s|.*<config\.h>.*||" include/mdbtools.h

%build
%__autoreconf
%configure \
   %{subst_enable static} \
   --with-unixodbc=%_prefix \
   %{subst_enable gmdb}

%make_build

%install
%make_install DESTDIR=%buildroot install

%files
%_bindir/*
%exclude %_bindir/gmdb2
%_man1dir/*
%doc AUTHORS NEWS README TODO ChangeLog doc/faq.html

%if_enabled gmdb
%files -n gmdb
%_bindir/gmdb2
%_datadir/gmdb
%doc %_datadir/gnome/help/gmdb
%endif

%files -n lib%name
%_libdir/*.so.*

%files -n lib%name-devel
%_includedir/*
%_libdir/*.so
%_pkgconfigdir/*

%if_enabled static
%files -n lib%name-devel-static
%_libdir/*.a
%endif

%changelog

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

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