9 |
Summary: Perl-compatible regular expression library |
Summary: Perl-compatible regular expression library |
10 |
Name: pcre |
Name: pcre |
11 |
Version: 8.21 |
Version: 8.21 |
12 |
Release: %mkrel 1 |
Release: %mkrel 2 |
13 |
License: BSD-Style |
License: BSD-Style |
14 |
Group: File tools |
Group: File tools |
15 |
URL: http://www.pcre.org/ |
URL: http://www.pcre.org/ |
33 |
%package -n %{libname} |
%package -n %{libname} |
34 |
Group: System/Libraries |
Group: System/Libraries |
35 |
Summary: Perl-compatible regular expression library |
Summary: Perl-compatible regular expression library |
36 |
|
Requires(pre): filesystem >= 2.1.9-18 |
37 |
Provides: %{libname_orig} = %{version}-%{release} |
Provides: %{libname_orig} = %{version}-%{release} |
38 |
Conflicts: pcre <= 4.0 |
Conflicts: pcre <= 4.0 |
39 |
|
|
106 |
|
|
107 |
%multiarch_binaries %{buildroot}%{_bindir}/pcre-config |
%multiarch_binaries %{buildroot}%{_bindir}/pcre-config |
108 |
|
|
|
mkdir -p %{buildroot}/%_lib |
|
|
mv %{buildroot}/%_libdir/lib%{name}.so.%{major}.* $RPM_BUILD_ROOT/%_lib |
|
|
cd %{buildroot}/%_libdir |
|
|
ln -s ../../%_lib/lib%{name}.so.%{major}.* . |
|
|
|
|
109 |
# Remove unwanted files |
# Remove unwanted files |
110 |
rm -f %{buildroot}/%_docdir/pcre/{AUTHORS,ChangeLog,COPYING,LICENCE,NEWS} |
rm -f %{buildroot}/%_docdir/pcre/{AUTHORS,ChangeLog,COPYING,LICENCE,NEWS} |
111 |
rm -f %{buildroot}/%_docdir/pcre/{pcre-config.txt,pcre.txt,pcregrep.txt} |
rm -f %{buildroot}/%_docdir/pcre/{pcre-config.txt,pcre.txt,pcregrep.txt} |
121 |
|
|
122 |
%files -n %{libname} |
%files -n %{libname} |
123 |
%doc AUTHORS COPYING LICENCE NEWS README |
%doc AUTHORS COPYING LICENCE NEWS README |
|
/%_lib/lib*.so.%{major}* |
|
124 |
%_libdir/lib*.so.%{major}* |
%_libdir/lib*.so.%{major}* |
125 |
%_libdir/libpcreposix.so.%{pcreposix_major}* |
%_libdir/libpcreposix.so.%{pcreposix_major}* |
126 |
|
|