ALT Linux repositórios
Group :: Sistema/Bibliotecas
RPM: pcre
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: pcre
Version: 7.8
Release: alt2
Summary: Perl-compatible regular expression library
License: BSD-style
Group: System/Libraries
Url: http://www.pcre.org/
Packager: Dmitry V. Levin <ldv at altlinux.org>
Source: ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-%version.tar
Source1: pcre-config.1
Patch1: pcre-%version-%release.patch
Patch2: pcre-7.8-deb-alt-shlib.patch
Summary(ru_RU.KOI8-R): âÉÂÌÉÏÔÅËÁ ÄÌÑ ÒÁÂÏÔÙ Ó Perl-ÓÏ×ÍÅÓÔÉÍÙÍÉ ÒÅÇÕÌÑÒÎÙÍÉ ×ÙÒÁÖÅÎÉÑÍÉ
%def_enable cpp
%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: pcre-config(utf8)
Provides: pcre-config(unicode-properties)
Provides: %name = %version
Obsoletes: %name < %version
%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
Obsoletes: %name-devel < %version
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
Obsoletes: %name-devel-static < %version
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
%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.
%prep
%setup -q
%patch1 -p1
%{!?_enable_compat:%patch2 -p1}
%build
autoreconf -fisv
%define docdir %_docdir/%name-%version
%configure --includedir=%_includedir/%name \
--docdir=%docdir \
%{subst_enable cpp} \
--enable-utf8 \
--enable-unicode-properties \
#
%make_build
%{?!__buildreqs:%{?!_without_check:%{?!_disable_check:%make_build check}}}
%install
%make_install install DESTDIR=%buildroot
# Relocate shared libraries from %_libdir/ to /%_lib/.
mkdir %buildroot/%_lib
for f in %buildroot%_libdir/libpcre{,posix}.so; do
t=`objdump -p "$f" |awk '$1=="SONAME"{print $2}'`
[ -n "$t" ]
ln -sf ../../%_lib/"$t" "$f"
done
mv %buildroot%_libdir/libpcre{,posix}.so.* %buildroot/%_lib/
install -pm644 %_sourcedir/pcre-config.1 %buildroot%_man1dir/
bzip2 -9 %buildroot%docdir/ChangeLog
install -pm644 HACKING pcredemo.c %buildroot%docdir/
rm %buildroot%_bindir/pcregrep
rm %buildroot%_man1dir/pcregrep.*
rm %buildroot%_libdir/*.la
%files -n %libname
/%_lib/libpcre.so.*
/%_lib/libpcreposix.so.*
%dir %docdir
%docdir/[ACLN]*
%if_disabled compat
%files -n lib%name-devel
%_libdir/*.so
%_includedir/pcre
%if_enabled cpp
%exclude %_libdir/libpcrecpp.so
%exclude %_includedir/pcre/pcrecpp*.h
%exclude %_includedir/pcre/pcre_*.h
%endif #cpp
%_bindir/*
%_pkgconfigdir/libpcre.pc
%_man1dir/*
%_man3dir/*
%dir %docdir
%docdir/H*
%docdir/*.c
%if_enabled cpp
%files -n lib%{name}cpp
%_libdir/libpcrecpp.so.*
%files -n lib%{name}cpp-devel
%_libdir/libpcrecpp.so
%dir %_includedir/pcre
%_includedir/pcre/pcrecpp*.h
%_includedir/pcre/pcre_*.h
%_pkgconfigdir/libpcrecpp.pc
%endif #cpp
%files -n lib%name-devel-static
%_libdir/*.a
%endif # disabled compat
%changelog
…
Todas as alterações você pod ver aqui
Version: 7.8
Release: alt2
Summary: Perl-compatible regular expression library
License: BSD-style
Group: System/Libraries
Url: http://www.pcre.org/
Packager: Dmitry V. Levin <ldv at altlinux.org>
Source: ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-%version.tar
Source1: pcre-config.1
Patch1: pcre-%version-%release.patch
Patch2: pcre-7.8-deb-alt-shlib.patch
Summary(ru_RU.KOI8-R): âÉÂÌÉÏÔÅËÁ ÄÌÑ ÒÁÂÏÔÙ Ó Perl-ÓÏ×ÍÅÓÔÉÍÙÍÉ ÒÅÇÕÌÑÒÎÙÍÉ ×ÙÒÁÖÅÎÉÑÍÉ
%def_enable cpp
%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: pcre-config(utf8)
Provides: pcre-config(unicode-properties)
Provides: %name = %version
Obsoletes: %name < %version
%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
Obsoletes: %name-devel < %version
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
Obsoletes: %name-devel-static < %version
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
%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.
%prep
%setup -q
%patch1 -p1
%{!?_enable_compat:%patch2 -p1}
%build
autoreconf -fisv
%define docdir %_docdir/%name-%version
%configure --includedir=%_includedir/%name \
--docdir=%docdir \
%{subst_enable cpp} \
--enable-utf8 \
--enable-unicode-properties \
#
%make_build
%{?!__buildreqs:%{?!_without_check:%{?!_disable_check:%make_build check}}}
%install
%make_install install DESTDIR=%buildroot
# Relocate shared libraries from %_libdir/ to /%_lib/.
mkdir %buildroot/%_lib
for f in %buildroot%_libdir/libpcre{,posix}.so; do
t=`objdump -p "$f" |awk '$1=="SONAME"{print $2}'`
[ -n "$t" ]
ln -sf ../../%_lib/"$t" "$f"
done
mv %buildroot%_libdir/libpcre{,posix}.so.* %buildroot/%_lib/
install -pm644 %_sourcedir/pcre-config.1 %buildroot%_man1dir/
bzip2 -9 %buildroot%docdir/ChangeLog
install -pm644 HACKING pcredemo.c %buildroot%docdir/
rm %buildroot%_bindir/pcregrep
rm %buildroot%_man1dir/pcregrep.*
rm %buildroot%_libdir/*.la
%files -n %libname
/%_lib/libpcre.so.*
/%_lib/libpcreposix.so.*
%dir %docdir
%docdir/[ACLN]*
%if_disabled compat
%files -n lib%name-devel
%_libdir/*.so
%_includedir/pcre
%if_enabled cpp
%exclude %_libdir/libpcrecpp.so
%exclude %_includedir/pcre/pcrecpp*.h
%exclude %_includedir/pcre/pcre_*.h
%endif #cpp
%_bindir/*
%_pkgconfigdir/libpcre.pc
%_man1dir/*
%_man3dir/*
%dir %docdir
%docdir/H*
%docdir/*.c
%if_enabled cpp
%files -n lib%{name}cpp
%_libdir/libpcrecpp.so.*
%files -n lib%{name}cpp-devel
%_libdir/libpcrecpp.so
%dir %_includedir/pcre
%_includedir/pcre/pcrecpp*.h
%_includedir/pcre/pcre_*.h
%_pkgconfigdir/libpcrecpp.pc
%endif #cpp
%files -n lib%name-devel-static
%_libdir/*.a
%endif # disabled compat
%changelog
…
Todas as alterações você pod ver aqui