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

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

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

revision 273157 by shlomif, Thu Jul 19 13:00:31 2012 UTC revision 273158 by colin, Sat Jul 21 17:42:31 2012 UTC
# Line 35  Line 35 
35  Summary:        The Berkeley DB database library for C  Summary:        The Berkeley DB database library for C
36  Name:           db51  Name:           db51
37  Version:        5.1.29  Version:        5.1.29
38  Release:        %mkrel 3  Release:        %mkrel 4
39  Source0:        http://download.oracle.com/berkeley-db/db-%{version}.tar.gz  Source0:        http://download.oracle.com/berkeley-db/db-%{version}.tar.gz
40  # statically link db1 library  # statically link db1 library
41  Patch0:         db-5.1.19-db185.patch  Patch0:         db-5.1.19-db185.patch
# Line 78  should be installed on all systems. Line 78  should be installed on all systems.
78  %package -n     %{libname}  %package -n     %{libname}
79  Summary:        The Berkeley DB database library for C  Summary:        The Berkeley DB database library for C
80  Group:          System/Libraries  Group:          System/Libraries
81    Requires(pre):  filesystem >= 2.1.9-18
82    
83  %description -n %{libname}  %description -n %{libname}
84  The Berkeley Database (Berkeley DB) is a programmatic toolkit that provides  The Berkeley Database (Berkeley DB) is a programmatic toolkit that provides
# Line 184  required for using "RPM ACID". Line 185  required for using "RPM ACID".
185  %package -n     %{libnamedev}  %package -n     %{libnamedev}
186  Summary:        Development libraries/header files for the Berkeley DB library  Summary:        Development libraries/header files for the Berkeley DB library
187  Group:          Development/Databases  Group:          Development/Databases
188    Requires(pre):  filesystem >= 2.1.9-18
189  Requires:       %{libname} = %{EVRD}  Requires:       %{libname} = %{EVRD}
190  %if %{with sql}  %if %{with sql}
191  Requires:       %{libdbsql} = %{EVRD}  Requires:       %{libdbsql} = %{EVRD}
# Line 445  CONFIGURE_TOP="../dist" \ Line 447  CONFIGURE_TOP="../dist" \
447    
448    
449    
450  %make libdb_base=libdb_nss libso_target=libdb_nss-%{__soversion}.la libdir=/%{_lib}  %make libdb_base=libdb_nss libso_target=libdb_nss-%{__soversion}.la libdir=%{_libdir}
451  popd  popd
452  %endif  %endif
453    
# Line 458  make -C build_unix install_setup install Line 460  make -C build_unix install_setup install
460  %if %{with nss}  %if %{with nss}
461  make -C build_nss install_include install_lib libdb_base=libdb_nss \  make -C build_nss install_include install_lib libdb_base=libdb_nss \
462          DESTDIR=%{buildroot} LIB_INSTALL_FILE_LIST=""          DESTDIR=%{buildroot} LIB_INSTALL_FILE_LIST=""
   
 mkdir -p %{buildroot}/%{_lib}  
 mv %{buildroot}/%{_libdir}/libdb_nss-%{__soversion}.so %{buildroot}/%{_lib}  
 ln -s  /%{_lib}/libdb_nss-%{__soversion}.so %{buildroot}%{_libdir}  
463  %endif  %endif
464    
465  ln -sf %{name}/db.h %{buildroot}%{_includedir}/db.h  ln -sf %{name}/db.h %{buildroot}%{_includedir}/db.h
# Line 600  find %{buildroot} -name *.la -delete Line 598  find %{buildroot} -name *.la -delete
598    
599  %if %{with nss}  %if %{with nss}
600  %files -n %{libdbnss}  %files -n %{libdbnss}
601  /%{_lib}/libdb_nss-%{__soversion}.so  %{_libdir}/libdb_nss-%{__soversion}.so
602    
603  %files -n %{libdbnssdev}  %files -n %{libdbnssdev}
604  %dir %{_includedir}/db_nss  %dir %{_includedir}/db_nss
# Line 610  find %{buildroot} -name *.la -delete Line 608  find %{buildroot} -name *.la -delete
608  %endif  %endif
609  %{_libdir}/libdb_nss.so  %{_libdir}/libdb_nss.so
610  %{_libdir}/libdb_nss-5.so  %{_libdir}/libdb_nss-5.so
 %{_libdir}/libdb_nss-%{__soversion}.so  
611  %endif  %endif

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

  ViewVC Help
Powered by ViewVC 1.1.30