Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37568146
en ru br
ALT Linux repos
S:1.5-alt9.1
5.0: 1.5-alt5.1
4.1: 1.5-alt5.1
4.0: 1.5-alt5.1
3.0: 1.5-alt5.1

Group :: Development/C
RPM: librx

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%{?optflags_lto:%global optflags_lto %optflags_lto -ffat-lto-objects}
Summary: POSIX regexp functions
Name: librx
Version: 1.5

Packager: Alexey Voinov <voins at altlinux.ru>

Release: alt9.1
License: GPL
Group: Development/C
Url: http://www.gnu.org/software/rx/rx.html

Source0: %name-%version.tar
# explicitly added texinfo for info files
BuildRequires: texinfo

%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

%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

%files
%_libdir/*.so.*

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

%files devel-static
%_libdir/*.a

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin