1 Summary: C++ wrapper around the PCRE library
2 Summary(pl.UTF-8): Nakładka na bibliotekę PCRE dla C++
8 Source0: ftp://ftp.daemon.de/scip/Apps/%{name}/%{name}-%{version}.tar.gz
9 # Source0-md5: 1fe6ea8e23ece01fde2ce5fb4746acc2
10 Patch0: %{name}-DESTDIR.patch
11 URL: http://www.daemon.de/PCRE
12 BuildRequires: autoconf
13 BuildRequires: automake
14 BuildRequires: libstdc++-devel
15 BuildRequires: libtool
16 BuildRequires: pcre-devel
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 PCRE++ is a C++ wrapper-class for PCRE library (Perl Compatible
21 Regular Expressions). It allows you to use Perl-alike regular
22 expressions in your C++ applications. You can use it to search in
23 strings, to split strings into parts using expressions, or to search
24 and replace a part of a string with another part.
26 %description -l pl.UTF-8
27 PCRE++ jest klasą-nakładką dla C++ na bibliotekę PCRE (Perl Compatible
28 Regular Expressions - perlowych wyrażeń regularnych). Pozwala na
29 korzystanie ze składni perlowych wyrażeń regularnych w aplikacjach
30 C++. Można przeszukiwać w tekstach, dzielić tekst korzystając z
31 różnych wyrażeń lub wyszukiwać i zamieniać fragmenty tekstu innymi
35 Summary: Header files for pcre++ library
36 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki pcre++
37 Group: Development/Libraries
38 Requires: %{name} = %{version}-%{release}
39 Requires: libstdc++-devel
43 Header files for pcre++ library.
45 %description devel -l pl.UTF-8
46 Pliki nagłówkowe biblioteki pcre++.
49 Summary: Static pcre++ library
50 Summary(pl.UTF-8): Statyczna biblioteka pcre++
51 Group: Development/Libraries
52 Requires: %{name}-devel = %{version}-%{release}
55 Static pcre++ library.
57 %description static -l pl.UTF-8
58 Statyczna biblioteka pcre++.
72 CXXFLAGS="%{rpmcflags} -Wall"
75 rm -rf $RPM_BUILD_ROOT
78 DESTDIR=$RPM_BUILD_ROOT
80 rm -rf lib%{name}-%{version}
81 mv $RPM_BUILD_ROOT%{_prefix}/doc/lib%{name}-%{version} .
84 rm -rf $RPM_BUILD_ROOT
86 %post -p /sbin/ldconfig
87 %postun -p /sbin/ldconfig
90 %defattr(644,root,root,755)
91 %doc AUTHORS ChangeLog NEWS README TODO
92 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
95 %defattr(644,root,root,755)
96 %doc lib%{name}-%{version}/*
97 %attr(755,root,root) %{_bindir}/*
98 %attr(755,root,root) %{_libdir}/lib*.so
100 %{_includedir}/%{name}.h
104 %defattr(644,root,root,755)