[-]
[+]
|
Added |
zenoss-3.0.3.spec
|
|
[-]
[+]
|
Deleted |
zenoss.spec
^
|
@@ -1,445 +0,0 @@
-
-#
-# This spec file defines the input constraints and build system for
-# Zenoss when it is installed onto an RPM based system.
-#
-# For information on what arguments are passed to %pre, %post, %preun,
-# and %postun see the following URL:
-# http://tinyurl.com/sjyfp
-#
-
-# the location where zenoss is installed
-%define zenhome /opt/zenoss
-
-# the location where zope is installed
-%define zopehome %{zenhome}
-
-# mysql is used for the events database
-%define mysql_username zenoss
-%define mysql_passwd zenoss
-%define mysql_database events
-
-# zope is used for the web interface
-%define zope_passwd zenoss
-
-# a shell account controls the zenoss processes
-%define os_username zenoss
-%define os_uid 1337
-%define os_home /home/zenoss
-%define os_shell /bin/bash
-
-# the version of python we require
-%define python_required_version 2.4
-
-# set to 1 if the version of the software to be built is the trunk
-# if trunk is set to 0 the version will be extrapolated from the
-# rpm information contained in the %{version} and %{release} vars
-%define trunk 0
-
-# the location of the snmp configuration file and mysql configuration
-%define snmpd_conf /etc/snmp/snmpd.conf
-%define my_cnf /etc/my.cnf
-
-# don't terminate the build when there are unpackaged (but installed) files
-%define _unpackaged_files_terminate_build 0
-
-# avoid advertising Zenoss as the provider of libs we package for internal consumption only (see #5354)
-%define __find_provides %{nil}
-
-# the RPM meta information
-Name: zenoss
-Summary: The Open Source Network Management System
-URL: http://www.zenoss.com/
-Version: 2.5.2
-Release: 590
-License: GPLv2
-Group: Applications/System
-Source0: %{name}-%{version}.tar.bz2
-Requires(pre): shadow-utils
-BuildRequires: gcc-c++
-BuildRequires: gcc
-BuildRequires: subversion
-BuildRequires: zlib-devel
-BuildRequires: make
-BuildRequires: patch
-BuildRequires: autoconf >= 2.53
-BuildRequires: swig >= 1.3
-BuildRequires: which
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
-Requires: net-snmp
-Requires: binutils
-Requires: libgcj
-Requires: libgomp
-Requires: liberation-fonts
-# additional provides
-BuildRequires: mysql-devel >= 5.0.22
-BuildRequires: mysql >= 5.0.22
-Requires: mysql-server >= 5.0.22
-Requires: mysql >= 5.0.22
-Requires: python >= 2.3.4
-Requires: net-snmp-utils
-
-
-# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-%description
-Zenoss is an IT infrastructure monitoring product that allows you to
-monitor your entire infrastructure within a single, integrated
-software application.
-
-Key features include:
- * Monitors the entire stack
- o networks, servers, applications, services, power, environment, etc...
- * Monitors across all perspectives
- o discovery, configuration, availability, performance, events, alerts, etc.
- * Affordable and easy to use
- o unlike the big suites offered by IBM, HP, BMC, CA, etc...
- o unlike first generation open source tools...
- * Complete open source package
- o complete solution available as free, open source software
-
-
-# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-%prep
-
-
-# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-%setup
-
-
-# changelog-section
-
-
-# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-%build
-
-replace() {
- SEARCH=$1
- REPLACE=$2
- FILE=$3
- TEMP=/tmp/`basename $FILE`
-
- sed -e "s%${SEARCH}%${REPLACE}%g" < ${FILE} > ${TEMP}
- mv ${TEMP} ${FILE}
-}
-
-# clean up the old build if it is still laying around
-rm -rf ${RPM_BUILD_ROOT}
-
-# map environment variables to .spec variables
-export ZENHOME=%{zenhome}
-export ZOPEPASSWORD=%{zope_passwd}
-export DESTDIR=${RPM_BUILD_ROOT}
-
-# load up the build functions
-ZEN_BUILD_DIR=${RPM_BUILD_DIR}/%{name}-%{version}
-. ${ZEN_BUILD_DIR}/build-functions.sh
-
-# set up make and the python path
-set_make
-
-# set the SVNTAG variable and honor the trunk flag
-if [ "%{trunk}" = "1" ]; then
- SVNTAG="trunk"
-else
- SVNTAG="tags/%{name}-%{version}"
-fi
-
-# do NOT setuid zensocket
-export SETUID=""
-
-# set the BUILD_DIR variable in order to optimize the RPM assembly process
-export OPTIMIZED_BUILD_DIR=/tmp/zenoss-externallibs
-
-# optionally set the PLATFORM_PYTHON if this platform runs python 2.4
-PLATFORM_PYTHON=""
-for TEST_PYTHON in \
- `which python%{python_required_version}` \
- `which python`
-do
- PLATFORM_PYTHON_VERSION=`${TEST_PYTHON} -c "import sys; print '.'.join(map(str, sys.version_info[:2]))"`
- echo "${TEST_PYTHON} - ${PLATFORM_PYTHON_VERSION}"
- if [ "${PLATFORM_PYTHON_VERSION}" = "%{python_required_version}" ]; then
- PLATFORM_PYTHON=${TEST_PYTHON}
- break
- fi
-done
-# But if /usr/bin/python is python2.3, we're probably on a box that ships with
-# python2.3, so we should build our own
-SYSPYTHON=`/usr/bin/python -c "import sys; print '.'.join(map(str, sys.version_info[:2]))"`
-if [ "$SYSPYTHON" != "%{python_required_version}" ]; then
- PLATFORM_PYTHON=""
-fi
-find_python
-
-# compile external libs and pull down zenoss
-compile
-
-# remove the nagios-plugins perl scripts that force ugly deps
-DIR=${RPM_BUILD_ROOT}/${ZENHOME}/libexec
-DIRNAME=${RPM_BUILD_ROOT}/${ZENHOME}/libexec
-
-for file in \
- `grep perl $DIRNAME/* | awk '{print $1}' | cut -d: -f1 | sort -u`
-do
- rm -f $file
-done
-
-
-# remove the CM artifacts
-ZEN_INST_DIR=${RPM_BUILD_ROOT}/${ZENHOME}
-find ${ZEN_INST_DIR} -name .svn | xargs rm -rf
-
-# remove the .conf files but leave the .conf.examples
-rm ${ZEN_INST_DIR}/etc/*.conf
-
-# create the .manifest file
-echo "%{name} %{version}-%{release}" > ${ZEN_INST_DIR}/.manifest
-
-# copy some configuration files to the /etc installation directory
-ZEN_BUILD_DIR=${RPM_BUILD_DIR}/%{name}-%{version}
|
|
Deleted |
zenoss-2.5.2.tar.bz2
^
|
|
Added |
zenoss-3.0.3-897.el5.tar.bz2
^
|