Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37898755
en ru br
ALT Linux repositórios
S:8.45-alt2
5.0: 7.8-alt2
4.1: 7.6-alt1.M41.1
4.0: 7.6-alt1.M40.1
+updates:7.4-alt1
3.0: 6.4-alt1

Group :: Sistema/Bibliotecas
RPM: pcre

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Name: pcre
Version: 6.4
Release: alt1

Summary: Perl-compatible regular expression library
License: BSD-like
Group: System/Libraries
Url: http://www.pcre.org/

Source: ftp://ftp.csx.cam.ac.uk/pub/software/programming/%name/%name-%version.tar.bz2
Source1: pcre-config.1
Source2: zpcregrep

Patch1: pcre-6.3-deb-alt-shlib.patch
Patch2: pcre-6.3-deb-pcregrep.patch
Patch3: pcre-6.3-deb-pcretest.patch
Patch4: pcre-6.3-alt-man.patch

Summary(ru_RU.KOI8-R): âÉÂÌÉÏÔÅËÁ ÄÌÑ ÒÁÂÏÔÙ Ó Perl-ÓÏ×ÍÅÓÔÉÍÙÍÉ ÒÅÇÕÌÑÒÎÙÍÉ ×ÙÒÁÖÅÎÉÑÍÉ

%def_enable utf8
%def_disable compat

%if_enabled compat
%define libname lib%{name}
%else
%define libname lib%{name}3
%endif

BuildRequires: gcc-c++

%package -n %libname
Summary: Perl-compatible regular expression %{?_enable_compat:compatibility }shared library
Summary(ru_RU.KOI8-R): òÁÚÄÅÌÑÅÍÁÑ ÂÉÂÌÉÏÔÅËÁ ÄÌÑ ÒÁÂÏÔÙ Ó ÒÅÇÕÌÑÒÎÙÍÉ ×ÙÒÁÖÅÎÉÑÍÉ Perl-ÓÔÉÌÑ
Group: System/Libraries
Provides: %name = %version-%release
Obsoletes: %name

%package -n lib%name-devel
Summary: Perl-compatible regular expressions development environment
Summary(ru_RU.KOI8-R): úÁÇÏÌÏ×ÏÞÎÙÅ ÆÁÊÌÙ É ÄÏËÕÍÅÎÔÁÃÉÑ ÄÌÑ ÒÁÚÒÁÂÏÔËÉ Ó ÉÓÐÏÌØÚÏ×ÁÎÉÅÍ ÂÉÂÌÉÏÔÅËÉ PCRE
Group: Development/C
Provides: %name-devel = %version-%release
Obsoletes: %name-devel
Requires: %libname = %version-%release

%package -n lib%name-devel-static
Summary: Perl-compatible regular expressions static library
Summary(ru_RU.KOI8-R): ÷ÁÒÉÁÎÔ ÂÉÂÌÉÏÔÅËÉ PCRE ÄÌÑ ÓÔÁÔÉÞÅÓËÏÊ ËÏÍÐÏÎÏ×ËÉ
Group: Development/C
Provides: %name-devel-static = %version-%release
Obsoletes: %name-devel-static
Requires: lib%name-devel = %version-%release

%package -n lib%{name}cpp
Summary: Perl-compatible regular expressions C++ wrapper shared library
Summary(ru_RU.KOI8-R): òÁÚÄÅÌÑÅÍÁÑ ÂÉÂÌÉÏÔÅËÁ ÄÌÑ ÒÁÂÏÔÙ Ó ÒÅÇÕÌÑÒÎÙÍÉ ×ÙÒÁÖÅÎÉÑÍÉ Perl-ÓÔÉÌÑ ÎÁ C++
Group: System/Libraries
Requires: %libname = %version-%release

%package -n lib%{name}cpp-devel
Summary: Perl-compatible regular expressions C++ wrapper development library and header files
Summary(ru_RU.KOI8-R): úÁÇÏÌÏ×ÏÞÎÙÅ ÆÁÊÌÙ É ÂÉÂÌÉÏÔÅËÁ ÄÌÑ ÒÁÚÒÁÂÏÔËÉ ÎÁ C++ Ó ÉÓÐÏÌØÚÏ×ÁÎÉÅÍ PCRE
Group: Development/C
Requires: lib%{name}cpp = %version-%release, lib%name-devel = %version-%release

