diff --git a/baselibs.conf b/baselibs.conf index a4caa28..40a0e6e 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -1,4 +1,5 @@ libpcre1 +libpcre16-0 libpcreposix0 libpcrecpp0 provides "pcre- = " diff --git a/pcre.changes b/pcre.changes index c8045c9..77f6784 100644 --- a/pcre.changes +++ b/pcre.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Nov 7 13:35:35 UTC 2012 - cgiboudeaux@gmx.com + +- Use the --enable-pcre16 configure flag. + This switch enables 16 bit character support that will be required by Qt5 + ------------------------------------------------------------------- Fri Aug 17 14:18:53 UTC 2012 - dimstar@opensuse.org diff --git a/pcre.spec b/pcre.spec index 9ed2d01..397a810 100644 --- a/pcre.spec +++ b/pcre.spec @@ -46,6 +46,7 @@ as Perl 5. Summary: A library for Perl-compatible regular expressions Group: System/Libraries Requires: libpcre1 = %{version} +Requires: libpcre16-0 = %{version} Requires: libpcrecpp0 = %{version} Requires: libpcreposix0 = %{version} Requires: libstdc++-devel @@ -82,6 +83,15 @@ The PCRE library is a set of functions that implement regular expression pattern matching using the same syntax and semantics as Perl 5. +%package -n libpcre16-0 +Summary: A library for Perl-compatible regular expressions +Group: System/Libraries + +%description -n libpcre16-0 +The PCRE library is a set of functions that implement regular +expression pattern matching using the same syntax and semantics +as Perl 5. + %package -n libpcreposix0 Summary: A library for Perl-compatible regular expressions Group: System/Libraries @@ -137,6 +147,7 @@ autoreconf -fiv --with-link-size=2 \ --with-match-limit=10000000 \ --enable-newline-is-lf \ + --enable-pcre16 \ --enable-utf8 \ --enable-unicode-properties %{__make} %{?_smp_mflags} @@ -172,6 +183,10 @@ make test %postun -n libpcre1 -p /sbin/ldconfig +%post -n libpcre16-0 -p /sbin/ldconfig + +%postun -n libpcre16-0 -p /sbin/ldconfig + %post -n libpcrecpp0 -p /sbin/ldconfig %postun -n libpcrecpp0 -p /sbin/ldconfig @@ -185,6 +200,10 @@ make test %doc AUTHORS COPYING ChangeLog LICENCE NEWS README %{_libdir}/libpcre.so.* +%files -n libpcre16-0 +%defattr(-,root,root) +%{_libdir}/libpcre16.so.* + %files -n libpcrecpp0 %defattr(-,root,root) %{_libdir}/libpcrecpp.so.* @@ -210,6 +229,7 @@ make test %{_includedir}/* %{_libdir}/*.so %{_libdir}/pkgconfig/libpcre.pc +%{_libdir}/pkgconfig/libpcre16.pc %{_libdir}/pkgconfig/libpcrecpp.pc %{_libdir}/pkgconfig/libpcreposix.pc %{_mandir}/man1/pcre-config.*