(file) Return to tog-pegasus.spec CVS log (file) (dir) Up to [Pegasus] / pegasus / rpm

Diff for /pegasus/rpm/tog-pegasus.spec between version 1.128 and 1.128.2.6

version 1.128, 2010/10/29 05:29:47 version 1.128.2.6, 2014/03/12 22:34:59
Line 41 
Line 41 
  
 %define Flavor  tog %define Flavor  tog
 %define packageVersion 1 %define packageVersion 1
 Version: 2.11.0  Version: 2.14.0
 Release: %{packageVersion}%{?LINUX_VERSION:.%{LINUX_VERSION}} Release: %{packageVersion}%{?LINUX_VERSION:.%{LINUX_VERSION}}
 Epoch:   1 Epoch:   1
  
Line 64 
Line 64 
 # providers for 64 bit CIMOM. # providers for 64 bit CIMOM.
 %{?!PEGASUS_32BIT_PROVIDER_SUPPORT: %define PEGASUS_32BIT_PROVIDER_SUPPORT 0} %{?!PEGASUS_32BIT_PROVIDER_SUPPORT: %define PEGASUS_32BIT_PROVIDER_SUPPORT 0}
  
   # Use "rpmbuild --define 'PEGASUS_BUILD_WITH_CLANG 1'" to build rpm with clang.
   # This shrinks disk usage by around 4%
   %{?!PEGASUS_BUILD_WITH_CLANG: %define PEGASUS_BUILD_WITH_CLANG 0}
   
 Summary:   OpenPegasus WBEM Services for Linux Summary:   OpenPegasus WBEM Services for Linux
 Name:      %{Flavor}-pegasus Name:      %{Flavor}-pegasus
 Group:     Systems Management/Base Group:     Systems Management/Base
Line 80 
Line 84 
 BuildRequires:      bash, sed, grep, coreutils, procps, gcc, gcc-c++ BuildRequires:      bash, sed, grep, coreutils, procps, gcc, gcc-c++
 BuildRequires:      libstdc++, make, pam-devel BuildRequires:      libstdc++, make, pam-devel
 BuildRequires:      openssl-devel >= 0.9.6, e2fsprogs BuildRequires:      openssl-devel >= 0.9.6, e2fsprogs
   
   #Following is commented because, Currently could not find clang shipped
   #Should be changed or uncommented when distros ship clang
   #and expects that system has clang 3 and above installed by other means
   #%if %{PEGASUS_BUILD_WITH_CLANG}
   #BuildRequires:      clang
   #%endif
   
 %if %{JMPI_PROVIDER_REQUESTED} %if %{JMPI_PROVIDER_REQUESTED}
 BuildRequires:      gcc-java, libgcj-devel, libgcj, java-1.4.2-gcj-compat BuildRequires:      gcc-java, libgcj-devel, libgcj, java-1.4.2-gcj-compat
 Requires:           libgcj, java-1.4.2-gcj-compat Requires:           libgcj, java-1.4.2-gcj-compat
 %endif %endif
 %if %{EXTERNAL_SLP_REQUESTED} %if %{EXTERNAL_SLP_REQUESTED}
 BuildRequires:      openslp  BuildRequires:      openslp, openslp-devel
 Requires:           openslp Requires:           openslp
 %endif %endif
  
