/[packages]/cauldron/pcre/current/SPECS/pcre.spec
ViewVC logotype

Diff of /cauldron/pcre/current/SPECS/pcre.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 273157 by fwang, Mon Dec 26 07:09:01 2011 UTC revision 273158 by colin, Sat Jul 21 17:42:31 2012 UTC
# Line 9  Line 9 
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/
# Line 33  This package contains a grep variant bas Line 33  This package contains a grep variant bas
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    
# Line 105  make check Line 106  make check
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}
# Line 125  rm -f %{buildroot}%{_libdir}/*.la %{buil Line 121  rm -f %{buildroot}%{_libdir}/*.la %{buil
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    

Legend:
Removed from v.273157  
changed lines
  Added in v.273158

  ViewVC Help
Powered by ViewVC 1.1.30