8 |
%define libnameposix %mklibname pcreposix %{pcreposix_major} |
%define libnameposix %mklibname pcreposix %{pcreposix_major} |
9 |
%define libnameposix_compat %mklibname pcreposix %{pcreposix_compat_major} |
%define libnameposix_compat %mklibname pcreposix %{pcreposix_compat_major} |
10 |
%define develname %mklibname -d pcre |
%define develname %mklibname -d pcre |
11 |
|
%define develposix %mklibname -d pcreposix |
12 |
|
|
13 |
%define build_pcreposix_compat 1 |
%define build_pcreposix_compat 1 |
14 |
|
|
15 |
Summary: Perl-compatible regular expression library |
Summary: Perl-compatible regular expression library |
16 |
Name: pcre |
Name: pcre |
17 |
Version: 8.32 |
Version: 8.32 |
18 |
Release: %mkrel 2 |
Release: %mkrel 3 |
19 |
License: BSD-Style |
License: BSD-Style |
20 |
Group: File tools |
Group: File tools |
21 |
URL: http://www.pcre.org/ |
URL: http://www.pcre.org/ |
77 |
Summary: Headers and static lib for pcre development |
Summary: Headers and static lib for pcre development |
78 |
Requires: %{libname} = %{version}-%{release} |
Requires: %{libname} = %{version}-%{release} |
79 |
Requires: %{libnamecpp} = %{version}-%{release} |
Requires: %{libnamecpp} = %{version}-%{release} |
|
Requires: %{libnameposix} = %{version}-%{release} |
|
|
Requires: %{libnameposix_compat} = %{version}-%{release} |
|
80 |
Provides: %{libname_orig}-devel = %{version}-%{release} |
Provides: %{libname_orig}-devel = %{version}-%{release} |
81 |
Provides: %{name}-devel = %{version}-%{release} |
Provides: %{name}-devel = %{version}-%{release} |
82 |
Obsoletes: %mklibname pcre 0 -d |
Obsoletes: %mklibname pcre 0 -d |
85 |
Install this package if you want do compile applications using the pcre |
Install this package if you want do compile applications using the pcre |
86 |
library. |
library. |
87 |
|
|
88 |
|
%package -n %{develposix} |
89 |
|
Group: Development/C |
90 |
|
Summary: Headers and static lib for pcreposix development |
91 |
|
Provides: pcreposix-devel = %{version}-%{release} |
92 |
|
Requires: %{libnameposix} = %{version}-%{release} |
93 |
|
Requires: %{develname} = %{version}-%{release} |
94 |
|
Conflicts: pcre-devel < 8.21-3 |
95 |
|
|
96 |
|
%description -n %{develposix} |
97 |
|
Install this package if you want do compile applications using the pcre |
98 |
|
library. |
99 |
|
|
100 |
The header file for the POSIX-style functions is called pcreposix.h. The |
The header file for the POSIX-style functions is called pcreposix.h. The |
101 |
official POSIX name is regex.h, but I didn't want to risk possible problems |
official POSIX name is regex.h, but I didn't want to risk possible problems |
102 |
with existing files of that name by distributing it that way. To use it with an |
with existing files of that name by distributing it that way. To use it with an |
187 |
%{_includedir}/*.h |
%{_includedir}/*.h |
188 |
%{_libdir}/pkgconfig/libpcre.pc |
%{_libdir}/pkgconfig/libpcre.pc |
189 |
%{_libdir}/pkgconfig/libpcrecpp.pc |
%{_libdir}/pkgconfig/libpcrecpp.pc |
|
%{_libdir}/pkgconfig/libpcreposix.pc |
|
190 |
%{_bindir}/pcre-config |
%{_bindir}/pcre-config |
191 |
%multiarch %{multiarch_bindir}/pcre-config |
%multiarch %{multiarch_bindir}/pcre-config |
192 |
%{_mandir}/man1/pcre-config.1* |
%{_mandir}/man1/pcre-config.1* |
193 |
%{_mandir}/man3/*.3* |
%{_mandir}/man3/*.3* |
194 |
|
%exclude %{_libdir}/libpcreposix.so |
195 |
|
%exclude %{_mandir}/man3/pcreposix.3* |
196 |
|
|
197 |
|
%files -n %{develposix} |
198 |
|
%{_libdir}/libpcreposix.so |
199 |
|
%{_libdir}/pkgconfig/libpcreposix.pc |
200 |
|
%{_mandir}/man3/pcreposix.3* |