3 |
%define pcreposix_major 1 |
%define pcreposix_major 1 |
4 |
%define pcreposix_compat_major 0 |
%define pcreposix_compat_major 0 |
5 |
%define libname_orig lib%{name} |
%define libname_orig lib%{name} |
6 |
|
%define libname16_orig lib%{name}16 |
7 |
|
%define libname32_orig lib%{name}32 |
8 |
%define libname %mklibname pcre %{pcre_major} |
%define libname %mklibname pcre %{pcre_major} |
9 |
|
%define libname16 %mklibname pcre 16 %{pcre_major} |
10 |
|
%define libname32 %mklibname pcre 32 %{pcre_major} |
11 |
%define libnamecpp %mklibname pcrecpp %{pcrecpp_major} |
%define libnamecpp %mklibname pcrecpp %{pcrecpp_major} |
12 |
%define libnameposix %mklibname pcreposix %{pcreposix_major} |
%define libnameposix %mklibname pcreposix %{pcreposix_major} |
13 |
%define libnameposix_compat %mklibname pcreposix %{pcreposix_compat_major} |
%define libnameposix_compat %mklibname pcreposix %{pcreposix_compat_major} |
20 |
Summary: Perl-compatible regular expression library |
Summary: Perl-compatible regular expression library |
21 |
Name: pcre |
Name: pcre |
22 |
Version: 8.32 |
Version: 8.32 |
23 |
Release: %mkrel 5 |
Release: %mkrel 7 |
24 |
License: BSD-Style |
License: BSD-Style |
25 |
Group: File tools |
Group: File tools |
26 |
URL: http://www.pcre.org/ |
URL: http://www.pcre.org/ |
49 |
%description -n %{libname} |
%description -n %{libname} |
50 |
This package contains the shared library libpcre. |
This package contains the shared library libpcre. |
51 |
|
|
52 |
|
%package -n %{libname16} |
53 |
|
Group: System/Libraries |
54 |
|
Summary: Perl-compatible regular expression library |
55 |
|
Requires(pre): filesystem >= 2.1.9-18 |
56 |
|
Provides: %{libname16_orig} = %{version}-%{release} |
57 |
|
|
58 |
|
%description -n %{libname16} |
59 |
|
This package contains the shared library libpcre. |
60 |
|
|
61 |
|
%package -n %{libname32} |
62 |
|
Group: System/Libraries |
63 |
|
Summary: Perl-compatible regular expression library |
64 |
|
Requires(pre): filesystem >= 2.1.9-18 |
65 |
|
Provides: %{libname32_orig} = %{version}-%{release} |
66 |
|
|
67 |
|
%description -n %{libname32} |
68 |
|
This package contains the shared library libpcre. |
69 |
|
|
70 |
%package -n %{libnamecpp} |
%package -n %{libnamecpp} |
71 |
Group: System/Libraries |
Group: System/Libraries |
98 |
Group: Development/C |
Group: Development/C |
99 |
Summary: Headers and static lib for pcre development |
Summary: Headers and static lib for pcre development |
100 |
Requires: %{libname} = %{version}-%{release} |
Requires: %{libname} = %{version}-%{release} |
101 |
|
Requires: %{libname16} = %{version}-%{release} |
102 |
|
Requires: %{libname32} = %{version}-%{release} |
103 |
Provides: %{libname_orig}-devel = %{version}-%{release} |
Provides: %{libname_orig}-devel = %{version}-%{release} |
104 |
Provides: %{name}-devel = %{version}-%{release} |
Provides: %{name}-devel = %{version}-%{release} |
105 |
Obsoletes: %mklibname pcre 0 -d |
Obsoletes: %mklibname pcre 0 -d |
164 |
--disable-static \ |
--disable-static \ |
165 |
--enable-utf \ |
--enable-utf \ |
166 |
--enable-unicode-properties \ |
--enable-unicode-properties \ |
167 |
|
--enable-pcre8 \ |
168 |
|
--enable-pcre16 \ |
169 |
|
--enable-pcre32 \ |
170 |
--enable-jit |
--enable-jit |
171 |
%make |
%make |
172 |
cd - |
cd - |
206 |
%files -n %{libname} |
%files -n %{libname} |
207 |
%{_libdir}/libpcre.so.%{pcre_major}* |
%{_libdir}/libpcre.so.%{pcre_major}* |
208 |
|
|
209 |
|
%files -n %{libname16} |
210 |
|
%{_libdir}/libpcre16.so.%{pcrecpp_major}* |
211 |
|
|
212 |
|
%files -n %{libname32} |
213 |
|
%{_libdir}/libpcre32.so.%{pcrecpp_major}* |
214 |
|
|
215 |
%files -n %{libnamecpp} |
%files -n %{libnamecpp} |
216 |
%{_libdir}/libpcrecpp.so.%{pcrecpp_major}* |
%{_libdir}/libpcrecpp.so.%{pcrecpp_major}* |
217 |
|
|
227 |
%doc doc/html |
%doc doc/html |
228 |
%doc ChangeLog |
%doc ChangeLog |
229 |
%{_libdir}/libpcre.so |
%{_libdir}/libpcre.so |
230 |
|
%{_libdir}/libpcre16.so |
231 |
|
%{_libdir}/libpcre32.so |
232 |
%{_includedir}/pcre.h |
%{_includedir}/pcre.h |
233 |
%{_includedir}/pcre_*.h |
%{_includedir}/pcre_*.h |
234 |
%{_libdir}/pkgconfig/libpcre.pc |
%{_libdir}/pkgconfig/libpcre.pc |
235 |
|
%{_libdir}/pkgconfig/libpcre16.pc |
236 |
|
%{_libdir}/pkgconfig/libpcre32.pc |
237 |
%{_bindir}/pcre-config |
%{_bindir}/pcre-config |
238 |
%multiarch %{multiarch_bindir}/pcre-config |
%multiarch %{multiarch_bindir}/pcre-config |
239 |
%{_mandir}/man1/pcre-config.1* |
%{_mandir}/man1/pcre-config.1* |