# # CUSTOMIZATION-BEGIN # # ovirt_build_extra_flags # ovirt_build_ut %if 0%{?ovirt_build_quick} %global _ovirt_build_ut 0 %global ovirt_build_gwt 0 %global __jar_repack 0 %endif %if 0%{?ovirt_build_minimal} %global _ovirt_build_ut 0 %global ovirt_build_all_user_agents 0 %global ovirt_build_locales 0 %global _ovirt_build_extra_flags -D gwt.userAgent=gecko1_8 %endif %if 0%{!?ovirt_build_ut:1} %if 0%{?_ovirt_build_ut:1} %global ovirt_build_ut %{_ovirt_build_ut} %else %global ovirt_build_ut 1 %endif %endif %if 0%{!?ovirt_build_gwt:1} %global ovirt_build_gwt 1 %endif %if 0%{!?ovirt_build_locales:1} %global ovirt_build_locales 1 %endif %if 0%{!?ovirt_build_all_user_agents:1} %global ovirt_build_all_user_agents 1 %endif # # CUSTOMIZATION-END # # # rpm does not support override # nor modify of variables # %if %{?_ovirt_build_extra_flags:1}%{?ovirt_build_extra_flags:1}0 %global EXTRA_BUILD_FLAGS %{?_ovirt_build_extra_flags:%{_ovirt_build_extra_flags}}%{?ovirt_build_extra_flags: %{ovirt_build_extra_flags}} %endif %global ovirt_with_docker 1 %if 0%{?fedora} %global ovirt_install_systemd 1 %global ovirt_install_systemv 0 %global ovirt_install_poms 1 %global ovirt_require_maven 1 %global ovirt_provides_jboss 1 %global jboss ovirt-engine-wildfly %global ovirt_wildfly_overlay 1 %global ovirt_wildfly_fixup 1 %if %{fedora} >= 21 %global docker docker %global ovirt_with_aio 1 %else %global docker docker-io # all-in-one can't work on fc20 due to missing vdsm %global ovirt_with_aio 0 %endif %endif %if 0%{?rhel} %if 0%{?rhel} >= 7 %global ovirt_install_systemd 1 %global ovirt_install_systemv 0 %global ovirt_install_poms 1 %global ovirt_require_maven 1 %global ovirt_provides_jboss 1 %global jboss ovirt-engine-wildfly %global ovirt_wildfly_overlay 1 %global ovirt_wildfly_fixup 1 %global docker docker %global ovirt_with_aio 1 %else %global ovirt_install_systemd 0 %global ovirt_install_systemv 1 %global ovirt_install_poms 0 %global ovirt_require_maven 0 %global ovirt_provides_jboss 1 %global jboss ovirt-engine-wildfly %global ovirt_wildfly_overlay 1 %global ovirt_wildfly_fixup 1 %global docker docker-io # all-in-one can't work on el6 due to missing vdsm %global ovirt_with_aio 0 # emulate fedora java for simplicity %undefine add_maven_depmap %define add_maven_depmap(f:) \ _jarpart="%2" \ _filelist=".mfiles%{-f*:-%{-f*}}" \ _jpath= \ for _dir in "%{_jnidir}" "%{_javajnidir}" "%{_javadir}"; do \ if [ -f "%{buildroot}/${_dir}/${_jarpart}" ]; then \ _jpath="${_dir}/${_jarpart}" \ fi \ done \ [ -n "${_jpath}" ] && echo "${_jpath}" >> "${_filelist}" \ %{nil} %endif %endif %global ovirt_product_name oVirt Engine %global ovirt_product_name_short oVirt Engine %global ovirt_product_group Virtualization/Management %global ovirt_user_description oVirt Manager # semanage moved in fedora 23 to policycoreutils-python-utils %if 0%{?fedora} >= 23 %global policycoreutils_python_utils policycoreutils-python-utils %else %global policycoreutils_python_utils policycoreutils-python %endif %global engine_cache %{_localstatedir}/cache/%{engine_name} %global engine_data %{_datadir}/%{engine_name} %global engine_doc %{_docdir}/%{engine_name} %global engine_ear %{engine_data}/engine.ear %global engine_etc %{_sysconfdir}/%{engine_name} %global engine_java %{_javadir}/%{engine_name} %global engine_jboss_modules %{engine_data}/modules %global engine_log %{_localstatedir}/log/%{engine_name} %global engine_name ovirt-engine %global engine_pki %{_sysconfdir}/pki/%{engine_name} %global engine_restapi_war %{engine_data}/restapi.war %global engine_legacy_restapi_war %{engine_data}/legacy_restapi.war %global engine_run %{_localstatedir}/run/%{engine_name} %global engine_state %{_localstatedir}/lib/%{engine_name} %global engine_tmp %{_localstatedir}/tmp/%{engine_name} %global engine_gid 108 %global engine_group ovirt %global engine_uid 108 %global engine_user ovirt %global vdsm_description Node Virtualization Manager %global vdsm_gid 36 %global vdsm_group kvm %global vdsm_uid 36 %global vdsm_user vdsm %global openstack_java_version 3.1.1 %global patternfly patternfly1 # Macro to create an user: # # %1 user name # %2 user id # %3 primary group name # %4 primary group id # %5 description # %6 home directory # %global _ovirt_create_user() \ getent group %3 >/dev/null || groupadd -r -g %4 %3; \ getent passwd %1 >/dev/null || useradd -r -u %2 -g %3 -c %5 -s /sbin/nologin -d %6 %1 %global ovirt_create_user_engine \ %_ovirt_create_user %{engine_user} %{engine_uid} %{engine_group} %{engine_gid} "%{ovirt_user_description}" %{engine_state} %global ovirt_create_user_vdsm \ %_ovirt_create_user %{vdsm_user} %{vdsm_uid} %{vdsm_group} %{vdsm_gid} "%{vdsm_description}" /var/lib/vdsm %if %{ovirt_wildfly_overlay} %global wildfly_overlay_modules "/usr/share/ovirt-engine-wildfly-overlay/modules" %else %global wildfly_overlay_modules "" %endif %global make_common_opts \\\ -j1 \\\ BUILD_GWT=%{ovirt_build_gwt} \\\ BUILD_ALL_USER_AGENTS=%{ovirt_build_all_user_agents} \\\ BUILD_LOCALES=%{ovirt_build_locales} \\\ BUILD_UT=%{ovirt_build_ut} \\\ BUILD_VALIDATION=0 \\\ PACKAGE_NAME=%{name} \\\ RPM_VERSION=%{version} \\\ RPM_RELEASE=%{release} \\\ DISPLAY_VERSION=%{version}-%{release} \\\ ENGINE_NAME=%{engine_name} \\\ LOCALSTATE_DIR=%{_localstatedir} \\\ PREFIX=%{_prefix} \\\ SYSCONF_DIR=%{_sysconfdir} \\\ BIN_DIR=%{_bindir} \\\ PID_DIR=%{_localstatedir}/run \\\ DATAROOT_DIR=%{_datadir} \\\ MAN_DIR=%{_mandir} \\\ DOC_DIR=%{_docdir} \\\ PYTHON=%{__python} \\\ PYTHON_DIR=%{python_sitelib} \\\ JAVA_DIR=%{_javadir} \\\ MAVENPOM_DIR=%{_mavenpomdir} \\\ PKG_SYSCONF_DIR=%{engine_etc} \\\ PKG_DOC_DIR=%{engine_doc} \\\ PKG_EAR_DIR=%{engine_ear} \\\ PKG_PKI_DIR=%{engine_pki} \\\ PKG_JBOSS_MODULES=%{engine_jboss_modules} \\\ PKG_CACHE_DIR=%{engine_cache} \\\ PKG_LOG_DIR=%{engine_log} \\\ PKG_TMP_DIR=%{engine_tmp} \\\ PKG_STATE_DIR=%{engine_state} \\\ PKG_USER=%{engine_user} \\\ PKG_GROUP=%{engine_group} \\\ WILDFLY_OVERLAY_MODULES=%{wildfly_overlay_modules} \\\ %{?EXTRA_BUILD_FLAGS:EXTRA_BUILD_FLAGS="%{EXTRA_BUILD_FLAGS}"} Name: ovirt-engine Version: 3.6.12.2 Release: 1%{?dist}%{?extra_release} Summary: Management server for Open Virtualization Group: %{ovirt_product_group} License: ASL 2.0 URL: http://www.ovirt.org Source0: https://github.com/oVirt/ovirt-engine/archive/ovirt-engine-3.6.12.tar.gz BuildArch: noarch %if 0%{?rhel} %if 0%{?rhel} >= 7 BuildRequires: java-devel >= 1.7.0 %else BuildRequires: java7-devel %endif %endif %if 0%{?fedora} BuildRequires: java-devel >= 1.7.0 %endif BuildRequires: jpackage-utils BuildRequires: make BuildRequires: python %if %{ovirt_require_maven} BuildRequires: maven %endif BuildRequires: unzip Requires(pre): shadow-utils Requires: %{jboss} >= 8.2.1 Conflicts: %{jboss} >= 9 %if %{ovirt_wildfly_overlay} Requires: ovirt-engine-wildfly-overlay >= 8.0.0 Conflicts: ovirt-engine-wildfly-overlay >= 10.0.0 %endif Requires: %{name}-backend = %{version}-%{release} Requires: %{name}-cli >= 3.6.0.0 Requires: %{name}-dbscripts = %{version}-%{release} Requires: %{name}-restapi = %{version}-%{release} Requires: %{name}-tools = %{version}-%{release} Requires: %{name}-userportal = %{version}-%{release} Requires: %{name}-webadmin-portal = %{version}-%{release} Requires: %{name}-websocket-proxy >= %{version}-%{release} Requires: %{name}-vmconsole-proxy-helper >= %{version}-%{release} Requires: fop Requires: java # rhbz#1028966 Requires: java-openjdk > 1:1.7.0.45-2.4.3.3.el6 Requires: jpackage-utils Requires: ovirt-image-uploader >= 3.6.0 Requires: ovirt-iso-uploader >= 3.6.0 Requires: %{patternfly} Requires: postgresql-server >= 8.4.7 Requires: slf4j >= 1.7.0 Requires: ws-commons-util Requires: yum-plugin-versionlock %if 0%{?fedora} %if %{fedora} >= 19 Requires: apache-commons-compress Requires: apache-commons-configuration Requires: apache-commons-jxpath Requires: jakarta-commons-httpclient Requires: objectweb-asm Requires: openstack-java-client >= %{openstack_java_version} Requires: openstack-java-glance-client >= %{openstack_java_version} Requires: openstack-java-glance-model >= %{openstack_java_version} Requires: openstack-java-cinder-client >= %{openstack_java_version} Requires: openstack-java-cinder-model >= %{openstack_java_version} Requires: openstack-java-keystone-client >= %{openstack_java_version} Requires: openstack-java-keystone-model >= %{openstack_java_version} Requires: openstack-java-quantum-client >= %{openstack_java_version} Requires: openstack-java-quantum-model >= %{openstack_java_version} Requires: openstack-java-resteasy-connector >= %{openstack_java_version} Requires: postgresql-jdbc Requires: python-dnf-plugins-extras-versionlock Requires: quartz # On Fedora slf4j package is split and we need also jdk14 part Requires: slf4j-jdk14 >= 1.7.0 Requires: snmp4j Requires: spring-ldap Requires: springframework-aop Requires: springframework-beans Requires: springframework-context Requires: springframework-expression Requires: springframework-instrument Requires: springframework-jdbc Requires: springframework-tx Requires: xmlrpc-client %endif %if %{fedora} >= 21 Requires: apache-sshd %endif %endif # We can't require exactly the same version and release of the # setup package because it needs to be updated independently as part # of the update process implemented in the engine-upgrade script: Requires: %{name}-setup >= %{version}-%{release} # We can drop these conflicts when # we drop Requires: mod_ssl Conflicts: freeipa-server Conflicts: ipa-server %if %{ovirt_install_systemd} BuildRequires: systemd %endif %description %{ovirt_product_name} is a feature-rich server virtualization management system that provides advanced capabilities for managing the Open virtualization infrastructure for Servers and Desktops. %package extensions-api-impl Summary: %{ovirt_product_name_short} extensions api Group: %{ovirt_product_group} Provides: ovirt-engine-extensions-api = 0 %description extensions-api-impl %{ovirt_product_name_short} extensions api %package extensions-api-impl-javadoc Summary: %{ovirt_product_name_short} extensions api documentation Group: %{ovirt_product_group} Provides: ovirt-engine-extensions-api-javadoc = 0 %description extensions-api-impl-javadoc %{ovirt_product_name_short} extensions api documentation %package lib Summary: %{ovirt_product_name_short} library Group: %{ovirt_product_group} Requires: m2crypto Requires: python-daemon %description lib %{ovirt_product_name_short} library %package backend Summary: Engine core of %{ovirt_product_name_short} Group: %{ovirt_product_group} Requires: %{name} = %{version}-%{release} Requires: %{name}-extensions-api-impl >= %{version}-%{release} Requires: %{name}-lib >= %{version}-%{release} Requires: ebay-cors-filter Requires: httpd Requires: java Requires: logrotate Requires: mailcap Requires: mod_ssl Requires: novnc Requires: openssh Requires: vdsm-jsonrpc-java >= 1.1.16 Requires: openssl Requires: ovirt-engine-extension-aaa-jdbc Requires: ovirt-host-deploy-java >= 1.4.0 Requires: python-cheetah Requires: spice-html5 Requires(pre): shadow-utils %if %{ovirt_install_systemd} Requires(post): systemd Requires(preun): systemd Requires(postun): systemd %endif %pre backend %ovirt_create_user_engine %post backend %if %{ovirt_install_systemd} %systemd_post ovirt-engine.service %endif %if %{ovirt_install_systemv} chkconfig --add ovirt-engine %endif %preun backend %if %{ovirt_install_systemd} %systemd_preun ovirt-engine.service %endif %if %{ovirt_install_systemv} if [ $1 -eq 0 ]; then service ovirt-engine stop > /dev/null 2>&1 || true chkconfig --del ovirt-engine fi %endif %postun backend %if %{ovirt_install_systemd} %systemd_postun ovirt-engine.service %endif %description backend The backend engine of %{ovirt_product_name_short} %package restapi Summary: RESTful API for %{ovirt_product_name_short} Group: %{ovirt_product_group} Requires: %{name} = %{version}-%{release} %description restapi The RESTful API for %{ovirt_product_name_short} %package setup-base Summary: %{ovirt_product_name_short} suite base setup components. Group: %{ovirt_product_group} Requires: %{name}-lib >= %{version}-%{release} Requires: bind-utils Requires: iproute Requires: libxml2-python Requires: logrotate Requires: otopi >= 1.4.1 Requires: python-paramiko Requires(pre): shadow-utils Conflicts: %{name}-dwh < 3.5.0 Conflicts: %{name}-reports < 3.5.0 Conflicts: %{name}-dwh-setup < 3.6.0 Conflicts: %{name}-reports-setup < 3.6.0 %description setup-base %{ovirt_product_name_short} suite base setup components. %pre setup-base %ovirt_create_user_engine %package setup Summary: Setup and upgrade scripts for %{ovirt_product_name_short} Group: %{ovirt_product_group} Requires: %{name}-setup-plugin-ovirt-engine = %{version}-%{release} %description setup Setup and upgrade scripts for %{ovirt_product_name_short} %package setup-plugin-ovirt-engine Summary: Setup and upgrade specific plugins for %{ovirt_product_name_short} Group: %{ovirt_product_group} Requires: %{name}-setup-plugin-ovirt-engine-common = %{version}-%{release} Requires: %{name} >= 3.5.6 Requires: %{name}-setup-plugin-vmconsole-proxy-helper = %{version}-%{release} Requires: ovirt-engine-extension-aaa-jdbc Conflicts: %{name} < 3.5.6 %description setup-plugin-ovirt-engine Setup and upgrade specific plugins for %{ovirt_product_name_short} %pre setup-plugin-ovirt-engine %ovirt_create_user_vdsm %package setup-plugin-ovirt-engine-common Summary: Setup and upgrade common plugins for %{ovirt_product_name_short} Group: %{ovirt_product_group} Requires: %{name}-setup-base = %{version}-%{release} Requires: cracklib-python Requires: libselinux-python Requires: m2crypto Requires: nfs-utils Requires: ovirt-setup-lib Requires: %{policycoreutils_python_utils} Requires: python-psycopg2 Requires: yum Requires(pre): shadow-utils # We can drop these conflicts when # we drop Requires: mod_ssl # conflict here so we can avoid upgrade # of setup at this environment, this # will produce early error. Conflicts: ipa-server Conflicts: freeipa-server %description setup-plugin-ovirt-engine-common Setup and upgrade common plugins for %{ovirt_product_name_short} %package dbscripts Summary: Database scripts for %{ovirt_product_name_short} Group: %{ovirt_product_group} Requires: %{name} = %{version}-%{release} %description dbscripts Database scripts for %{ovirt_product_name_short} %package userportal Summary: User Portal of %{ovirt_product_name_short} Group: %{ovirt_product_group} Requires: %{name} = %{version}-%{release} %description userportal The user portal interface to %{ovirt_product_name_short} %package userportal-debuginfo Summary: Debug information for User Portal of %{ovirt_product_name_short} Group: %{ovirt_product_group} %description userportal-debuginfo Debug information for the user portal interface to %{ovirt_product_name_short} %package webadmin-portal Summary: Web Admin Portal of %{ovirt_product_name_short} Group: %{ovirt_product_group} Requires: %{name} = %{version}-%{release} %description webadmin-portal The web administration interface to %{ovirt_product_name_short} %package webadmin-portal-debuginfo Summary: Debug information for Web Admin Portal of %{ovirt_product_name_short} Group: %{ovirt_product_group} %description webadmin-portal-debuginfo Debug information for the web administration interface to %{ovirt_product_name_short} %package tools Summary: %{ovirt_product_name_short} Tools Group: %{ovirt_product_group} Requires: %{name} = %{version}-%{release} Requires: %{name}-lib >= %{version}-%{release} Requires: %{name}-tools-backup = %{version}-%{release} Requires: java Requires: logrotate Requires: python-psycopg2 Requires(pre): shadow-utils %if %{ovirt_install_systemd} Requires(post): systemd Requires(preun): systemd Requires(postun): systemd %endif %description tools %{ovirt_product_name_short} Tools %pre tools %ovirt_create_user_engine %post tools %if %{ovirt_install_systemd} %systemd_post ovirt-engine-notifier.service %systemd_post ovirt-fence-kdump-listener.service %endif %if %{ovirt_install_systemv} chkconfig --add ovirt-engine-notifier chkconfig --add ovirt-fence-kdump-listener %endif %postun tools %if %{ovirt_install_systemd} %systemd_postun ovirt-engine-notifier.service %systemd_postun ovirt-fence-kdump-listener.service %endif %preun tools %if %{ovirt_install_systemd} %systemd_preun ovirt-engine-notifier.service %systemd_preun ovirt-fence-kdump-listener.service %endif %if %{ovirt_install_systemv} if [ $1 -eq 0 ]; then service ovirt-engine-notifier stop > /dev/null 2>&1 || true chkconfig --del ovirt-engine-notifier service ovirt-fence-kdump-listener stop > /dev/null 2>&1 || true chkconfig --del ovirt-fence-kdump-listener fi %endif %package tools-backup Summary: %{ovirt_product_name_short} Tools (engine-backup) Group: %{ovirt_product_group} Requires: %{name}-setup-plugin-ovirt-engine-common >= %{version}-%{release} Requires: tar Requires: bzip2 Requires: xz Requires: otopi >= 1.4.1 Requires: postgresql >= 8.4.7 %description tools-backup %{ovirt_product_name_short} Tools (engine-backup) %package websocket-proxy Summary: %{ovirt_product_name_short} Websocket Proxy Group: %{ovirt_product_group} Requires: %{name}-lib >= %{version}-%{release} Requires: numpy Requires: python-websockify >= 0.6.0 Requires: %{name}-setup-plugin-websocket-proxy >= %{version}-%{release} Requires(pre): shadow-utils %if %{ovirt_install_systemd} Requires(post): systemd Requires(preun): systemd Requires(postun): systemd %endif %description websocket-proxy %{ovirt_product_name_short} Websocket Proxy %pre websocket-proxy %ovirt_create_user_engine %post websocket-proxy %if %{ovirt_install_systemd} %systemd_post ovirt-websocket-proxy.service %endif %if %{ovirt_install_systemv} chkconfig --add ovirt-websocket-proxy %endif %postun websocket-proxy %if %{ovirt_install_systemd} %systemd_postun ovirt-websocket-proxy.service %endif %preun websocket-proxy %if %{ovirt_install_systemd} %systemd_preun ovirt-websocket-proxy.service %endif %if %{ovirt_install_systemv} if [ $1 -eq 0 ]; then service ovirt-websocket-proxy stop > /dev/null 2>&1 || true chkconfig --del ovirt-websocket-proxy fi %endif %package setup-plugin-websocket-proxy Summary: Setup and upgrade specific plugins for websocket-proxy Requires: %{name}-setup-plugin-ovirt-engine-common = %{version}-%{release} %description setup-plugin-websocket-proxy Setup and upgrade specific plugins for websocket-proxy %package vmconsole-proxy-helper Summary: %{ovirt_product_name_short} VMconsole Proxy Helper Group: %{ovirt_product_group} Requires: %{name}-lib >= %{version}-%{release} Requires: %{name}-setup-plugin-vmconsole-proxy-helper >= %{version}-%{release} Requires: ovirt-vmconsole-proxy %description vmconsole-proxy-helper %{ovirt_product_name_short} VMconsole Proxy helper, to integrate with ovirt-vmconsole-proxy package %package setup-plugin-vmconsole-proxy-helper Summary: Setup and upgrade specific plugins for vmconsole-proxy-helper Requires: %{name}-setup-plugin-ovirt-engine-common = %{version}-%{release} Requires: %{name}-setup-plugin-ovirt-engine = %{version}-%{release} %description setup-plugin-vmconsole-proxy-helper Setup and upgrade specific plugins for vmconsole-proxy-helper %if %{ovirt_with_aio} %package setup-plugin-allinone Summary: All-in-one plugin for %{ovirt_product_name_short}'s setup Group: %{ovirt_product_group} Requires: %{name}-sdk-python >= 3.6.2.0 Requires: %{name}-setup-plugin-ovirt-engine = %{version}-%{release} Requires: openssh-server Requires: ovirt-host-deploy >= 1.4.0 Requires: ovirt-host-deploy-offline >= 1.4.0 Requires: vdsm-jsonrpc-java >= 1.1.16 %description setup-plugin-allinone All-in-one plugin for %{ovirt_product_name_short}'s setup %endif %if %{ovirt_with_docker} %package setup-plugin-dockerc Summary: Docker container plugin for %{ovirt_product_name_short}'s setup Group: %{ovirt_product_group} Requires: %{name}-setup-plugin-ovirt-engine-common = %{version}-%{release} Requires: %{name}-setup-plugin-ovirt-engine = %{version}-%{release} Requires: %{docker} Requires: python-docker-py %description setup-plugin-dockerc Docker container plugin for %{ovirt_product_name_short}'s setup %endif %prep %setup -c -q %build make %{make_common_opts} %install rm -fr "%{buildroot}" make %{make_common_opts} install DESTDIR="%{buildroot}" # Compile python files %{__python} -m compileall -f -q -d / "%{buildroot}" %{__python} -O -m compileall -f -q -d / "%{buildroot}" # # /var creation # install -dm 755 "%{buildroot}/%{engine_state}"/{content,setup/answers} install -dm 755 "%{buildroot}/%{engine_log}"/{host-deploy,setup,notifier,engine-manage-domains,dump} install -dm 755 "%{buildroot}/%{engine_cache}" install -dm 755 "%{buildroot}/%{engine_run}/notifier" # # Force TLS/SSL for selected applications. # for war in \ "%{buildroot}%{engine_ear}"/{userportal,webadmin}.war \ "%{buildroot}%{engine_restapi_war}" \ "%{buildroot}%{engine_legacy_restapi_war}"; do sed -i \ -e 's#NONE#CONFIDENTIAL#' \ -e 's#false#true#' \ "${war}/WEB-INF/web.xml" done # # Move jars to destribution location # # Warning: WildFly 8 doesn't support soft links inside WEB-INF/lib [1], so some # files cannot be linked (see ovirt_wildfly_fixup condition) # # [1] https://issues.jboss.org/browse/WFLY-4382 # install -dm 755 "%{buildroot}%{engine_java}" while read lib_path; do java_path="%{engine_java}/$(basename "${lib_path}")" if ! [ -e "%{buildroot}/${java_path}" ] && [ -f "%{buildroot}/${lib_path}" ]; then cp "%{buildroot}/${lib_path}" "%{buildroot}/${java_path}" fi rm -f "%{buildroot}/${lib_path}" ln -s "${java_path}" "%{buildroot}${lib_path}" done << __EOF__ %{engine_ear}/bll.jar %{engine_ear}/lib/vdsbroker.jar %{engine_ear}/lib/scheduler.jar %{engine_jboss_modules}/common/org/ovirt/engine/api/interface-common-jaxrs/main/interface-common-jaxrs.jar %{engine_jboss_modules}/common/org/ovirt/engine/api/ovirt-engine-extensions-api/main/ovirt-engine-extensions-api.jar %{engine_jboss_modules}/common/org/ovirt/engine/api/restapi-definition/main/restapi-definition.jar %{engine_jboss_modules}/common/org/ovirt/engine/api/restapi-jaxrs/main/restapi-jaxrs.jar %{engine_jboss_modules}/common/org/ovirt/engine/api/restapi-types/main/restapi-types.jar %{engine_jboss_modules}/common/org/ovirt/engine/core/aaa/main/aaa.jar %{engine_jboss_modules}/common/org/ovirt/engine/core/branding/main/branding.jar %{engine_jboss_modules}/common/org/ovirt/engine/core/common/main/common.jar %{engine_jboss_modules}/common/org/ovirt/engine/core/compat/main/compat.jar %{engine_jboss_modules}/common/org/ovirt/engine/core/dal/main/dal.jar %{engine_jboss_modules}/common/org/ovirt/engine/core/extensions-tool/main/extensions-tool.jar %{engine_jboss_modules}/common/org/ovirt/engine/core/extensions-manager/main/extensions-manager.jar %{engine_jboss_modules}/common/org/ovirt/engine/core/searchbackend/main/searchbackend.jar %{engine_jboss_modules}/common/org/ovirt/engine/core/tools/main/tools.jar %{engine_jboss_modules}/common/org/ovirt/engine/core/utils/main/utils.jar %{engine_jboss_modules}/common/org/ovirt/engine/core/uutils/main/uutils.jar %{engine_jboss_modules}/common/org/ovirt/engine/extensions/builtin/main/builtin.jar %if 0%{ovirt_wildfly_fixup} == 0 %{engine_ear}/docs.war/WEB-INF/lib/branding.jar %{engine_ear}/userportal.war/WEB-INF/lib/branding.jar %{engine_ear}/webadmin.war/WEB-INF/lib/branding.jar %{engine_ear}/welcome.war/WEB-INF/lib/branding.jar %endif __EOF__ # Needed for compatibility if package is different than the directory structure %if "%{name}" != "%{engine_name}" ln -s "%{engine_name}" "%{buildroot}%{engine_java}/../%{name}" %endif # # Register poms # while read package pom; do pomdir="$(dirname "%{_mavenpomdir}/${pom}")" pom="$(basename "${pom}")" jpppom="JPP.${pom}" mv "%{buildroot}${pomdir}/${pom}" "%{buildroot}${pomdir}/${jpppom}" artifact_id="$(echo "${pom}" | sed -e 's/^%{name}-//' -e 's/\.pom//')" if [ -f "%{buildroot}%{engine_java}/${artifact_id}.jar" ]; then %add_maven_depmap -f "${package}" "${jpppom}" "%{name}/${artifact_id}.jar" else %add_maven_depmap -f "${package}" "${jpppom}" fi done << __EOF__ backend %{name}-aaa.pom backend %{name}-backend.pom backend %{name}-bll.pom backend %{name}-builtin.pom backend %{name}-dal.pom backend %{name}-manager-modules.pom backend %{name}-manager.pom backend %{name}-scheduler.pom backend %{name}-searchbackend.pom backend %{name}-vdsbroker.pom base %{name}-branding.pom base %{name}-common.pom base %{name}-compat.pom base %{name}-extensions-manager.pom base %{name}-root.pom base %{name}-utils.pom base %{name}-uutils.pom extensions-api %{name}-ovirt-engine-extensions-api-root.pom extensions-api %{name}-ovirt-engine-extensions-api.pom restapi %{name}-interface-common-jaxrs.pom restapi %{name}-restapi-definition.pom restapi %{name}-restapi-jaxrs.pom restapi %{name}-restapi-parent.pom restapi %{name}-restapi-types.pom tools %{name}-extensions-tool.pom tools %{name}-tools.pom __EOF__ %if "%{name}" != "%{engine_name}" sed -i 's#%{_javadir}/%{name}#%{engine_java}#' .mfiles* %endif %if !%{ovirt_install_poms} rm -fr "%{buildroot}%{_mavenpomdir}" %endif # # Link dependencies to system provided # while read dst src; do [ -z "${dst}" ] && continue [ -z "${src}" ] && src="$(basename "${dst}")" dst="%{engine_jboss_modules}/${dst}" src="%{_javadir}/${src}" rm -f "%{buildroot}${dst}" ln -s "${src}" "%{buildroot}${dst}" done << __EOF__ common/org/apache/ws/commons/main/ws-commons-util.jar common/org/apache/xmlgraphics/batik/main/batik-awt-util.jar batik/batik-awt-util.jar common/org/apache/xmlgraphics/batik/main/batik-bridge.jar batik/batik-bridge.jar common/org/apache/xmlgraphics/batik/main/batik-css.jar batik/batik-css.jar common/org/apache/xmlgraphics/batik/main/batik-ext.jar batik/batik-ext.jar common/org/apache/xmlgraphics/batik/main/batik-extension.jar batik/batik-extension.jar common/org/apache/xmlgraphics/batik/main/batik-gvt.jar batik/batik-gvt.jar common/org/apache/xmlgraphics/batik/main/batik-svg-dom.jar batik/batik-svg-dom.jar common/org/apache/xmlgraphics/batik/main/batik-transcoder.jar batik/batik-transcoder.jar common/org/apache/xmlgraphics/batik/main/batik-util.jar batik/batik-util.jar common/org/apache/xmlgraphics/commons/main/xmlgraphics-commons.jar common/org/apache/xmlgraphics/fop/main/fop.jar common/org/ebaysf/web/cors-filter/main/cors-filter.jar ebay-cors-filter/cors-filter.jar common/org/ovirt/otopi/main/otopi.jar otopi/otopi.jar common/org/ovirt/ovirt-host-deploy/main/ovirt-host-deploy.jar ovirt-host-deploy/ovirt-host-deploy.jar common/org/ovirt/vdsm-jsonrpc-java/main/vdsm-jsonrpc-java-client.jar vdsm-jsonrpc-java/vdsm-jsonrpc-java-client.jar tools/org/slf4j/main/slf4j-api.jar slf4j/slf4j-api.jar tools/org/slf4j/main/slf4j-jdk14.jar slf4j/slf4j-jdk14.jar %if 0%{?fedora} %if %{fedora} >= 19 %if %{fedora} >= 21 common/com/mchange/c3p0/main/c3p0.jar c3p0/c3p0.jar common/org/apache/sshd/main/sshd-core.jar apache-sshd/sshd-core.jar %else common/com/mchange/c3p0/main/c3p0.jar %endif common/com/woorea/openstack/sdk/main/glance-client.jar openstack-java-sdk/glance-client.jar common/com/woorea/openstack/sdk/main/glance-model.jar openstack-java-sdk/glance-model.jar common/com/woorea/openstack/sdk/main/cinder-client.jar openstack-java-sdk/cinder-client.jar common/com/woorea/openstack/sdk/main/cinder-model.jar openstack-java-sdk/cinder-model.jar common/com/woorea/openstack/sdk/main/keystone-client.jar openstack-java-sdk/keystone-client.jar common/com/woorea/openstack/sdk/main/keystone-model.jar openstack-java-sdk/keystone-model.jar common/com/woorea/openstack/sdk/main/openstack-client.jar openstack-java-sdk/openstack-client.jar common/com/woorea/openstack/sdk/main/quantum-client.jar openstack-java-sdk/quantum-client.jar common/com/woorea/openstack/sdk/main/quantum-model.jar openstack-java-sdk/quantum-model.jar common/com/woorea/openstack/sdk/main/resteasy-connector.jar openstack-java-sdk/resteasy-connector.jar common/org/aopalliance/main/aopalliance.jar common/org/apache/avalon/framework/main/avalon-framework-api.jar common/org/apache/avalon/framework/main/avalon-framework-impl.jar common/org/apache/commons/compress/main/commons-compress.jar common/org/apache/commons/configuration/main/commons-configuration.jar commons-configuration.jar common/org/apache/commons/httpclient/main/commons-httpclient.jar common/org/apache/commons/jxpath/main/commons-jxpath.jar commons-jxpath.jar common/org/apache/xmlrpc/main/xmlrpc-client.jar common/org/apache/xmlrpc/main/xmlrpc-common.jar common/org/postgresql/main/postgresql.jar postgresql-jdbc.jar common/org/quartz/main/quartz.jar common/org/snmp4j/main/snmp4j.jar common/org/springframework/ldap/main/spring-ldap-core.jar spring-ldap/spring-ldap-core.jar common/org/springframework/main/spring-aop.jar springframework/spring-aop.jar common/org/springframework/main/spring-asm.jar objectweb-asm/asm.jar common/org/springframework/main/spring-beans.jar springframework/spring-beans.jar common/org/springframework/main/spring-context.jar springframework/spring-context.jar common/org/springframework/main/spring-core.jar springframework/spring-core.jar common/org/springframework/main/spring-expression.jar springframework/spring-expression.jar common/org/springframework/main/spring-instrument.jar springframework/spring-instrument.jar common/org/springframework/main/spring-jdbc.jar springframework/spring-jdbc.jar common/org/springframework/main/spring-tx.jar springframework/spring-tx.jar common/org/tukaani/xz/main/xz.jar %endif %endif %if 0%{?rhel} %if %{rhel} >= 7 common/org/apache/avalon/framework/main/avalon-framework-api.jar common/org/apache/avalon/framework/main/avalon-framework-impl.jar %else common/org/apache/avalon/framework/main/avalon-framework-api.jar avalon-framework.jar common/org/apache/avalon/framework/main/avalon-framework-impl.jar avalon-framework.jar %endif %endif __EOF__ # # Register services # %if %{ovirt_install_systemd} install -dm 755 "%{buildroot}%{_unitdir}" for service in ovirt-engine ovirt-engine-notifier ovirt-fence-kdump-listener ovirt-websocket-proxy; do cp "%{buildroot}%{engine_data}/services/${service}/${service}.systemd" "%{buildroot}%{_unitdir}/${service}.service" done %endif %if %{ovirt_install_systemv} install -dm 755 "%{buildroot}%{_initddir}" for service in ovirt-engine ovirt-engine-notifier ovirt-fence-kdump-listener ovirt-websocket-proxy; do cp "%{buildroot}%{engine_data}/services/${service}/${service}.sysv" "%{buildroot}%{_initddir}/${service}" done %endif # # Package customization # install -d "%{buildroot}%{_sysconfdir}/ovirt-engine-setup.conf.d" cat > "%{buildroot}%{_sysconfdir}/ovirt-engine-setup.conf.d/10-packaging.conf" << __EOF__ [environment:default] OVESETUP_APACHE/configureRootRedirectionDefault=bool:True __EOF__ %if %{ovirt_with_aio} cat > "%{buildroot}%{_sysconfdir}/ovirt-engine-setup.conf.d/10-packaging-aio.conf" << __EOF__ [environment:default] OVESETUP_AIO/enable=bool:True __EOF__ install -d "%{buildroot}%{_sysconfdir}/ovirt-host-deploy.conf.d" cat > "%{buildroot}%{_sysconfdir}/ovirt-host-deploy.conf.d/10-packaging-aio.conf" << __EOF__ [environment:default] VDSM/disableNetworkManager=bool:False __EOF__ %else rm -rf "%{buildroot}%{engine_data}/firewalld/aio" %endif %if ! %{ovirt_with_docker} rm -rf "%{buildroot}%{engine_data}/firewalld/dockerc" rm -rf "%{buildroot}%{engine_data}/setup/ovirt_engine_setup/dockerc" rm -rf "%{buildroot}%{engine_data}/setup/plugins/ovirt-engine-common/dockerc" rm -rf "%{buildroot}%{engine_data}/setup/plugins/ovirt-engine-remove/dockerc" rm -rf "%{buildroot}%{engine_data}/setup/plugins/ovirt-engine-setup/dockerc" %endif %if %{ovirt_provides_jboss} %if %{ovirt_wildfly_overlay} OVIRT_JBOSS_PACKAGES=ovirt-engine-wildfly,ovirt-engine-wildfly-overlay %else OVIRT_JBOSS_PACKAGES=ovirt-engine-wildfly %endif cat > "%{buildroot}%{_sysconfdir}/ovirt-engine-setup.conf.d/10-packaging-jboss.conf" << __EOF__ [environment:default] OVESETUP_CONFIG/jbossHome=str:/usr/share/ovirt-engine-wildfly OVESETUP_RPMDISTRO/jbossPackages=str:${OVIRT_JBOSS_PACKAGES} __EOF__ %endif # # bakcward compatibility # keep ovirt-engine-setup package to pull ovirt-engine-setup-plugin-ovirt-engine # touch "%{buildroot}%{engine_data}/setup/ovirt-engine-setup-ghost" # # backward compatibly (pre-3.3.0) # force rpm not to remove config files # as these used to be %config # these files are created empty in order to mark # them as %ghost # touch "%{buildroot}%{engine_etc}/engine.conf" touch "%{buildroot}%{engine_etc}/notifier/notifier.conf" touch "%{buildroot}%{engine_pki}/cacert.template" touch "%{buildroot}%{engine_pki}/cert.template" touch "%{buildroot}%{engine_pki}/database.txt" touch "%{buildroot}%{engine_pki}/serial.txt" install -d "%{buildroot}%{engine_etc}/sysprep" for f in 2k12x64 2k3 2k8 2k8x86 2k8x64 w7 w7x64 w8 w8x64 xp; do touch "%{buildroot}%{engine_etc}/sysprep/sysprep.${f}" done install -d "%{buildroot}%{_sysconfdir}/firewalld/services" touch "%{buildroot}%{_sysconfdir}/firewalld/services/ovirt.xml" %preun if [ "$1" -eq 0 ]; then # # backup pki dir into the backup dir with current date # if [ -d "%{engine_pki}" ]; then dest="%{engine_pki}/../%{engine_name}-backups/%{engine_name}-$(date +"%%Y%%m%%d%%H%%M%%S")" mkdir -p "${dest}" cp -pR "%{engine_pki}" "${dest}" fi fi %postun if [ "$1" -eq 0 ]; then rm -rf "%{engine_cache}" rm -rf "%{engine_pki}" if [ -f "%{_sysconfdir}/yum/pluginconf.d/versionlock.list" ]; then sed -i '/%{name}/d' "%{_sysconfdir}/yum/pluginconf.d/versionlock.list" fi fi %pre %ovirt_create_user_engine %files -f .mfiles-base %dir %attr(-, %{engine_user}, %{engine_group}) %{engine_cache} %dir %attr(-, %{engine_user}, %{engine_group}) %{engine_log} %dir %attr(-, %{engine_user}, %{engine_group}) %{engine_log}/dump %dir %{engine_data} %dir %{engine_data}/bin %dir %{engine_data}/branding %dir %{engine_data}/conf %dir %{engine_data}/engine.ear %dir %{engine_data}/extensions.d %dir %{engine_data}/services %dir %{engine_etc} %dir %{engine_etc}/branding %dir %{engine_etc}/extensions.d %dir %{engine_java} %doc LICENSE %ghost %config(noreplace) %{engine_etc}/engine.conf %{engine_data}/branding/ovirt.brand/ %{engine_etc}/branding/00-ovirt.brand %{engine_etc}/engine.conf.d/ # # ATTENTION: # Needed for compatibility if package is different # than the directory structure # %if "%{name}" != "%{engine_name}" %{_javadir}/%{name} %endif %files extensions-api-impl -f .mfiles-extensions-api %files extensions-api-impl-javadoc %{engine_doc}/ovirt-engine-extensions-api/ %files lib %{engine_data}/bin/java-home %{python_sitelib}/ovirt_engine/ %files backend -f .mfiles-backend %attr(-, %{engine_user}, %{engine_group}) %{engine_log}/host-deploy %attr(-, %{engine_user}, %{engine_group}) %{engine_state}/content %config %{_sysconfdir}/logrotate.d/ovirt-engine %dir %attr(-, %{engine_user}, %{engine_group}) %{engine_state} %dir %{engine_data}/bin %dir %{engine_data}/gwt-symbols %dir %{engine_data}/ui-plugins %dir %{engine_ear} %{engine_data}/conf/osinfo-defaults.properties %{engine_data}/conf/sysprep/ %{engine_data}/files/ %{engine_data}/icons/ %{engine_doc}/AuditLogMessages.properties %{engine_doc}/mibs/ %{engine_ear}/META-INF %{engine_ear}/bll.jar %{engine_ear}/docs.war/ %{engine_ear}/lib %{engine_ear}/root.war/ %{engine_ear}/services.war/ %{engine_ear}/welcome.war/ %{engine_etc}/osinfo.conf.d/ %{engine_jboss_modules}/ %{engine_data}/services/ovirt-engine %if %{ovirt_install_systemd} %{_unitdir}/ovirt-engine.service %endif %if %{ovirt_install_systemv} %{_initddir}/ovirt-engine %endif # # PKI # # Most directories are owned by the engine user because # it needs to create files inside # %config(noreplace) %{engine_pki}/cacert.template.in %config(noreplace) %{engine_pki}/cert.template.in %config(noreplace) %{engine_pki}/openssl.conf %dir %attr(-, %{engine_user}, %{engine_group}) %{engine_pki} %dir %attr(-, %{engine_user}, %{engine_group}) %{engine_pki}/certs %dir %attr(-, %{engine_user}, %{engine_group}) %{engine_pki}/private %dir %attr(-, %{engine_user}, %{engine_group}) %{engine_pki}/requests %dir %{engine_pki}/keys %{engine_data}/bin/pki-common.sh %{engine_data}/bin/pki-create-ca.sh %{engine_data}/bin/pki-enroll-openssh-cert.sh %{engine_data}/bin/pki-enroll-pkcs12.sh %{engine_data}/bin/pki-enroll-request.sh %{engine_data}/bin/pki-pkcs12-extract.sh %{engine_data}/bin/pki-ssh-keygen.py* # backward compatibly (pre-3.3.0) # force rpm not to remove pki files # as these used to be %config %ghost %config(noreplace) %{engine_pki}/cacert.template %ghost %config(noreplace) %{engine_pki}/cert.template %ghost %config(noreplace) %{engine_pki}/database.txt %ghost %config(noreplace) %{engine_pki}/serial.txt %files setup-base %config %{_sysconfdir}/logrotate.d/ovirt-engine-setup %dir %{engine_data}/firewalld %dir %{engine_data}/setup %dir %{engine_data}/setup/bin/ %dir %{engine_data}/setup/ovirt_engine_setup %dir %{engine_data}/setup/plugins %dir %{engine_data}/setup/plugins/ovirt-engine-common %dir %{engine_data}/setup/plugins/ovirt-engine-remove %dir %{engine_data}/setup/plugins/ovirt-engine-setup %dir %{engine_log}/setup %{_bindir}/engine-cleanup %{_bindir}/engine-setup %{_mandir}/man8/engine-cleanup.* %{_mandir}/man8/engine-setup.* %{_mandir}/man8/engine-upgrade-check.* %{engine_data}/conf/iptables.default.in %{engine_data}/setup/bin/ovirt-engine-remove %{engine_data}/setup/bin/ovirt-engine-rename %{engine_data}/setup/bin/ovirt-engine-setup %{engine_data}/setup/bin/ovirt-engine-setup.env %{engine_data}/setup/ovirt_engine_setup/*.py* %{engine_data}/setup/plugins/*/base/ %{engine_state}/backups/ %{engine_state}/setup/ %files setup # package cannot be empty %ghost %{engine_data}/setup/ovirt-engine-setup-ghost %files setup-plugin-ovirt-engine %config %{_sysconfdir}/ovirt-engine-setup.conf.d/10-packaging.conf %{_bindir}/engine-upgrade-check %{engine_data}/conf/ovirt-engine-proxy.conf.v2.in %{engine_data}/conf/ovirt-engine-root-redirect.conf.in %{engine_data}/firewalld/ovirt-engine/ %{engine_data}/setup/bin/ovirt-engine-upgrade-check %{engine_data}/setup/dbutils/ %{engine_data}/setup/ovirt_engine_setup/engine/ %{engine_data}/setup/plugins/*/ovirt-engine/ # backward compatibility (pre-3.4) %ghost %config(noreplace) %{engine_etc}/sysprep/ %ghost %config(noreplace) %{_sysconfdir}/firewalld/services/ovirt.xml %files setup-plugin-ovirt-engine-common %{engine_data}/setup/bin/ovirt-engine-provisiondb %{engine_data}/setup/ovirt_engine_setup/engine_common/ %{engine_data}/setup/ovirt_engine_setup/provisiondb/ %{engine_data}/setup/plugins/*/ovirt-engine-common/ %{engine_data}/firewalld/ovirt-common/ %if %{ovirt_provides_jboss} %config %{_sysconfdir}/ovirt-engine-setup.conf.d/10-packaging-jboss.conf %endif %if %{ovirt_wildfly_overlay} %config %{engine_etc}/engine.conf.d/20-setup-jboss-overlay.conf %endif %files setup-plugin-websocket-proxy %{engine_data}/firewalld/websocket-proxy/ %{engine_data}/setup/ovirt_engine_setup/websocket_proxy/ %{engine_data}/setup/plugins/*/websocket_proxy/ %files setup-plugin-vmconsole-proxy-helper %{engine_data}/conf/ovirt-vmconsole-proxy.conf %{engine_data}/firewalld/vmconsole-proxy/ %{engine_data}/setup/ovirt_engine_setup/vmconsole_proxy_helper/ %{engine_data}/setup/plugins/*/vmconsole_proxy_helper/ %if %{ovirt_with_aio} %files setup-plugin-allinone %config %{_sysconfdir}/ovirt-engine-setup.conf.d/10-packaging-aio.conf %config %{_sysconfdir}/ovirt-host-deploy.conf.d/10-packaging-aio.conf %{engine_data}/firewalld/aio/ %endif %if %{ovirt_with_docker} %files setup-plugin-dockerc %{engine_data}/firewalld/dockerc/ %{engine_data}/setup/ovirt_engine_setup/dockerc/ %{engine_data}/setup/plugins/*/dockerc/ %endif %files dbscripts %{engine_data}/dbscripts/ %files restapi -f .mfiles-restapi %{engine_restapi_war}/ %{engine_legacy_restapi_war}/ %files userportal %config %{engine_etc}/usbfilter.txt %{engine_ear}/userportal.war %files userportal-debuginfo %{engine_data}/gwt-symbols/userportal/ %files webadmin-portal %{engine_ear}/webadmin.war %files webadmin-portal-debuginfo %{engine_data}/gwt-symbols/webadmin/ %files websocket-proxy %{engine_data}/services/ovirt-websocket-proxy %{engine_etc}/ovirt-websocket-proxy.conf.d/ %if %{ovirt_install_systemd} %{_unitdir}/ovirt-websocket-proxy.service %endif %if %{ovirt_install_systemv} %{_initddir}/ovirt-websocket-proxy %endif %files vmconsole-proxy-helper %{_libexecdir}/ovirt-vmconsole-proxy-helper/ %{engine_data}/conf/ovirt-vmconsole-proxy-helper.conf %{engine_etc}/ovirt-vmconsole-proxy-helper.conf.d/ %files tools -f .mfiles-tools %config %{_sysconfdir}/logrotate.d/ovirt-engine-notifier %config(noreplace) %{engine_etc}/engine-config/engine-config.conf %config(noreplace) %{engine_etc}/engine-manage-domains/engine-manage-domains.conf %dir %attr(-, %{engine_user}, %{engine_group}) %{engine_log}/notifier %dir %attr(-, %{engine_user}, %{engine_group}) %{engine_run}/notifier %dir %{engine_etc}/engine-config %dir %{engine_etc}/engine-manage-domains %dir %{engine_etc}/notifier %ghost %config(noreplace) %{engine_etc}/notifier/notifier.conf %{_bindir}/engine-config %{_bindir}/engine-manage-domains %{_bindir}/ovirt-engine-extensions-tool %{_mandir}/man8/engine-config.* %{_mandir}/man8/engine-manage-domains.* %{engine_data}/bin/engine-config.sh %{engine_data}/bin/engine-manage-domains.sh %{engine_data}/bin/engine-prolog.sh %{engine_data}/bin/ovirt-engine-extensions-tool.sh %{engine_data}/bin/ovirt-engine-crypto-tool.sh %{engine_data}/bin/ovirt-engine-role.sh %{engine_data}/conf/extensions-tool-logging.properties %{engine_data}/conf/jaas.conf %{engine_data}/conf/notifier-logging.properties %{engine_data}/conf/tools-logging.properties %{engine_data}/services/ovirt-engine-notifier %{engine_data}/services/ovirt-fence-kdump-listener/ %{engine_etc}/engine-config/engine-config.*properties %{engine_etc}/notifier/notifier.conf.d/ %{engine_etc}/ovirt-fence-kdump-listener.conf.d/ %if %{ovirt_install_systemd} %{_unitdir}/ovirt-engine-notifier.service %{_unitdir}/ovirt-fence-kdump-listener.service %endif %if %{ovirt_install_systemv} %{_initddir}/ovirt-engine-notifier %{_initddir}/ovirt-fence-kdump-listener %endif %files tools-backup %{_bindir}/engine-backup %{_mandir}/man8/engine-backup.* %{engine_data}/bin/engine-backup.sh %changelog * Fri Sep 15 2017 Oleh Horbachov 3.6.12-2%{?extra_release} - Bump version to 3.6.12 * Thu Jun 22 2017 Oleh Horbachov 3.6.11.3-2%{?extra_release} - Rebuild for CentOS * Wed May 24 2017 Sandro Bonazzola - 3.6.11.3-1 - Bump version to 3.6.11.3 * Mon May 22 2017 Sandro Bonazzola - 3.6.11.2-1 - Bump version to 3.6.11.2 * Wed Apr 05 2017 Lev Veyde - 3.6.11.1-1 - Bump version to 3.6.11.1 * Wed Mar 22 2017 Lev Veyde - 3.6.11-1 - Bump version to 3.6.11 * Sun Jan 01 2017 Lev Veyde - 3.6.10.2-1 - Bump version to 3.6.10.2 * Sun Dec 11 2016 Lev Veyde - 3.6.10.1-1 - Bump version to 3.6.10.1 * Tue Nov 08 2016 Sandro Bonazzola - 3.6.10-1 - Bump version to 3.6.10 * Tue Sep 13 2016 Lev Veyde - 3.6.9.2-1 - Bump version to 3.6.9.2 * Wed Sep 07 2016 Rafael Martins - 3.6.9.1-1 - Bump version to 3.6.9.1 * Mon Aug 22 2016 Sandro Bonazzola - 3.6.9-1 - Bump version to 3.6.9 * Mon Jul 18 2016 Sandro Bonazzola - 3.6.8.1-1 - Bump version to 3.6.8.1 * Tue Jul 05 2016 Sandro Bonazzola - 3.6.8-1 - Bump version to 3.6.8 * Fri May 06 2016 Sandro Bonazzola - 3.6.6.2-1 - Bump version to 3.6.6.2 * Tue May 03 2016 Rafael Martins - 3.6.6.1-1 - Bump version to 3.6.6.1 * Mon Apr 25 2016 Rafael Martins - 3.6.6-1 - Bump version to 3.6.6 * Mon Feb 22 2016 Rafael Martins - 3.6.3.3-1 - Bump version to 3.6.3.3 * Tue Feb 16 2016 Sandro Bonazzola - 3.6.3.2-1 - Bump version to 3.6.3.2 * Mon Feb 8 2016 Sandro Bonazzola - 3.6.3.1-1 - Bump version to 3.6.3.1 * Wed Jan 27 2016 Sandro Bonazzola - 3.6.3-1 - Bump version to 3.6.3 * Tue Jan 19 2016 Sandro Bonazzola - 3.6.2.6-1 - Bump version to 3.6.2.6 * Tue Jan 12 2016 Sandro Bonazzola - 3.6.2.5-1 - Bump version to 3.6.2.5 * Fri Jan 08 2016 Simone Tiraboschi - 3.6.2.4-1 - 3.6.2.4 * Thu Jan 07 2016 Simone Tiraboschi - 3.6.2.3-1 - 3.6.2.3 * Thu Jan 07 2016 Simone Tiraboschi - 3.6.2.2-1 - 3.6.2.2 * Tue Dec 22 2015 Sandro Bonazzola - 3.6.2-1 - Bump version to 3.6.2 * Thu Sep 24 2015 Sandro Bonazzola - 3.6.1-1 - Bump version to 3.6.1 * Thu Jul 10 2014 Sandro Bonazzola - 3.6.0-1 - Update dependencies and removed legacy provides / requires * Thu Jan 17 2013 Juan Hernandez - 3.3.0-1 - Bump version to 3.3.0 * Fri Nov 02 2012 Juan Hernandez - 3.2.0-1 - Bump version to 3.2.0 * Mon May 07 2012 Keith Robertson - 3.1.0-3 - Removed image uploader, iso uploader, and log collector from this git repo. The are now in their own respective ovirt.org git repos. BZ#803240. * Wed Apr 04 2012 Stephen Gordon - 3.1.0-2 - The ovirt-engine spec file did not previously contain a BuildRequires statement for the maven package. As a result in mock environments the build failed with an error when attempting to call the 'mvn' binary - BZ#807761. * Wed Jan 04 2012 Ronen Angluste - 3.1.0-1 - Adjust code for Jboss AS 7.1 * Sun Dec 11 2011 Ronen Angluster - 3.1.0-1 - Moved all hard coded paths to macros * Wed Oct 26 2011 Ronen Angluster - 3.1.0-1 - Initial build - Cloned from RHEVM spec file