%package grep
Summary: Grep using perl-compatible regular expressions
Summary(ru_RU.KOI8-R): õÔÉÌÉÔÁ Grep Ó ÒÅÇÕÌÑÒÎÙÍÉ ×ÙÒÁÖÅÎÉÑÍÉ ÎÁ ÂÁÚÅ ÂÉÂÌÉÏÔÅËÉ PCRE
Group: File tools
Obsoletes: pgrep
Requires: %libname = %version-%release

%description
The PCRE library is a set of functions that implement regular expression
pattern matching using the same syntax and semantics as Perl, with
just a few differences.  The current implementation of PCRE corresponds
approximately with Perl 5.8.

%description -l ru_RU.KOI8-R
âÉÂÌÉÏÔÅËÁ PCRE (Perl-compatible regular expressions) ÐÒÅÄÏÓÔÁ×ÌÑÅÔ
ÎÁÂÏÒ ÆÕÎËÃÉÊ ÄÌÑ ÒÁÂÏÔÙ Ó ÒÅÇÕÌÑÒÎÙÍÉ ×ÙÒÁÖÅÎÉÑÍÉ, ÓÉÎÔÁËÓÉÓ É ÓÍÙÓÌ
ËÏÔÏÒÙÈ ÐÏÌÎÏÓÔØÀ ÓÏ×ÐÁÄÁÀÔ ÓÏ ×ÓÔÒÏÅÎÎÙÍÉ ÒÅÇÕÌÑÒÎÙÍÉ ×ÙÒÁÖÅÎÉÑÍÉ
ÑÚÙËÁ Perl ×ÅÒÓÉÉ 5.8.

%description -n %libname
The PCRE library is a set of functions that implement regular expression
pattern matching using the same syntax and semantics as Perl, with
just a few differences.  The current implementation of PCRE corresponds
approximately with Perl 5.8.

This package contains PCRE %{?_enable_compat:compatibility }shared libraries.

%description -n %libname -l ru_RU.KOI8-R
âÉÂÌÉÏÔÅËÁ PCRE (Perl-compatible regular expressions) ÐÒÅÄÏÓÔÁ×ÌÑÅÔ
ÎÁÂÏÒ ÆÕÎËÃÉÊ ÄÌÑ ÒÁÂÏÔÙ Ó ÒÅÇÕÌÑÒÎÙÍÉ ×ÙÒÁÖÅÎÉÑÍÉ, ÓÉÎÔÁËÓÉÓ É ÓÍÙÓÌ
ËÏÔÏÒÙÈ ÐÏÌÎÏÓÔØÀ ÓÏ×ÐÁÄÁÀÔ ÓÏ ×ÓÔÒÏÅÎÎÙÍÉ ÒÅÇÕÌÑÒÎÙÍÉ ×ÙÒÁÖÅÎÉÑÍÉ
ÑÚÙËÁ Perl ×ÅÒÓÉÉ 5.8.

äÁÎÎÙÊ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÄÉÎÁÍÉÞÅÓËÕÀ ÒÁÚÄÅÌÑÅÍÕÀ ÂÉÂÌÉÏÔÅËÕ PCRE%{?_enable_compat:, ÓÏ×ÍÅÓÔÉÍÕÀ ÓÏ ÓÔÁÒÙÍÉ ×ÅÒÓÉÑÍÉ}.

%description -n lib%{name}cpp
The PCRE library is a set of functions that implement regular expression
pattern matching using the same syntax and semantics as Perl, with
just a few differences.  The current implementation of PCRE corresponds
approximately with Perl 5.8.

This package contains PCRE C++ wrapper shared library.

%description -n lib%{name}cpp -l ru_RU.KOI8-R
âÉÂÌÉÏÔÅËÁ PCRE (Perl-compatible regular expressions) ÐÒÅÄÏÓÔÁ×ÌÑÅÔ ÎÁÂÏÒ
ÆÕÎËÃÉÊ ÄÌÑ ÒÁÂÏÔÙ Ó ÒÅÇÕÌÑÒÎÙÍÉ ×ÙÒÁÖÅÎÉÑÍÉ, ÓÉÎÔÁËÓÉÓ É ÓÍÙÓÌ ËÏÔÏÒÙÈ
ÐÏÌÎÏÓÔØÀ ÓÏ×ÐÁÄÁÀÔ ÓÏ ×ÓÔÒÏÅÎÎÙÍÉ ÒÅÇÕÌÑÒÎÙÍÉ ×ÙÒÁÖÅÎÉÑÍÉ ÑÚÙËÁ Perl
×ÅÒÓÉÉ 5.8.

äÁÎÎÙÊ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÄÉÎÁÍÉÞÅÓËÕÀ ÒÁÚÄÅÌÑÅÍÕÀ ÂÉÂÌÉÏÔÅËÕ PCRE ÄÌÑ C++.

