]>
Commit | Line | Data |
---|---|---|
f272ff1a ER |
1 | # TODO |
2 | # - pcreposix subpackage? | |
3 | ||
3f8f4247 | 4 | # Conditional build: |
2487be5a JB |
5 | %bcond_without pcre16 # 16-bit character support |
6 | %bcond_without pcre32 # 32-bit character support | |
7 | %bcond_without static_libs # static libraries build | |
be58c0b9 | 8 | %bcond_without tests # don't perform "make check" |
884e4ac3 | 9 | |
15f97430 | 10 | Summary: Perl-Compatible Regular Expression library |
f2bc0236 ER |
11 | Summary(pl.UTF-8): Biblioteka perlowych wyrażeń regularnych |
12 | Summary(pt_BR.UTF-8): Biblioteca de expressões regulares versão | |
74bd1d6b | 13 | Name: pcre |
b2c6bdc4 | 14 | Version: 8.39 |
0aa96480 | 15 | Release: 1 |
c5944087 | 16 | License: BSD (see LICENCE) |
74bd1d6b | 17 | Group: Libraries |
d5cbbdbb | 18 | Source0: ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/%{name}-%{version}.tar.bz2 |
b2c6bdc4 | 19 | # Source0-md5: e3fca7650a0556a2647821679d81f585 |
7454b850 | 20 | Patch0: %{name}-pcreposix-glibc-conflict.patch |
cba62653 | 21 | URL: http://www.pcre.org/ |
405ea4e9 | 22 | BuildRequires: autoconf >= 2.57 |
fc95eac7 | 23 | BuildRequires: automake |
884e4ac3 | 24 | BuildRequires: bzip2-devel |
405ea4e9 | 25 | BuildRequires: libstdc++-devel |
45f14e02 | 26 | BuildRequires: libtool >= 2:2 |
884e4ac3 ER |
27 | BuildRequires: readline-devel |
28 | BuildRequires: zlib-devel | |
a3907a5b | 29 | Obsoletes: libpcre0 |
405ea4e9 | 30 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
15f97430 | 31 | |
32 | %description | |
74bd1d6b | 33 | PCRE stands for the Perl Compatible Regular Expression library. It |
15f97430 | 34 | contains routines to match text against regular expressions similar to |
c2e412f4 | 35 | Perl's. It also contains a POSIX compatibility library. |
15f97430 | 36 | |
e1eb8667 JR |
37 | %description -l es.UTF-8 |
38 | A biblioteca PCRE é um set de funções que implementam expressões | |
39 | regulares utilizando-se da mesma sintaxe e semântica do perl 5. Possui | |
40 | sua própria API nativa, bem como um set de funções wrapper para | |
41 | corresponder ao padrão POSIX de expressões regulares. | |
5689bc32 | 42 | |
e1eb8667 JR |
43 | %description -l pl.UTF-8 |
44 | PCRE (Perl-Compatible Regular Expression) oznacza bibliotekę wyrażeń | |
45 | regularnych kompatybilnych z perlowymi. Zawiera funkcje dopasowujące | |
46 | tekst do wyrażeń regularnych podobnych do tych znanych z Perla. | |
47 | Zawiera także bibliotekę kompatybilną z POSIX. | |
fc95eac7 | 48 | |
e1eb8667 JR |
49 | %description -l pt_BR.UTF-8 |
50 | A biblioteca PCRE é um conjunto de funções que implementam expressões | |
51 | regulares utilizando-se da mesma sintaxe e semântica do perl 5. Possui | |
52 | sua própria API nativa, bem como um conjuntos de funções wrapper para | |
53 | corresponder ao padrão POSIX de expressões regulares. | |
5689bc32 | 54 | |
74bd1d6b | 55 | %package devel |
56 | Summary: Perl-Compatible Regular Expression header files and development documentation | |
f2bc0236 ER |
57 | Summary(pl.UTF-8): Pliki nagłówkowe i dokumentacja do bibliotek pcre |
58 | Summary(pt_BR.UTF-8): Arquivos para desenvolvimento com pcre | |
74bd1d6b | 59 | Group: Development/Libraries |
405ea4e9 | 60 | Requires: %{name} = %{version}-%{release} |
a3907a5b | 61 | Obsoletes: libpcre0-devel |
15f97430 | 62 | |
74bd1d6b | 63 | %description devel |
64 | Perl-Compatible Regular Expression header files and development | |
65 | documentation. | |
15f97430 | 66 | |
e1eb8667 JR |
67 | %description devel -l es.UTF-8 |
68 | A biblioteca PCRE é um set de funções que implementam expressões | |
69 | regulares utilizando-se da mesma sintaxe e semântica do perl 5. Possui | |
70 | sua própria API nativa, bem como um set de funções wrapper para | |
71 | corresponder ao padrão POSIX de expressões regulares. | |
5689bc32 | 72 | |
e1eb8667 JR |
73 | %description devel -l pl.UTF-8 |
74 | Pliki nagłówkowe i dokumentacja do bibliotek pcre. | |
74bd1d6b | 75 | |
e1eb8667 JR |
76 | %description devel -l pt_BR.UTF-8 |
77 | A biblioteca PCRE é um conjunto de funções que implementam expressões | |
78 | regulares utilizando-se da mesma sintaxe e semântica do perl 5. Possui | |
79 | sua própria API nativa, bem como um conjunto de funções wrapper para | |
80 | corresponder ao padrão POSIX de expressões regulares. | |
5689bc32 | 81 | |
74bd1d6b | 82 | %package static |
83 | Summary: Perl-Compatible Regular Expression static libraries | |
f2bc0236 ER |
84 | Summary(pl.UTF-8): Biblioteki statyczne pcre |
85 | Summary(pt_BR.UTF-8): Arquivos para desenvolvimento estático com pcre | |
74bd1d6b | 86 | Group: Development/Libraries |
405ea4e9 | 87 | Requires: %{name}-devel = %{version}-%{release} |
74bd1d6b | 88 | |
89 | %description static | |
c2e412f4 | 90 | Perl-Compatible Regular Expression library static libraries. |
15f97430 | 91 | |
e1eb8667 JR |
92 | %description static -l es.UTF-8 |
93 | A biblioteca PCRE é um set de funções que implementam expressões | |
94 | regulares utilizando-se da mesma sintaxe e semântica do perl 5. Possui | |
95 | sua própria API nativa, bem como um set de funções wrapper para | |
96 | corresponder ao padrão POSIX de expressões regulares. | |
5689bc32 | 97 | |
e1eb8667 | 98 | %description static -l pl.UTF-8 |
74bd1d6b | 99 | Biblioteki statyczne pcre. |
15f97430 | 100 | |
e1eb8667 JR |
101 | %description static -l pt_BR.UTF-8 |
102 | A biblioteca PCRE é um conjunto de funções que implementam expressões | |
103 | regulares utilizando-se da mesma sintaxe e semântica do perl 5. Possui | |
104 | sua própria API nativa, bem como um conjunto de funções wrapper para | |
105 | corresponder ao padrão POSIX de expressões regulares. | |
5689bc32 | 106 | |
405ea4e9 JB |
107 | %package cxx |
108 | Summary: C++ wrapper to PCRE library | |
f2bc0236 | 109 | Summary(pl.UTF-8): Interfejs C++ do biblioteki PCRE |
405ea4e9 JB |
110 | Group: Libraries |
111 | Requires: %{name} = %{version}-%{release} | |
112 | ||
113 | %description cxx | |
114 | C++ wrapper to PCRE library. | |
115 | ||
e1eb8667 | 116 | %description cxx -l pl.UTF-8 |
405ea4e9 JB |
117 | Interfejs C++ do biblioteki PCRE. |
118 | ||
119 | %package cxx-devel | |
120 | Summary: Header file for C++ wrapper to PCRE library | |
f2bc0236 | 121 | Summary(pl.UTF-8): Plik nagłówkowy interfejsu C++ do biblioteki PCRE |
405ea4e9 JB |
122 | Group: Development/Libraries |
123 | Requires: %{name}-cxx = %{version}-%{release} | |
124 | Requires: %{name}-devel = %{version}-%{release} | |
125 | Requires: libstdc++-devel | |
126 | ||
127 | %description cxx-devel | |
128 | Header file for C++ wrapper to PCRE library. | |
129 | ||
e1eb8667 JR |
130 | %description cxx-devel -l pl.UTF-8 |
131 | Plik nagłówkowy interfejsu C++ do biblioteki PCRE. | |
405ea4e9 JB |
132 | |
133 | %package cxx-static | |
134 | Summary: Static version of pcrecpp library | |
f2bc0236 | 135 | Summary(pl.UTF-8): Statyczna wersja biblioteki pcrecpp |
405ea4e9 JB |
136 | Group: Development/Libraries |
137 | Requires: %{name}-cxx-devel = %{version}-%{release} | |
138 | ||
139 | %description cxx-static | |
140 | Static version of pcrecpp library. | |
141 | ||
e1eb8667 | 142 | %description cxx-static -l pl.UTF-8 |
405ea4e9 JB |
143 | Statyczna wersja biblioteki pcrecpp. |
144 | ||
2487be5a JB |
145 | %package -n pcre16 |
146 | Summary: PCRE library with 16-bit character support | |
147 | Summary(pl.UTF-8): Biblioteka PCRE z obsługą znaków 16-bitowych | |
148 | Group: Libraries | |
149 | ||
150 | %description -n pcre16 | |
151 | PCRE (Perl compatible regular expressions) C library with 16-bit | |
152 | character support. | |
153 | ||
154 | %description -n pcre16 -l pl.UTF-8 | |
155 | Biblioteka C PCRE (perlowych wyrażeń regularnych) z obsługą znaków | |
156 | 16-bitowych. | |
157 | ||
158 | %package -n pcre16-devel | |
159 | Summary: Development files for PCRE library with 16-bit character support | |
160 | Summary(pl.UTF-8): Pliki programistyczne biblioteki PCRE z obsługą znaków 16-bitowych | |
161 | Group: Development/Libraries | |
162 | # base devel required for (common) headers and man page contents; | |
163 | # pulling base pcre doesn't hurt, as it's already required by some basic packages | |
164 | Requires: %{name}-devel = %{version}-%{release} | |
165 | Requires: pcre16 = %{version}-%{release} | |
166 | ||
167 | %description -n pcre16-devel | |
168 | Development files for PCRE library with 16-bit character support. | |
169 | ||
170 | %description -n pcre16-devel -l pl.UTF-8 | |
171 | Pliki programistyczne biblioteki PCRE z obsługą znaków 16-bitowych. | |
172 | ||
173 | %package -n pcre16-static | |
174 | Summary: Static PCRE library with 16-bit character support | |
175 | Summary(pl.UTF-8): Biblioteka statyczna PCRE z obsługą znaków 16-bitowych | |
176 | Group: Development/Libraries | |
177 | Requires: pcre16-devel = %{version}-%{release} | |
178 | ||
179 | %description -n pcre16-static | |
180 | Static PCRE library with 16-bit character support. | |
181 | ||
182 | %description -n pcre16-static -l pl.UTF-8 | |
183 | Biblioteka statyczna PCRE z obsługą znaków 16-bitowych. | |
184 | ||
185 | %package -n pcre32 | |
186 | Summary: PCRE library with 32-bit character support | |
187 | Summary(pl.UTF-8): Biblioteka PCRE z obsługą znaków 32-bitowych | |
188 | Group: Libraries | |
189 | ||
190 | %description -n pcre32 | |
191 | PCRE (Perl compatible regular expressions) C library with 32-bit | |
192 | character support. | |
193 | ||
194 | %description -n pcre32 -l pl.UTF-8 | |
195 | Biblioteka C PCRE (perlowych wyrażeń regularnych) z obsługą znaków | |
196 | 32-bitowych. | |
197 | ||
198 | %package -n pcre32-devel | |
199 | Summary: Development files for PCRE library with 32-bit character support | |
200 | Summary(pl.UTF-8): Pliki programistyczne biblioteki PCRE z obsługą znaków 32-bitowych | |
201 | Group: Development/Libraries | |
202 | # base devel required for (common) headers and man page contents; | |
203 | # pulling base pcre doesn't hurt, as it's already required by some basic packages | |
204 | Requires: %{name}-devel = %{version}-%{release} | |
205 | Requires: pcre32 = %{version}-%{release} | |
206 | ||
207 | %description -n pcre32-devel | |
208 | Development files for PCRE library with 32-bit character support. | |
209 | ||
210 | %description -n pcre32-devel -l pl.UTF-8 | |
211 | Pliki programistyczne biblioteki PCRE z obsługą znaków 32-bitowych. | |
212 | ||
213 | %package -n pcre32-static | |
214 | Summary: Static PCRE library with 32-bit character support | |
215 | Summary(pl.UTF-8): Biblioteka statyczna PCRE z obsługą znaków 32-bitowych | |
216 | Group: Development/Libraries | |
217 | Requires: pcre32-devel = %{version}-%{release} | |
218 | ||
219 | %description -n pcre32-static | |
220 | Static PCRE library with 32-bit character support. | |
221 | ||
222 | %description -n pcre32-static -l pl.UTF-8 | |
223 | Biblioteka statyczna PCRE z obsługą znaków 32-bitowych. | |
224 | ||
8a5a0606 | 225 | %package -n pcregrep |
74bd1d6b | 226 | Summary: Grep using Perl Compatible Regular Expressions |
f2bc0236 | 227 | Summary(pl.UTF-8): Grep używający perlowych wyrażeń regularnych |
552a6252 | 228 | Group: Applications/Text |
2487be5a | 229 | Requires: %{name} = %{version}-%{release} |
8a5a0606 | 230 | Obsoletes: pgrep |
74bd1d6b | 231 | |
8a5a0606 | 232 | %description -n pcregrep |
74bd1d6b | 233 | pgrep is a grep workalike which uses perl-style regular expressions |
234 | instead of POSIX regular expressions. | |
235 | ||
e1eb8667 JR |
236 | %description -n pcregrep -l pl.UTF-8 |
237 | pgrep jest programem działającym podobnie do grepa, ale używających | |
238 | perlowych wyrażeń regularnych, a nie posiksowych. | |
fc95eac7 | 239 | |
006d0fe7 | 240 | %package -n pcretest |
2487be5a | 241 | Summary: A program for testing Perl-compatible regular expressions |
5bcd73ce | 242 | Summary(pl.UTF-8): Program do testowania kompatybilnych z perlem wyrażeń regularnych |
006d0fe7 | 243 | Group: Applications/Text |
2487be5a JB |
244 | Requires: %{name} = %{version}-%{release} |
245 | %{?with_pcre16:Requires: pcre16 = %{version}-%{release}} | |
246 | %{?with_pcre32:Requires: pcre32 = %{version}-%{release}} | |
006d0fe7 AG |
247 | |
248 | %description -n pcretest | |
5bcd73ce | 249 | pcretest is a program which you can use to test regular expression. |
006d0fe7 | 250 | |
e1eb8667 | 251 | %description -n pcretest -l pl.UTF-8 |
5bcd73ce JB |
252 | pcretest jest programem, za pomocą którego można sprawdzić poprawność |
253 | wyrażenia regularnego. | |
006d0fe7 | 254 | |
3db59d4f | 255 | %package doc-html |
d2b5d592 | 256 | Summary: Documentation for PCRE in HTML format |
f2bc0236 | 257 | Summary(pl.UTF-8): Dokumentacja dla PCRE w formacie HTML |
3db59d4f | 258 | Group: Applications/Text |
259 | ||
260 | %description doc-html | |
d2b5d592 | 261 | Documentation for PCRE in HTML format. |
3db59d4f | 262 | |
e1eb8667 | 263 | %description doc-html -l pl.UTF-8 |
d2b5d592 | 264 | Dokumentacja dla PCRE w formacie HTML. |
3db59d4f | 265 | |
74bd1d6b | 266 | %prep |
267 | %setup -q | |
7454b850 | 268 | %patch0 -p1 |
15f97430 | 269 | |
270 | %build | |
2f21abf2 | 271 | %{__libtoolize} |
f40a4819 | 272 | %{__aclocal} -I m4 |
cef579c6 | 273 | %{__autoconf} |
f759fb19 JB |
274 | %{__autoheader} |
275 | %{__automake} | |
74bd1d6b | 276 | %configure \ |
53bcd14b | 277 | CXXLDFLAGS="%{rpmldflags}" \ |
d053ddf7 | 278 | --disable-silent-rules \ |
f7c024bd | 279 | %{!?with_static_libs:--disable-static} \ |
11e092cd | 280 | %ifnarch x32 |
c5e559a4 | 281 | --enable-jit \ |
11e092cd | 282 | %endif |
9e38bcbc | 283 | %{?with_pcre16:--enable-pcre16} \ |
2487be5a | 284 | %{?with_pcre32:--enable-pcre32} \ |
da07eef6 | 285 | --enable-pcregrep-libz \ |
286 | --enable-pcregrep-libbz2 \ | |
1a105e6c | 287 | --enable-pcretest-libreadline \ |
14f80290 JB |
288 | --enable-unicode-properties \ |
289 | --enable-utf8 | |
e11fd783 | 290 | |
dc40b652 | 291 | %{__make} |
15f97430 | 292 | |
be58c0b9 | 293 | %if %{with tests} |
aa8b242d AM |
294 | # tests need big stack |
295 | ulimit -s 32768 | |
edfd91c3 | 296 | %{__make} -j1 check |
be58c0b9 JB |
297 | %endif |
298 | ||
15f97430 | 299 | %install |
74bd1d6b | 300 | rm -rf $RPM_BUILD_ROOT |
1f0d4992 | 301 | install -d $RPM_BUILD_ROOT{/%{_lib},%{_examplesdir}/%{name}-%{version}} |
74bd1d6b | 302 | |
d2b5d592 JB |
303 | %{__make} install \ |
304 | DESTDIR=$RPM_BUILD_ROOT | |
74bd1d6b | 305 | |
f9955a89 JB |
306 | mv -f $RPM_BUILD_ROOT%{_libdir}/libpcre.so.* $RPM_BUILD_ROOT/%{_lib} |
307 | mv -f $RPM_BUILD_ROOT%{_libdir}/libpcreposix.so.* $RPM_BUILD_ROOT/%{_lib} | |
ceb8d073 | 308 | |
f9955a89 JB |
309 | ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libpcre.so.*.*.*) $RPM_BUILD_ROOT%{_libdir}/libpcre.so |
310 | ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libpcreposix.so.*.*.*) $RPM_BUILD_ROOT%{_libdir}/libpcreposix.so | |
518d2d3e | 311 | |
f272ff1a | 312 | cp -p pcredemo.c $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} |
2a888af0 | 313 | |
f759fb19 JB |
314 | rm -rf $RPM_BUILD_ROOT%{_docdir}/pcre |
315 | ||
15f97430 | 316 | %clean |
317 | rm -rf $RPM_BUILD_ROOT | |
318 | ||
fc95eac7 JB |
319 | %post -p /sbin/ldconfig |
320 | %postun -p /sbin/ldconfig | |
321 | ||
405ea4e9 JB |
322 | %post cxx -p /sbin/ldconfig |
323 | %postun cxx -p /sbin/ldconfig | |
324 | ||
187b24cd JB |
325 | %post -n pcre16 -p /sbin/ldconfig |
326 | %postun -n pcre16 -p /sbin/ldconfig | |
2487be5a | 327 | |
187b24cd JB |
328 | %post -n pcre32 -p /sbin/ldconfig |
329 | %postun -n pcre32 -p /sbin/ldconfig | |
2487be5a | 330 | |
15f97430 | 331 | %files |
74bd1d6b | 332 | %defattr(644,root,root,755) |
2487be5a | 333 | %doc AUTHORS ChangeLog LICENCE NEWS README |
f9955a89 | 334 | %attr(755,root,root) /%{_lib}/libpcre.so.*.*.* |
9e38bcbc | 335 | %attr(755,root,root) %ghost /%{_lib}/libpcre.so.1 |
f9955a89 JB |
336 | %attr(755,root,root) /%{_lib}/libpcreposix.so.*.*.* |
337 | %attr(755,root,root) %ghost /%{_lib}/libpcreposix.so.0 | |
74bd1d6b | 338 | |
339 | %files devel | |
340 | %defattr(644,root,root,755) | |
74bd1d6b | 341 | %attr(755,root,root) %{_bindir}/pcre-config |
405ea4e9 JB |
342 | %attr(755,root,root) %{_libdir}/libpcre.so |
343 | %attr(755,root,root) %{_libdir}/libpcreposix.so | |
344 | %{_libdir}/libpcre.la | |
345 | %{_libdir}/libpcreposix.la | |
346 | %{_includedir}/pcre.h | |
347 | %{_includedir}/pcreposix.h | |
a0c12252 | 348 | %{_pkgconfigdir}/libpcre.pc |
f7c024bd | 349 | %{_pkgconfigdir}/libpcreposix.pc |
f759fb19 | 350 | %{_mandir}/man1/pcre-config.1* |
2487be5a JB |
351 | %{_mandir}/man3/pcre.3* |
352 | %{_mandir}/man3/pcre_*.3* | |
353 | %{_mandir}/man3/pcreapi.3* | |
354 | %{_mandir}/man3/pcrebuild.3* | |
355 | %{_mandir}/man3/pcrecallout.3* | |
187b24cd | 356 | %{_mandir}/man3/pcrecompat.3* |
2487be5a JB |
357 | %{_mandir}/man3/pcredemo.3* |
358 | %{_mandir}/man3/pcrejit.3* | |
359 | %{_mandir}/man3/pcrelimits.3* | |
360 | %{_mandir}/man3/pcrematching.3* | |
361 | %{_mandir}/man3/pcrepartial.3* | |
362 | %{_mandir}/man3/pcrepattern.3* | |
363 | %{_mandir}/man3/pcreperform.3* | |
364 | %{_mandir}/man3/pcreposix.3* | |
365 | %{_mandir}/man3/pcreprecompile.3* | |
366 | %{_mandir}/man3/pcresample.3* | |
367 | %{_mandir}/man3/pcrestack.3* | |
368 | %{_mandir}/man3/pcresyntax.3* | |
369 | %{_mandir}/man3/pcreunicode.3* | |
405ea4e9 | 370 | %{_examplesdir}/%{name}-%{version} |
74bd1d6b | 371 | |
3f8f4247 | 372 | %if %{with static_libs} |
74bd1d6b | 373 | %files static |
7e9222c8 | 374 | %defattr(644,root,root,755) |
405ea4e9 JB |
375 | %{_libdir}/libpcre.a |
376 | %{_libdir}/libpcreposix.a | |
3f8f4247 | 377 | %endif |
405ea4e9 JB |
378 | |
379 | %files cxx | |
380 | %defattr(644,root,root,755) | |
381 | %attr(755,root,root) %{_libdir}/libpcrecpp.so.*.*.* | |
f9955a89 | 382 | %attr(755,root,root) %ghost %{_libdir}/libpcrecpp.so.0 |
405ea4e9 JB |
383 | |
384 | %files cxx-devel | |
385 | %defattr(644,root,root,755) | |
386 | %attr(755,root,root) %{_libdir}/libpcrecpp.so | |
387 | %{_libdir}/libpcrecpp.la | |
388 | %{_includedir}/pcrecpp.h | |
389 | %{_includedir}/pcre_scanner.h | |
390 | %{_includedir}/pcre_stringpiece.h | |
387ec8b9 | 391 | %{_includedir}/pcrecpparg.h |
45516b28 | 392 | %{_pkgconfigdir}/libpcrecpp.pc |
405ea4e9 JB |
393 | %{_mandir}/man3/pcrecpp.3* |
394 | ||
3f8f4247 | 395 | %if %{with static_libs} |
405ea4e9 JB |
396 | %files cxx-static |
397 | %defattr(644,root,root,755) | |
398 | %{_libdir}/libpcrecpp.a | |
3f8f4247 | 399 | %endif |
15f97430 | 400 | |
2487be5a JB |
401 | %if %{with pcre16} |
402 | %files -n pcre16 | |
403 | %defattr(644,root,root,755) | |
404 | %attr(755,root,root) %{_libdir}/libpcre16.so.*.*.* | |
405 | %attr(755,root,root) %ghost %{_libdir}/libpcre16.so.0 | |
406 | ||
407 | %files -n pcre16-devel | |
408 | %defattr(644,root,root,755) | |
409 | %attr(755,root,root) %{_libdir}/libpcre16.so | |
410 | %{_libdir}/libpcre16.la | |
411 | %{_pkgconfigdir}/libpcre16.pc | |
412 | %{_mandir}/man3/pcre16.3* | |
413 | %{_mandir}/man3/pcre16_*.3* | |
414 | ||
415 | %if %{with static_libs} | |
416 | %files -n pcre16-static | |
417 | %defattr(644,root,root,755) | |
418 | %{_libdir}/libpcre16.a | |
419 | %endif | |
420 | %endif | |
421 | ||
422 | %if %{with pcre32} | |
423 | %files -n pcre32 | |
424 | %defattr(644,root,root,755) | |
425 | %attr(755,root,root) %{_libdir}/libpcre32.so.*.*.* | |
426 | %attr(755,root,root) %ghost %{_libdir}/libpcre32.so.0 | |
427 | ||
428 | %files -n pcre32-devel | |
429 | %defattr(644,root,root,755) | |
430 | %attr(755,root,root) %{_libdir}/libpcre32.so | |
431 | %{_libdir}/libpcre32.la | |
432 | %{_pkgconfigdir}/libpcre32.pc | |
433 | %{_mandir}/man3/pcre32.3* | |
434 | %{_mandir}/man3/pcre32_*.3* | |
435 | ||
436 | %if %{with static_libs} | |
437 | %files -n pcre32-static | |
438 | %defattr(644,root,root,755) | |
439 | %{_libdir}/libpcre32.a | |
440 | %endif | |
441 | %endif | |
442 | ||
8a5a0606 | 443 | %files -n pcregrep |
74bd1d6b | 444 | %defattr(644,root,root,755) |
8a5a0606 | 445 | %attr(755,root,root) %{_bindir}/pcregrep |
446 | %{_mandir}/man1/pcregrep.1* | |
006d0fe7 AG |
447 | |
448 | %files -n pcretest | |
449 | %defattr(644,root,root,755) | |
450 | %attr(755,root,root) %{_bindir}/pcretest | |
451 | %{_mandir}/man1/pcretest.1* | |
3db59d4f | 452 | |
453 | %files doc-html | |
454 | %defattr(644,root,root,755) | |
455 | %doc doc/html/* |