6 groups = System/Libraries
7 url = http://www.pcre.org/
9 summary = Perl-compatible regular expression library.
12 PCRE2 is a re-working of the original PCRE (Perl-compatible regular
13 expression) library to provide an entirely new API.
15 PCRE2 is written in C, and it has its own API. There are three sets of
16 functions, one for the 8-bit library, which processes strings of bytes, one
17 for the 16-bit library, which processes strings of 16-bit values, and one for
18 the 32-bit library, which processes strings of 32-bit values. There are no C++
19 wrappers. This package provides support for strings in 8-bit and UTF-8
20 encodings. Install %{name}-utf16 or %{name}-utf32 packages for the other ones.
22 The distribution does contain a set of C wrapper functions for the 8-bit
23 library that are based on the POSIX regular expression API (see the pcre2posix
24 man page). These can be found in a library called libpcre2posix. Note that
25 this just provides a POSIX calling interface to PCRE2; the regular expressions
26 themselves still follow Perl syntax and semantics. The POSIX API is
27 restricted, and does not give full access to all of PCRE2's facilities.
30 source_dl = ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/
39 configure_options += \
41 --docdir=%{datadir}/doc/pcre-%{version} \
42 --disable-bsr-anycrlf \
45 --disable-fuzz-support \
46 --disable-jit-sealloc \
51 --enable-pcre2grep-callout \
52 --enable-pcre2grep-jit \
53 --disable-pcre2grep-libbz2 \
54 --disable-pcre2grep-libz \
55 --disable-pcre2test-libedit \
56 --enable-pcre2test-libreadline \
57 --disable-rebuild-chartables \
62 export LD_LIBRARY_PATH=$(pwd)/.libs
71 summary = UTF-%{bits} variant of pcre2
73 This is PCRE2 library working on UTF-%{bits} strings.
77 %{libdir}/libpcre2-%{bits}.so.*
95 %{name}-utf16 = %{thisver}
96 %{name}-utf32 = %{thisver}
100 package %{name}-debuginfo