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

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

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

Summary: POSIX regexp functions
Name: librx
Version: 1.5

Packager: Alexey Voinov <voins at altlinux.ru>

Release: alt5.1
License: GPL
Group: Development/C

Source0: ftp://ftp.gnu.org/gnu/rx/rx-%version.tar.bz2
Patch0: rx-1.5-shared.patch
Patch1: rx-1.5-texinfo.patch

%description
Rx is, among other things, an implementation of the interface
specified by POSIX for programming with regular expressions.  Some
other implementations are GNU regex.c and Henry Spencer's regex
library.

%package devel
Summary: POSIX regexp functions, developers library
Group: Development/C
Requires: %name = %version-%release

%description devel
Rx is, among other things, an implementation of the interface
specified by POSIX for programming with regular expressions.  Some
other implementations are GNU regex.c and Henry Spencer's regex
library.

This package contains files needed for development with librx.

%package devel-static
Summary: POSIX regexp functions, developers static library
Group: Development/C
Requires: %name-devel = %version-%release

%description devel-static
Rx is, among other things, an implementation of the interface
specified by POSIX for programming with regular expressions.  Some
other implementations are GNU regex.c and Henry Spencer's regex
library.

This package contains files needed for development static
binaries with librx.

%prep
%setup -q -n rx-1.5
%patch0 -p1
%patch1 -p1 -b .texipatch

%build
%configure
make libdir=%_libdir
make doc/rx.info

%install
mkdir -p $RPM_BUILD_ROOT%prefix
mkdir -p $RPM_BUILD_ROOT%_infodir
mkdir -p $RPM_BUILD_ROOT%_libdir
mkdir -p $RPM_BUILD_ROOT%_includedir
make install DESTDIR=$RPM_BUILD_ROOT libdir=%_libdir
install -m 644 doc/rx.info $RPM_BUILD_ROOT%_infodir

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%post devel
%install_info rx.info

%postun devel
%uninstall_info rx.info

%files
%_libdir/*.so.*

%files devel
%doc ANNOUNCE BUILDING COOKOFF rx/ChangeLog
%_includedir/*
%_infodir/*
%_libdir/*.so

%files devel-static
%_libdir/*.a

%changelog

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

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