Line 96 
Line 108 
 # Start of section pegasus/rpm/tog-specfiles/tog-pegasus-requires.spec # Start of section pegasus/rpm/tog-specfiles/tog-pegasus-requires.spec
 # #
 Requires:           bash, sed, grep, coreutils, procps, openssl >= 0.9.6, pam Requires:           bash, sed, grep, coreutils, procps, openssl >= 0.9.6, pam
 #Requires:          krb5-libs, redhat-lsb, chkconfig, SysVinit, bind-libs  #Requires:          krb5-libs, chkconfig, SysVinit, bind-libs
 Requires:           e2fsprogs, bind-utils, net-tools Requires:           e2fsprogs, bind-utils, net-tools
 Requires(post):     bash, sed, grep, coreutils, procps, openssl >= 0.9.6, pam Requires(post):     bash, sed, grep, coreutils, procps, openssl >= 0.9.6, pam
 #Requires(post):    krb5-libs, redhat-lsb, chkconfig, SysVinit, bind-libs  #Requires(post):    krb5-libs, chkconfig, SysVinit, bind-libs
 Requires(post):     e2fsprogs, bind-utils, net-tools Requires(post):     e2fsprogs, bind-utils, net-tools
 Requires(pre):      bash, sed, grep, coreutils, procps, openssl >= 0.9.6, pam Requires(pre):      bash, sed, grep, coreutils, procps, openssl >= 0.9.6, pam
 #Requires(pre):     krb5-libs, redhat-lsb, chkconfig, SysVinit, bind-libs  #Requires(pre):     krb5-libs, chkconfig, SysVinit, bind-libs
 Requires(pre):      e2fsprogs, bind-utils, net-tools Requires(pre):      e2fsprogs, bind-utils, net-tools
 Requires(postun):   bash, sed, grep, coreutils, procps, openssl >= 0.9.6, pam Requires(postun):   bash, sed, grep, coreutils, procps, openssl >= 0.9.6, pam
 #Requires(postun):  krb5-libs, redhat-lsb, chkconfig, SysVinit, bind-libs  #Requires(postun):  krb5-libs, chkconfig, SysVinit, bind-libs
 Requires(postun):   e2fsprogs, bind-utils, net-tools Requires(postun):   e2fsprogs, bind-utils, net-tools
 Requires:           net-snmp Requires:           net-snmp
 # #
Line 132 
Line 144 
 %global PEGASUS_HARDWARE_PLATFORM LINUX_IA64_GNU %global PEGASUS_HARDWARE_PLATFORM LINUX_IA64_GNU
 %else %else
 %ifarch x86_64 %ifarch x86_64
   %if %{PEGASUS_BUILD_WITH_CLANG}
   %global PEGASUS_HARDWARE_PLATFORM LINUX_X86_64_CLANG
   %else
 %global PEGASUS_HARDWARE_PLATFORM LINUX_X86_64_GNU %global PEGASUS_HARDWARE_PLATFORM LINUX_X86_64_GNU
   %endif
 %else %else
 %ifarch ppc %ifarch ppc
 %global PEGASUS_HARDWARE_PLATFORM LINUX_PPC_GNU %global PEGASUS_HARDWARE_PLATFORM LINUX_PPC_GNU
Line 146 
Line 162 
 %ifarch s390x zseries %ifarch s390x zseries
 %global PEGASUS_HARDWARE_PLATFORM LINUX_ZSERIES64_GNU %global PEGASUS_HARDWARE_PLATFORM LINUX_ZSERIES64_GNU
 %else %else
   %if %{PEGASUS_BUILD_WITH_CLANG}
   %global PEGASUS_HARDWARE_PLATFORM LINUX_IX86_CLANG
   %else
 %global PEGASUS_HARDWARE_PLATFORM LINUX_IX86_GNU %global PEGASUS_HARDWARE_PLATFORM LINUX_IX86_GNU
 %endif %endif
 %endif %endif
Line 153 
Line 172 
 %endif %endif
 %endif %endif
 %endif %endif
   %endif
 # #
 # End of section pegasus/rpm/tog-specfiles/tog-pegasus-arch.spec # End of section pegasus/rpm/tog-specfiles/tog-pegasus-arch.spec
  
