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

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

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

revision 182274 by barjac, Fri Dec 9 20:45:11 2011 UTC revision 182275 by barjac, Thu Dec 15 16:05:57 2011 UTC
# Line 19  Patch3:                rl-attribute.patch Line 19  Patch3:                rl-attribute.patch
19  Patch4:         readline-6.0-fix-shared-libs-perms.patch  Patch4:         readline-6.0-fix-shared-libs-perms.patch
20  # upstream patches:  # upstream patches:
21  Patch101:       ftp://ftp.gnu.org/gnu/readline/readline-6.2-patches/readline62-001  Patch101:       ftp://ftp.gnu.org/gnu/readline/readline-6.2-patches/readline62-001
22  BuildRequires:  libncursesw-devel  BuildRequires:  ncursesw-devel
23    
24  %description  %description
25  The "readline" library will read a line from the terminal and return it,  The "readline" library will read a line from the terminal and return it,
# Line 50  This package contains readline documenta Line 50  This package contains readline documenta
50  %package -n %{develname}  %package -n %{develname}
51  Summary:        Files for developing programs that use the readline library  Summary:        Files for developing programs that use the readline library
52  Group:          Development/C  Group:          Development/C
53  Requires:       libncurses-devel  Requires:       ncursesw-devel
54  Requires:       %{libname} = %{version}-%{release}  Requires:       %{libname} = %{version}-%{release}
55  Provides:       %{lib_name_orig}-devel = %{version}-%{release}  Provides:       %{lib_name_orig}-devel = %{version}-%{release}
56  Provides:       %{name}-devel = %{version}-%{release}  Provides:       %{name}-devel = %{version}-%{release}
# Line 78  chmod 644 examples/rlfe/ChangeLog Line 78  chmod 644 examples/rlfe/ChangeLog
78  libtoolize --copy --force  libtoolize --copy --force
79    
80  %build  %build
81    
82  export LDFLAGS="-I%{_includedir}/ncursesw -lncursesw"  export LDFLAGS="-I%{_includedir}/ncursesw -lncursesw"
 export CFLAGS="%{optflags} -I%{_includedir}/ncursesw -lncursesw"  
 export CXXFLAGS="%{optflags} -I%{_includedir}/ncursesw -lncursesw"  
83    
84  %configure2_5x \  %configure2_5x \
85           --with-curses \           --with-curses \
# Line 91  perl -p -i -e 's|-Wl,-rpath.*||' shlib/M Line 90  perl -p -i -e 's|-Wl,-rpath.*||' shlib/M
90  %make  %make
91    
92  %install  %install
 rm -rf %{buildroot}  
93  %makeinstall_std  %makeinstall_std
94    
95  # put all libs in /lib because some package needs it  # put all libs in /lib because some package needs it
# Line 100  install -d %{buildroot}/%{_lib} Line 98  install -d %{buildroot}/%{_lib}
98  mv %{buildroot}%{_libdir}/*.so* %{buildroot}/%{_lib}  mv %{buildroot}%{_libdir}/*.so* %{buildroot}/%{_lib}
99  ln -s ../../%{_lib}/lib{history,readline}.so %{buildroot}%{_libdir}  ln -s ../../%{_lib}/lib{history,readline}.so %{buildroot}%{_libdir}
100    
 # The make install moves the existing libs with a suffix of old. Urgh.  
 rm -f %{buildroot}/%{_lib}/*.old  
   
101  perl -p -i -e 's|/usr/local/bin/perl|/usr/bin/perl|' doc/texi2html  perl -p -i -e 's|/usr/local/bin/perl|/usr/bin/perl|' doc/texi2html
102    
103  %post doc  %post doc

Legend:
Removed from v.182274  
changed lines
  Added in v.182275

  ViewVC Help
Powered by ViewVC 1.1.30