%description -n lib%name-devel
The PCRE library is a set of functions that implement regular expression
pattern matching using the same syntax and semantics as Perl, with
just a few differences.  The current implementation of PCRE corresponds
approximately with Perl 5.8.

This package contains development libraries, include files and development
documentation required for developing applications which use perl-style
regular expressions.

%description -n lib%name-devel -l ru_RU.KOI8-R
âÉÂÌÉÏÔÅËÁ PCRE (Perl-compatible regular expressions) ÐÒÅÄÏÓÔÁ×ÌÑÅÔ ÎÁÂÏÒ
ÆÕÎËÃÉÊ ÄÌÑ ÒÁÂÏÔÙ Ó ÒÅÇÕÌÑÒÎÙÍÉ ×ÙÒÁÖÅÎÉÑÍÉ, ÓÉÎÔÁËÓÉÓ É ÓÍÙÓÌ ËÏÔÏÒÙÈ
ÐÏÌÎÏÓÔØÀ ÓÏ×ÐÁÄÁÀÔ ÓÏ ×ÓÔÒÏÅÎÎÙÍÉ ÒÅÇÕÌÑÒÎÙÍÉ ×ÙÒÁÖÅÎÉÑÍÉ ÑÚÙËÁ Perl
×ÅÒÓÉÉ 5.8.

äÁÎÎÙÊ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÓÒÅÄÓÔ×Á ÒÁÚÒÁÂÏÔËÉ: ÚÁÇÏÌÏ×ÏÞÎÙÅ ÆÁÊÌÙ É
ÄÏËÕÍÅÎÔÁÃÉÀ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÎÁÐÉÓÁÎÉÑ É ÓÂÏÒËÉ ÐÒÏÇÒÁÍÍ, ÉÓÐÏÌØÚÕÀÝÉÈ
ÂÉÂÌÉÏÔÅËÕ PCRE.

%description -n lib%{name}cpp-devel
The PCRE library is a set of functions that implement regular expression
pattern matching using the same syntax and semantics as Perl, with
just a few differences.  The current implementation of PCRE corresponds
approximately with Perl 5.8.

This package contains development libraries, include files and development
documentation required for developing C++ applications which use
perl-style regular expressions.

%description -n lib%{name}cpp-devel -l ru_RU.KOI8-R
âÉÂÌÉÏÔÅËÁ PCRE (Perl-compatible regular expressions) ÐÒÅÄÏÓÔÁ×ÌÑÅÔ ÎÁÂÏÒ
ÆÕÎËÃÉÊ ÄÌÑ ÒÁÂÏÔÙ Ó ÒÅÇÕÌÑÒÎÙÍÉ ×ÙÒÁÖÅÎÉÑÍÉ, ÓÉÎÔÁËÓÉÓ É ÓÍÙÓÌ ËÏÔÏÒÙÈ
ÐÏÌÎÏÓÔØÀ ÓÏ×ÐÁÄÁÀÔ ÓÏ ×ÓÔÒÏÅÎÎÙÍÉ ÒÅÇÕÌÑÒÎÙÍÉ ×ÙÒÁÖÅÎÉÑÍÉ ÑÚÙËÁ Perl
×ÅÒÓÉÉ 5.8.

äÁÎÎÙÊ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÓÒÅÄÓÔ×Á ÒÁÚÒÁÂÏÔËÉ: ÚÁÇÏÌÏ×ÏÞÎÙÅ ÆÁÊÌÙ É
ÄÏËÕÍÅÎÔÁÃÉÀ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÎÁÐÉÓÁÎÉÑ É ÓÂÏÒËÉ ÐÒÏÇÒÁÍÍ ÎÁ C++,
ÉÓÐÏÌØÚÕÀÝÉÈ ÂÉÂÌÉÏÔÅËÕ PCRE.

%description -n lib%name-devel-static
The PCRE library is a set of functions that implement regular expression
pattern matching using the same syntax and semantics as Perl, with
just a few differences.  The current implementation of PCRE corresponds
approximately with Perl 5.8.

This package contains static development libraries required for developing
statically linked applications which use perl-style regular expressions.