Line 162 
Line 182 
 %if %{PEGASUS_32BIT_PROVIDER_SUPPORT} %if %{PEGASUS_32BIT_PROVIDER_SUPPORT}
  
 %ifarch x86_64 %ifarch x86_64
   
   %if %{PEGASUS_BUILD_WITH_CLANG}
   %global PEGASUS_HARDWARE_PLATFORM_FOR_32BIT LINUX_IX86_CLANG
   %global PEGASUS_EXTRA_CXX_FLAGS_32BIT  "-O2 -g -pipe -fexceptions -fstack-protector -march=i386 -mtune=generic -fasynchronous-unwind-tables -m32"
   % global PEGASUS_EXTRA_LINK_FLAGS_32BIT "-O2 -g -pipe -fexceptions -fstack-protector -march=i386 -mtune=generic -fasynchronous-unwind-tables -m32"
   %else
 %global PEGASUS_HARDWARE_PLATFORM_FOR_32BIT LINUX_IX86_GNU %global PEGASUS_HARDWARE_PLATFORM_FOR_32BIT LINUX_IX86_GNU
 %global PEGASUS_EXTRA_CXX_FLAGS_32BIT  "-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -march=i386 -mtune=generic -fasynchronous-unwind-tables -Wno-unused -m32" %global PEGASUS_EXTRA_CXX_FLAGS_32BIT  "-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -march=i386 -mtune=generic -fasynchronous-unwind-tables -Wno-unused -m32"
 %global PEGASUS_EXTRA_LINK_FLAGS_32BIT "-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -march=i386 -mtune=generic -fasynchronous-unwind-tables -m32" %global PEGASUS_EXTRA_LINK_FLAGS_32BIT "-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -march=i386 -mtune=generic -fasynchronous-unwind-tables -m32"
   %endif
 %else %else
 %ifarch ppc64 pseries %ifarch ppc64 pseries
 %global PEGASUS_HARDWARE_PLATFORM_FOR_32BIT LINUX_PPC_GNU %global PEGASUS_HARDWARE_PLATFORM_FOR_32BIT LINUX_PPC_GNU
Line 204 
Line 231 
 %global PEGASUS_REPOSITORY_PARENT_DIR /var/lib/Pegasus %global PEGASUS_REPOSITORY_PARENT_DIR /var/lib/Pegasus
 %global PEGASUS_PREV_REPOSITORY_DIR /var/lib/Pegasus/prev_repository %global PEGASUS_PREV_REPOSITORY_DIR /var/lib/Pegasus/prev_repository
 %global PEGASUS_SBIN_DIR /usr/sbin %global PEGASUS_SBIN_DIR /usr/sbin
 %global PEGASUS_DOC_DIR /usr/share/doc/tog-pegasus-2.11  %global PEGASUS_DOC_DIR /usr/share/doc/tog-pegasus-2.14
  
 %global PEGASUS_RPM_ROOT  $RPM_BUILD_DIR/$RPM_PACKAGE_NAME-$RPM_PACKAGE_VERSION %global PEGASUS_RPM_ROOT  $RPM_BUILD_DIR/$RPM_PACKAGE_NAME-$RPM_PACKAGE_VERSION
 %global PEGASUS_RPM_HOME %PEGASUS_RPM_ROOT/build %global PEGASUS_RPM_HOME %PEGASUS_RPM_ROOT/build
Line 216 
Line 243 
 Summary: The OpenPegasus Software Development Kit Summary: The OpenPegasus Software Development Kit
 Group: Systems Management/Base Group: Systems Management/Base
 Requires: %{Flavor}-pegasus >= %{version} Requires: %{Flavor}-pegasus >= %{version}
   Requires(preun): bash, procps, grep, coreutils, make
 Obsoletes: %{Flavor}-pegasus-sdk Obsoletes: %{Flavor}-pegasus-sdk
  
 %description devel %description devel
Line 482 
Line 510 
    rm -f %PEGASUS_LOCAL_DOMAIN_SOCKET_PATH;    rm -f %PEGASUS_LOCAL_DOMAIN_SOCKET_PATH;
    rm -f %PEGASUS_CIMSERVER_START_FILE;    rm -f %PEGASUS_CIMSERVER_START_FILE;
    rm -f %PEGASUS_CIMSERVER_START_LOCK_FILE;    rm -f %PEGASUS_CIMSERVER_START_LOCK_FILE;
      rm -f %PEGASUS_CONFIG_DIR/%PEGASUS_SSL_CERT_FILE
      rm -f %PEGASUS_CONFIG_DIR/%PEGASUS_SSL_KEY_FILE
      rm -f %PEGASUS_CONFIG_DIR/%PEGASUS_SSL_TRUSTSTORE
      rm -f %PEGASUS_CONFIG_DIR/ssl.cnf
 fi fi
 # #
 # End of section pegasus/rpm/tog-specfiles/tog-pegasus-preun.spec # End of section pegasus/rpm/tog-specfiles/tog-pegasus-preun.spec
