Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37390861
en ru br
Репозитории ALT
S:0.8.0-alt2.2
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.7.5
Release: alt1

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

Url: http://laurikari.net/ville/tre
Source: %url/%name-%version.tar.bz2

%define agrep agrep-%name

# Automatically added by buildreq on Mon May 10 2004

BuildRequires: hostinfo libdb4-devel

%description
(void package)

%package -n %agrep
Summary: agrep version using TRE library
License: GPL
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
Summary: TRE is a regexp matching library with approximate matching capability
License: GPL
Group: System/Libraries

%description -n lib%name
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
License: GPL
Group: Development/C
Requires: lib%name = %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
License: GPL
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

%prep
%setup -q

%build
%if_enabled static
conf_flags="--enable-static"
%endif
unset CC CXX
%configure "$conf_flags"
%make_build

%install
%makeinstall
%find_lang %name

%post -n lib%name -p /sbin/ldconfig
%postun -n lib%name -p /sbin/ldconfig

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

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

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

%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