%description -n lib%name-devel-static -l ru_RU.KOI8-R
âÉÂÌÉÏÔÅËÁ PCRE (Perl-compatible regular expressions) ÐÒÅÄÏÓÔÁ×ÌÑÅÔ ÎÁÂÏÒ
ÆÕÎËÃÉÊ ÄÌÑ ÒÁÂÏÔÙ Ó ÒÅÇÕÌÑÒÎÙÍÉ ×ÙÒÁÖÅÎÉÑÍÉ, ÓÉÎÔÁËÓÉÓ É ÓÍÙÓÌ ËÏÔÏÒÙÈ
ÐÏÌÎÏÓÔØÀ ÓÏ×ÐÁÄÁÀÔ ÓÏ ×ÓÔÒÏÅÎÎÙÍÉ ÒÅÇÕÌÑÒÎÙÍÉ ×ÙÒÁÖÅÎÉÑÍÉ ÑÚÙËÁ Perl
×ÅÒÓÉÉ 5.8.

äÁÎÎÙÊ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÂÉÂÌÉÏÔÅËÕ ÄÌÑ ÓÔÁÔÉÞÅÓËÏÊ ËÏÍÐÏÎÏ×ËÉ ÐÒÏÇÒÁÍÍ,
ÉÓÐÏÌØÚÕÀÝÉÈ ÆÕÎËÃÉÉ PCRE.

%description grep
pgrep is a grep workalike which uses perl-style regular expressions
instead of POSIX regular expressions.

%description grep -l ru_RU.KOI8-R
pgrep Ñ×ÌÑÅÔÓÑ ÕÔÉÌÉÔÏÊ ÐÏÉÓËÁ ÓÔÒÏË × ÆÁÊÌÁÈ ÐÏ ÚÁÄÁÎÎÏÍÕ ÏÂÒÁÚÃÕ, ÎÏ
× ÏÔÌÉÞÉÅ ÏÔ ÓÔÁÎÄÁÒÔÎÏÇÏ grep, ÉÓÐÏÌØÚÕÅÔ × ÏÂÒÁÚÃÅ ÐÏÉÓËÁ ÒÅÇÕÌÑÒÎÙÅ
×ÙÒÁÖÅÎÉÑ ÎÅ POSIX-ÓÔÉÌÑ, Á ÓÔÉÌÑ Perl.

%prep
%setup -q
%{!?_enable_compat:%patch1 -p1}
%patch2 -p1
%patch3 -p1
%patch4 -p1

# Fix configure.in; bundled one is broken and incomplete.

%__subst '/^AC_LIBTOOL_WIN32_DLL/ d;s/AM_PROG_LIBTOOL/AC_PROG_LIBTOOL/' configure.in

%build
# Regenerate configure script; bundled one is broken.
aclocal --force
libtoolize --force
autoconf --force

%configure --includedir=%_includedir/%name %{subst_enable utf8}
%make_build LIBTOOL_EXPORT_OPTIONS=-Wl,--version-script=pcre.map
%{?!__buildreqs:%{?!_without_check:%{?!_disable_check:%make_build check}}}

%install
%make_install install DESTDIR=%buildroot

%__install -pm644 %_sourcedir/pcre-config.1 %buildroot%_man1dir/
%__install -pm755 %_sourcedir/zpcregrep %buildroot%_bindir/
%__ln_s pcregrep.1 %buildroot%_man1dir/zpcregrep.1

%define docdir %_docdir/%name-%version
%__mkdir_p %buildroot%docdir
%__install -pm644 AUTHORS ChangeLog LICENCE README NEWS \
doc/Tech.Notes pcredemo.c %buildroot%docdir/
%__bzip2 -9 %buildroot%docdir/ChangeLog

%post   -n %libname -p %post_ldconfig
%postun -n %libname -p %postun_ldconfig

%post   -n lib%{name}cpp -p %post_ldconfig
%postun -n lib%{name}cpp -p %postun_ldconfig

%files -n %libname
%_libdir/libpcre.so.*
%_libdir/libpcreposix.so.*
%dir %docdir
%docdir/[A-S]*

%if_disabled compat
%files -n lib%{name}cpp
%_libdir/libpcrecpp.so.*

%files -n lib%name-devel
%_bindir/*config
%_libdir/*.so
%_pkgconfigdir/libpcre.pc
%dir %_includedir/pcre
%_includedir/pcre/pcre.h
%_includedir/pcre/pcreposix.h
%_man1dir/*config.*
%_man3dir/*
%dir %docdir
%docdir/T*
%docdir/*.c

%files -n lib%{name}cpp-devel
%_libdir/libpcrecpp.so
%dir %_includedir/pcre
%_includedir/pcre/pcrecpp.h
%_includedir/pcre/pcre_*.h

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

%files grep
%_bindir/*grep
%_bindir/*test
%_man1dir/*
%exclude %_man1dir/*config.*
%endif # disabled compat

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009