Line 539 
Line 571 
 /usr/share/Pegasus/mof /usr/share/Pegasus/mof
  
 %defattr(600,root,pegasus,755) %defattr(600,root,pegasus,755)
 %dir /usr/share/doc/tog-pegasus-2.11  %dir /usr/share/doc/tog-pegasus-2.14
 %dir /usr/share/Pegasus %dir /usr/share/Pegasus
 %dir /usr/share/Pegasus/scripts %dir /usr/share/Pegasus/scripts
 %dir /var/lib/Pegasus %dir /var/lib/Pegasus
Line 553 
Line 585 
 %dir %attr(755,root,pegasus) /etc/Pegasus %dir %attr(755,root,pegasus) /etc/Pegasus
 %dir %attr(755,cimsrvr,cimsrvr) /var/run/tog-pegasus %dir %attr(755,cimsrvr,cimsrvr) /var/run/tog-pegasus
 %dir %attr(1755,cimsrvr,cimsrvr) /var/run/tog-pegasus/socket %dir %attr(1755,cimsrvr,cimsrvr) /var/run/tog-pegasus/socket
 %dir %attr(1777,root,pegasus) /var/lib/Pegasus/cache/trace  %dir %attr(1777,cimsrvr,cimsrvr) /var/lib/Pegasus/cache/trace
  
 %config %attr(750,root,pegasus) /etc/init.d/tog-pegasus %config %attr(750,root,pegasus) /etc/init.d/tog-pegasus
 %config(noreplace) %attr(644,root,root) /etc/Pegasus/cimserver_planned.conf %config(noreplace) %attr(644,root,root) /etc/Pegasus/cimserver_planned.conf
Line 591 
Line 623 
 %attr(644,root,pegasus) /usr/share/man/man1/* %attr(644,root,pegasus) /usr/share/man/man1/*
 %attr(644,root,pegasus) /usr/share/man/man8/* %attr(644,root,pegasus) /usr/share/man/man8/*
  
 %doc %attr(444,root,pegasus) /usr/share/doc/tog-pegasus-2.11/Admin_Guide_Release.pdf  %doc %attr(444,root,pegasus) /usr/share/doc/tog-pegasus-2.14/Admin_Guide_Release.pdf
 %doc %attr(444,root,pegasus) /usr/share/doc/tog-pegasus-2.11/PegasusSSLGuidelines.htm  %doc %attr(444,root,pegasus) /usr/share/doc/tog-pegasus-2.14/PegasusSSLGuidelines.htm
 %doc %attr(444,root,pegasus) /usr/share/doc/tog-pegasus-2.11/license.txt  %doc %attr(444,root,pegasus) /usr/share/doc/tog-pegasus-2.14/license.txt
 %doc %attr(444,root,pegasus) /usr/share/doc/tog-pegasus-2.11/OpenPegasusNOTICE.txt  %doc %attr(444,root,pegasus) /usr/share/doc/tog-pegasus-2.14/OpenPegasusNOTICE.txt
 /usr/%PEGASUS_ARCH_LIB/libpegclient.so /usr/%PEGASUS_ARCH_LIB/libpegclient.so
 /usr/%PEGASUS_ARCH_LIB/libpegcommon.so /usr/%PEGASUS_ARCH_LIB/libpegcommon.so
 /usr/%PEGASUS_ARCH_LIB/libpegprovider.so /usr/%PEGASUS_ARCH_LIB/libpegprovider.so
Line 614 
Line 646 
 %defattr(644,root,pegasus,755) %defattr(644,root,pegasus,755)
 /usr/share/Pegasus/samples /usr/share/Pegasus/samples
 /usr/include/Pegasus /usr/include/Pegasus
 %doc %attr(444,root,pegasus) /usr/share/doc/tog-pegasus-2.11/SecurityGuidelinesForDevelopers.html  %doc %attr(444,root,pegasus) /usr/share/doc/tog-pegasus-2.14/SecurityGuidelinesForDevelopers.html
 /usr/share/Pegasus/html /usr/share/Pegasus/html
  
 %if %{PEGASUS_BUILD_TEST_RPM} %if %{PEGASUS_BUILD_TEST_RPM}


Legend:
Removed from v.1.128  
changed lines
  Added in v.1.128.2.6

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2