Репозиторий Sisyphus
Последнее обновление: 18 августа 2019 | Пакетов: 17338 | Посещений: 14654552
en ru br
Репозитории ALT
S:0.8.0-alt2.1
5.1: 0.7.5-alt3
4.1: 0.7.5-alt1
4.0: 0.7.5-alt1
3.0: 0.6.7-alt1
www.altlinux.org/Changes

Группа :: Разработка/C
Пакет: tre

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

Name: tre
Version: 0.8.0
Release: alt2.1

Summary: TRE is "approximate regexp" library
License: BSD
Group: Development/C

Url: http://laurikari.net/tre
Source: %url/%name-%version.tar.bz2
Packager: Michael Shigorin <mike at altlinux.org>

%define agrep agrep-%name
%define soversion 5

# Automatically added by buildreq on Mon May 10 2004

BuildRequires: hostinfo libdb4-devel python-devel

%description
(void package)

%package -n %agrep
Summary: agrep version using TRE library
Group: Text tools
Conflicts: agrep = 2.04-alt1

%description -n %agrep
agrep is a grep-like utility which can do approximate searches.

%package -n lib%name%soversion
Summary: TRE is a regexp matching library with approximate matching capability
Group: System/Libraries

%description -n lib%name%soversion
TRE is a lightweight, robust, and efficient POSIX compliant
regexp matching library with some exciting features such as
approximate matching.

%package -n lib%name-devel
Summary: Development environment for lib%name
Group: Development/C
Requires: lib%name%soversion = %version-%release

%description -n lib%name-devel
TRE is a lightweight, robust, and efficient POSIX compliant
regexp matching library with some exciting features such as
approximate matching.

This is the development environment to compile TRE software.

%if_enabled static
%package -n lib%name-devel-static
Summary: Static libraries for lib%name%soversion
Group: Development/C
Requires: lib%name-devel = %version-%release

%description -n lib%name-devel-static
TRE is a lightweight, robust, and efficient POSIX compliant
regexp matching library with some exciting features such as
approximate matching.

This package contains static library to build statically linked
TRE software.
%endif

%package -n python-module-%name
Summary: Python bindings for TRE, regex library with approximate matching
Group: Development/Python

%description -n python-module-%name
TRE is a lightweight, robust, and efficient POSIX compliant
regexp matching library with some exciting features such as
approximate matching.

This package contains Python bindings for TRE.

%prep
%setup

%build
%autoreconf
%configure %{subst_enable static}
%make_build
cd python
python setup.py build

%install
%makeinstall
%find_lang %name
cd python
python setup.py install --root=%buildroot

%files -n %agrep -f %name.lang
%_bindir/*
%_man1dir/*

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

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

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

%files -n python-module-%name
%python_sitelibdir/*.egg-info
%python_sitelibdir/%name.so

%changelog

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

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