| # Licensed to the Apache Software Foundation (ASF) under one |
| # or more contributor license agreements. See the NOTICE file |
| # distributed with this work for additional information |
| # regarding copyright ownership. The ASF licenses this file |
| # to you under the Apache License, Version 2.0 (the |
| # "License"); you may not use this file except in compliance |
| # with the License. You may obtain a copy of the License at |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, |
| # software distributed under the License is distributed on an |
| # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| # KIND, either express or implied. See the License for the |
| # specific language governing permissions and limitations |
| # under the License. |
| |
| %define __os_install_post %{nil} |
| %global debug_package %{nil} |
| |
| # DISABLE the post-percentinstall java repacking and line number stripping |
| # we need to find a way to just disable the java repacking and line number stripping, but not the autodeps |
| |
| Name: cloud |
| Summary: CloudStack IaaS Platform |
| Version: %{_ver} |
| #http://fedoraproject.org/wiki/PackageNamingGuidelines#Pre-Release_packages |
| %if "%{?_prerelease}" != "" |
| Release: 0.%{_build_number}%{dist}.%{_prerelease} |
| %else |
| Release: %{_rel}%{dist} |
| %endif |
| License: Apache License 2.0 |
| Vendor: CloudStack <engineering@cloud.com> |
| Packager: CloudStack <engineering@cloud.com> |
| Group: System Environment/Libraries |
| # FIXME do groups for every single one of the subpackages |
| Source0: %{name}-%{_ver}.tar.bz2 |
| BuildRoot: %{_tmppath}/%{name}-%{_ver}-%{release}-build |
| |
| %if 0%{?fedora} >= 17 |
| BuildRequires: java-1.7.0-openjdk-devel |
| %else |
| BuildRequires: java-1.6.0-openjdk-devel |
| %endif |
| BuildRequires: tomcat6 |
| BuildRequires: ws-commons-util |
| BuildRequires: jpackage-utils |
| BuildRequires: gcc |
| BuildRequires: glibc-devel |
| BuildRequires: /usr/bin/mkisofs |
| BuildRequires: MySQL-python |
| |
| %description |
| CloudStack is a highly-scalable elastic, open source, |
| intelligent IaaS cloud implementation. |
| |
| %package utils |
| Summary: CloudStack utility library |
| Requires: java >= 1.6.0 |
| Requires: python |
| Group: System Environment/Libraries |
| Obsoletes: vmops-utils < %{version}-%{release} |
| %description utils |
| Utility libraries and set of Java classes used |
| by CloudStack. |
| |
| %package client-ui |
| Summary: CloudStack management server UI |
| Requires: %{name}-client |
| Group: System Environment/Libraries |
| Obsoletes: vmops-client-ui < %{version}-%{release} |
| %description client-ui |
| The CloudStack management server is the central point of coordination, |
| management, and intelligence in CloudStack. This package |
| is a requirement of the %{name}-client package, which installs the |
| CloudStack management server. |
| |
| %package server |
| Summary: CloudStack server library |
| Requires: java >= 1.6.0 |
| Obsoletes: vmops-server < %{version}-%{release} |
| Requires: %{name}-utils = %{version}, %{name}-core = %{version}, %{name}-deps = %{version}, %{name}-scripts = %{version}, tomcat6-servlet-2.5-api |
| Group: System Environment/Libraries |
| %description server |
| The CloudStack server libraries provide a set of Java classes for CloudStack. |
| |
| %package scripts |
| Summary: CloudStack scripts |
| # FIXME nuke the archdependency |
| Requires: python |
| Requires: bash |
| Requires: bzip2 |
| Requires: gzip |
| Requires: unzip |
| Requires: /sbin/mount.nfs |
| Requires: openssh-clients |
| Requires: nfs-utils |
| Requires: wget |
| # there is a fsimage.so in the source code, which adds xen-libs as a dependence, needs to supress it, as rhel doesn't have this pacakge |
| AutoReqProv: no |
| Provides: cloud-agent-scripts = %{version}-%{release} |
| Obsoletes: cloud-agent-scripts < %{version}-%{release} |
| Group: System Environment/Libraries |
| %description scripts |
| This package contains common scripts used by the Agent and Management server |
| |
| %package python |
| Summary: CloudStack Python library |
| # FIXME nuke the archdependency |
| Requires: python |
| Group: System Environment/Libraries |
| %description python |
| The CloudStack Python library contains a few Python modules that the |
| CloudStack uses. |
| |
| %package deps |
| Summary: CloudStack library dependencies |
| Requires: java >= 1.6.0 |
| Requires: mysql-connector-java |
| Obsoletes: vmops-deps < %{version}-%{release} |
| Conflicts: antlr |
| Group: System Environment/Libraries |
| %description deps |
| This package contains a number of third-party dependencies |
| not shipped by distributions, required to run CloudStack |
| |
| |
| %package core |
| Summary: CloudStack core library |
| Requires: java >= 1.6.0 |
| Requires: %{name}-utils = %{version}, %{name}-deps = %{version} |
| Group: System Environment/Libraries |
| Obsoletes: vmops-core < %{version}-%{release} |
| %description core |
| The CloudStack core libraries provide a set of Java classes used |
| in CloudStack. |
| |
| %package client |
| Summary: CloudStack management server |
| # If GCJ is present, a setPerformanceSomething method fails to load Catalina |
| Conflicts: java-1.5.0-gcj-devel |
| Obsoletes: vmops-client < %{version}-%{release} |
| Obsoletes: cloud-premium < %{version}-%{release} |
| Requires: java >= 1.6.0 |
| Requires: %{name}-deps = %{version}, %{name}-utils = %{version}, %{name}-server = %{version} |
| Requires: %{name}-client-ui = %{version} |
| Requires: %{name}-setup = %{version} |
| Requires: %{name}-scripts = %{version} |
| Requires: %{name}-python = %{version} |
| Requires: %{name}-aws-api = %{version} |
| # for consoleproxy |
| # Requires: %{name}-agent |
| Requires: tomcat6 |
| Requires: ws-commons-util |
| Requires: jpackage-utils |
| Requires: sudo |
| Requires: /sbin/service |
| Requires: /sbin/chkconfig |
| Requires: /usr/bin/ssh-keygen |
| Requires: mkisofs |
| Requires: MySQL-python |
| Requires: python-paramiko |
| Requires: ipmitool |
| Requires: %{name}-utils = %{version} |
| %if 0%{?fedora} > 14 |
| Requires: apache-commons-dbcp |
| Requires: apache-commons-collections |
| Requires: jakarta-commons-httpclient |
| Requires: jakarta-taglibs-standard |
| Requires: mysql-connector-java |
| %endif |
| |
| Group: System Environment/Libraries |
| %description client |
| The CloudStack management server is the central point of coordination, |
| management, and intelligence in CloudStack and installs the management server. |
| |
| %package setup |
| Summary: CloudStack setup tools |
| Obsoletes: vmops-setup < %{version}-%{release} |
| Requires: java >= 1.6.0 |
| Requires: python |
| Requires: MySQL-python |
| Requires: %{name}-utils = %{version} |
| Requires: %{name}-server = %{version} |
| Requires: %{name}-deps = %{version} |
| Requires: %{name}-python = %{version} |
| Group: System Environment/Libraries |
| %description setup |
| The CloudStack setup tools let you set up your Management Server and Usage Server. |
| |
| %package agent-libs |
| Summary: CloudStack agent libraries |
| Requires: java >= 1.6.0 |
| Requires: %{name}-utils = %{version}, %{name}-core = %{version}, %{name}-deps = %{version} |
| Requires: commons-httpclient |
| Requires: jakarta-commons-logging |
| Requires: jpackage-utils |
| Group: System Environment/Libraries |
| %description agent-libs |
| The CloudStack agent libraries are used by the KVM Agent |
| |
| %package agent |
| Summary: CloudStack agent |
| Obsoletes: vmops-agent < %{version}-%{release} |
| Obsoletes: vmops-console < %{version}-%{release} |
| Obsoletes: cloud-console < %{version}-%{release} |
| Obsoletes: cloud-vnet < %{version}-%{release} |
| Obsoletes: cloud-premium-agent < %{version}-%{release} |
| Requires: java >= 1.6.0 |
| Requires: %{name}-utils = %{version}, %{name}-core = %{version}, %{name}-deps = %{version} |
| Requires: %{name}-agent-libs = %{version} |
| Requires: %{name}-scripts = %{version} |
| Requires: python |
| Requires: %{name}-python = %{version} |
| Requires: commons-httpclient |
| Requires: jakarta-commons-logging |
| Requires: libvirt |
| Requires: /usr/sbin/libvirtd |
| Requires: jpackage-utils |
| Requires: /sbin/service |
| Requires: /sbin/chkconfig |
| Requires: jna |
| Requires: ebtables |
| Requires: jsvc |
| Requires: jakarta-commons-daemon |
| Requires: bridge-utils |
| Group: System Environment/Libraries |
| |
| Requires: kvm |
| |
| %if 0%{?fedora} >= 14 && 0%{?fedora} != 16 |
| Requires: cloud-qemu-kvm |
| Requires: cloud-qemu-img |
| %endif |
| |
| %if 0%{?rhel} >= 5 |
| Requires: qemu-img |
| %endif |
| |
| Requires: libcgroup |
| %if 0%{?fedora} >= 16 |
| Requires: libcgroup-tools |
| %endif |
| Requires: /usr/bin/uuidgen |
| Requires: rsync |
| Requires: /bin/egrep |
| Requires: /sbin/ip |
| Requires: vconfig |
| Group: System Environment/Libraries |
| %description agent |
| The CloudStack agent is in charge of managing KVM shared computing resources in |
| a CloudStack-powered cloud. Install this package if this computer |
| will participate in your cloud. |
| |
| %package baremetal-agent |
| Summary: CloudStack baremetal agent |
| Requires: PING |
| Requires: tftp-server |
| Requires: xinetd |
| Requires: syslinux |
| Requires: chkconfig |
| Requires: dhcp |
| Group: System Environment/Libraries |
| %description baremetal-agent |
| The CloudStack baremetal agent |
| |
| %package cli |
| Summary: CloudStack command line tools |
| Requires: python |
| Group: System Environment/Libraries |
| %description cli |
| The CloudStack command line tools contain a few Python modules that can call cloudStack APIs. |
| |
| %package usage |
| Summary: CloudStack usage monitor |
| Obsoletes: vmops-usage < %{version}-%{release} |
| Requires: java >= 1.6.0 |
| Requires: %{name}-utils = %{version}, %{name}-core = %{version}, %{name}-deps = %{version}, %{name}-server = %{version} |
| Requires: %{name}-setup = %{version} |
| Requires: %{name}-client = %{version} |
| Requires: jsvc |
| License: Apache License 2.0 |
| Group: System Environment/Libraries |
| %description usage |
| The CloudStack usage monitor provides usage accounting across the entire cloud for |
| cloud operators to charge based on usage parameters. |
| |
| %package aws-api |
| Summary: CloudStack CloudBridge |
| Group: System Environment/Libraries |
| Requires: java >= 1.6.0 |
| Requires: tomcat6 |
| Requires: %{name}-deps = %{version} |
| %if 0%{?fedora} > 15 |
| Requires: apache-commons-lang |
| %endif |
| %if 0%{?rhel} >= 5 |
| Requires: jakarta-commons-lang |
| %endif |
| Obsoletes: cloud-bridge < %{version}-%{release} |
| %description aws-api |
| This is the CloudStack CloudBridge |
| |
| %prep |
| |
| echo Doing CloudStack build |
| |
| %setup -q -n %{name}-%{_ver} |
| |
| %build |
| |
| # this fixes the /usr/com bug on centos5 |
| %define _localstatedir /var |
| %define _sharedstatedir /var/lib |
| ./waf configure --prefix=%{_prefix} --libdir=%{_libdir} --bindir=%{_bindir} --javadir=%{_javadir} --sharedstatedir=%{_sharedstatedir} --localstatedir=%{_localstatedir} --sysconfdir=%{_sysconfdir} --mandir=%{_mandir} --docdir=%{_docdir}/%{name}-%{version} --with-tomcat=%{_datadir}/tomcat6 --tomcat-user=%{name} --fast --build-number=%{_ver}-%{release} --package-version=%{_ver} |
| ./waf build --build-number=%{?_build_number} --package-version=%{_ver} |
| |
| %install |
| [ ${RPM_BUILD_ROOT} != "/" ] && rm -rf ${RPM_BUILD_ROOT} |
| # we put the build number again here, otherwise state checking will cause an almost-full recompile |
| ./waf install --destdir=$RPM_BUILD_ROOT --nochown --build-number=%{?_build_number} |
| rm $RPM_BUILD_ROOT/etc/rc.d/init.d/cloud-console-proxy |
| rm $RPM_BUILD_ROOT/usr/bin/cloud-setup-console-proxy |
| rm $RPM_BUILD_ROOT/usr/libexec/console-proxy-runner |
| ant deploy-rpm-install -Drpm.install.dir=$RPM_BUILD_ROOT |
| |
| %clean |
| |
| [ ${RPM_BUILD_ROOT} != "/" ] && rm -rf ${RPM_BUILD_ROOT} |
| |
| |
| %preun client |
| /sbin/service %{name}-management stop || true |
| if [ "$1" == "0" ] ; then |
| /sbin/chkconfig --del %{name}-management > /dev/null 2>&1 || true |
| /sbin/service %{name}-management stop > /dev/null 2>&1 || true |
| fi |
| |
| %pre aws-api |
| id %{name} > /dev/null 2>&1 || /usr/sbin/useradd -M -c "CloudStack unprivileged user" \ |
| -r -s /bin/sh -d %{_sharedstatedir}/%{name}/management %{name}|| true |
| |
| rm -rf %{_localstatedir}/cache/%{name} |
| # user harcoded here, also hardcoded on wscript |
| |
| %pre client-ui |
| if [ -d %{_datadir}/%{name}/management/webapps/client/ ]; then |
| pushd /tmp &>/dev/null |
| file=cloud-ui-backup-%(date +%%F).tar.bz2 |
| cp -r %{_datadir}/%{name}/management/webapps/client/ . |
| tar cjf "$file" client/ |
| rm -rf client/ |
| mkdir -p /usr/share/cloud/ui-backup/ |
| mv "$file" /usr/share/cloud/ui-backup/ |
| popd &>/dev/null |
| fi |
| |
| %preun usage |
| if [ "$1" == "0" ] ; then |
| /sbin/chkconfig --del %{name}-usage > /dev/null 2>&1 || true |
| /sbin/service %{name}-usage stop > /dev/null 2>&1 || true |
| fi |
| |
| %pre usage |
| id %{name} > /dev/null 2>&1 || /usr/sbin/useradd -M -c "CloudStack unprivileged user" \ |
| -r -s /bin/sh -d %{_sharedstatedir}/%{name}/management %{name}|| true |
| # user harcoded here, also hardcoded on wscript |
| |
| %post usage |
| if [ "$1" == "1" ] ; then |
| /sbin/chkconfig --add %{name}-usage > /dev/null 2>&1 || true |
| /sbin/chkconfig --level 345 %{name}-usage on > /dev/null 2>&1 || true |
| else |
| /sbin/service %{name}-usage condrestart >/dev/null 2>&1 || true |
| fi |
| |
| %preun agent |
| if [ "$1" == "0" ] ; then |
| /sbin/chkconfig --del %{name}-agent > /dev/null 2>&1 || true |
| /sbin/service %{name}-agent stop > /dev/null 2>&1 || true |
| fi |
| |
| %post agent |
| if [ "$1" == "1" ] ; then |
| /sbin/chkconfig --add %{name}-agent > /dev/null 2>&1 || true |
| /sbin/chkconfig --level 345 %{name}-agent on > /dev/null 2>&1 || true |
| else |
| /sbin/service %{name}-agent condrestart >/dev/null 2>&1 || true |
| fi |
| |
| if [ -x /etc/sysconfig/modules/kvm.modules ] ; then |
| /bin/sh /etc/sysconfig/modules/kvm.modules |
| fi |
| |
| %post client |
| /sbin/chkconfig --add %{name}-management > /dev/null 2>&1 || true |
| /sbin/chkconfig --level 345 %{name}-management on > /dev/null 2>&1 || true |
| |
| root=/usr/share/cloud/bridge |
| target=/usr/share/cloud/management |
| |
| mkdir -p $target/webapps7080 |
| if [ ! -h $target/webapps7080/awsapi ]; then |
| ln -sf $root/webapps7080/awsapi $target/webapps7080/awsapi |
| fi |
| |
| # jars=`ls $root/lib` |
| # for j in $jars |
| # do |
| # cp -f $root/lib/$j $root/webapps/awsapi/WEB-INF/lib/ |
| # done |
| |
| confs="cloud-bridge.properties ec2-service.properties" |
| for c in $confs |
| do |
| cp -f $root/conf/$c $target/conf |
| done |
| |
| %files utils |
| %defattr(0644,root,root,0755) |
| %{_javadir}/%{name}-utils.jar |
| %{_javadir}/%{name}-api.jar |
| %attr(0755,root,root) %{_bindir}/cloud-sccs |
| %attr(0755,root,root) %{_bindir}/cloud-gitrevs |
| %doc %{_docdir}/%{name}-%{version}/version-info |
| %doc LICENSE |
| %doc NOTICE |
| |
| %files client-ui |
| %defattr(0644,root,root,0755) |
| %{_datadir}/%{name}/management/webapps/client/* |
| %doc LICENSE |
| %doc NOTICE |
| |
| %files server |
| %defattr(0644,root,root,0755) |
| %{_javadir}/%{name}-server.jar |
| %{_javadir}/%{name}-ovm.jar |
| %{_javadir}/%{name}-dp-user-concentrated-pod.jar |
| %{_javadir}/%{name}-dp-user-dispersing.jar |
| %{_javadir}/%{name}-host-allocator-random.jar |
| %{_javadir}/%{name}-plugin-ovs.jar |
| %{_javadir}/%{name}-storage-allocator-random.jar |
| %{_javadir}/%{name}-user-authenticator-ldap.jar |
| %{_javadir}/%{name}-user-authenticator-md5.jar |
| %{_javadir}/%{name}-user-authenticator-plaintext.jar |
| %{_javadir}/%{name}-plugin-hypervisor-xen.jar |
| %{_javadir}/%{name}-plugin-elb.jar |
| %{_javadir}/%{name}-plugin-nicira-nvp.jar |
| %config(noreplace) %{_sysconfdir}/%{name}/server/* |
| %doc LICENSE |
| %doc NOTICE |
| |
| %files scripts |
| %defattr(-,root,root,-) |
| %{_libdir}/%{name}/common/scripts/* |
| # maintain the following list in sync with files scripts |
| %{_libdir}/%{name}/common/vms/systemvm.zip |
| %{_libdir}/%{name}/common/vms/systemvm.iso |
| %doc LICENSE |
| %doc NOTICE |
| |
| %files deps |
| %defattr(0644,root,root,0755) |
| %{_javadir}/axiom-*.jar |
| %{_javadir}/axis2-*.jar |
| %{_javadir}/antlr*.jar |
| %{_javadir}/XmlSchema-*.jar |
| %{_javadir}/json-simple*.jar |
| %{_javadir}/neethi*.jar |
| %{_javadir}/woden*.jar |
| %{_javadir}/xercesImpl*.jar |
| %{_javadir}/xml-apis*.jar |
| %{_javadir}/dom4j*.jar |
| %{_javadir}/javassist*.jar |
| %{_javadir}/commons-fileupload*.jar |
| %{_javadir}/commons-codec-1.6.jar |
| %{_javadir}/commons-dbcp-1.4.jar |
| %{_javadir}/commons-pool-1.6.jar |
| %{_javadir}/gson-1.7.1.jar |
| %{_javadir}/CAStorSDK-*.jar |
| %{_javadir}/backport-util-concurrent-3.1.jar |
| %{_javadir}/ehcache-1.5.0.jar |
| %{_javadir}/httpcore-4.0.jar |
| %{_javadir}/mail-1.4.jar |
| %{_javadir}/activation-1.1.jar |
| %{_javadir}/xapi-5.6.100-1-SNAPSHOT.jar |
| %{_javadir}/log4j-*.jar |
| %{_javadir}/apache-log4j-extras-1.1.jar |
| %{_javadir}/trilead-ssh2-build213-svnkit-1.3-patch.jar |
| %{_javadir}/cglib-nodep-2.2.2.jar |
| %{_javadir}/xmlrpc-common-3.*.jar |
| %{_javadir}/xmlrpc-client-3.*.jar |
| %{_javadir}/wsdl4j-1.6.2.jar |
| %{_javadir}/jsch-0.1.42.jar |
| %{_javadir}/jasypt-1.*.jar |
| %{_javadir}/commons-configuration-1.8.jar |
| %{_javadir}/ejb-api-3.0.jar |
| %{_javadir}/axis2-1.5.1.jar |
| %{_javadir}/commons-discovery-0.5.jar |
| %{_javadir}/jstl-1.2.jar |
| %{_javadir}/javax.persistence-2.0.0.jar |
| %{_javadir}/bcprov-jdk16-1.45.jar |
| %doc LICENSE |
| %doc NOTICE |
| |
| %files core |
| %defattr(0644,root,root,0755) |
| %{_javadir}/%{name}-core.jar |
| %doc LICENSE |
| %doc NOTICE |
| |
| %files python |
| %defattr(0644,root,root,0755) |
| %{_prefix}/lib*/python*/site-packages/%{name}* |
| %attr(0755,root,root) %{_bindir}/cloud-external-ipallocator.py |
| %attr(0755,root,root) %{_initrddir}/cloud-ipallocator |
| %dir %attr(0770,root,root) %{_localstatedir}/log/%{name}/ipallocator |
| %doc LICENSE |
| %doc NOTICE |
| |
| %files setup |
| %attr(0755,root,root) %{_bindir}/%{name}-setup-databases |
| %attr(0755,root,root) %{_bindir}/%{name}-migrate-databases |
| %attr(0755,root,root) %{_bindir}/%{name}-set-guest-password |
| %attr(0755,root,root) %{_bindir}/%{name}-set-guest-sshkey |
| %attr(0755,root,root) %{_bindir}/%{name}-sysvmadm |
| %attr(0755,root,root) %{_bindir}/%{name}-setup-encryption |
| %dir %{_datadir}/%{name}/setup |
| %{_datadir}/%{name}/setup/*.sql |
| %{_datadir}/%{name}/setup/db/*.sql |
| %{_datadir}/%{name}/setup/*.sh |
| %{_datadir}/%{name}/setup/server-setup.xml |
| %doc LICENSE |
| %doc NOTICE |
| |
| %files client |
| %defattr(0644,root,root,0775) |
| %config(noreplace) %{_sysconfdir}/%{name}/management |
| %config(noreplace) %attr(0640,root,%{name}) %{_sysconfdir}/%{name}/management/db.properties |
| %config(noreplace) %{_sysconfdir}/%{name}/management/log4j-%{name}.xml |
| %config(noreplace) %{_sysconfdir}/%{name}/management/tomcat6.conf |
| %dir %attr(0770,root,%{name}) %{_sysconfdir}/%{name}/management/Catalina |
| %dir %attr(0770,root,%{name}) %{_sysconfdir}/%{name}/management/Catalina/localhost |
| %dir %attr(0770,root,%{name}) %{_sysconfdir}/%{name}/management/Catalina/localhost/client |
| %config(noreplace) %{_sysconfdir}/sysconfig/%{name}-management |
| %attr(0755,root,root) %{_initrddir}/%{name}-management |
| %dir %{_datadir}/%{name}/management |
| %{_datadir}/%{name}/management/* |
| %attr(0755,root,root) %{_bindir}/%{name}-setup-management |
| %attr(0755,root,root) %{_bindir}/%{name}-update-xenserver-licenses |
| %dir %attr(0770,root,%{name}) %{_sharedstatedir}/%{name}/mnt |
| %dir %attr(0770,%{name},%{name}) %{_sharedstatedir}/%{name}/management |
| %dir %attr(0770,root,%{name}) %{_localstatedir}/cache/%{name}/management |
| %dir %attr(0770,root,%{name}) %{_localstatedir}/cache/%{name}/management/work |
| %dir %attr(0770,root,%{name}) %{_localstatedir}/cache/%{name}/management/temp |
| %dir %attr(0770,root,%{name}) %{_localstatedir}/log/%{name}/management |
| %dir %attr(0770,root,%{name}) %{_localstatedir}/log/%{name}/agent |
| %doc LICENSE |
| %doc NOTICE |
| |
| %files agent-libs |
| %defattr(0644,root,root,0755) |
| %{_javadir}/%{name}-agent.jar |
| %{_javadir}/%{name}-plugin-hypervisor-kvm.jar |
| %{_javadir}/libvirt-0.4.9.jar |
| %doc LICENSE |
| %doc NOTICE |
| |
| %files agent |
| %defattr(0644,root,root,0755) |
| %config(noreplace) %{_sysconfdir}/%{name}/agent/agent.properties |
| %config(noreplace) %{_sysconfdir}/%{name}/agent/developer.properties.template |
| %config(noreplace) %{_sysconfdir}/%{name}/agent/environment.properties |
| %config(noreplace) %{_sysconfdir}/%{name}/agent/log4j-%{name}.xml |
| %attr(0755,root,root) %{_initrddir}/%{name}-agent |
| %attr(0755,root,root) %{_bindir}/%{name}-setup-agent |
| %dir %attr(0770,root,root) %{_localstatedir}/log/%{name}/agent |
| %doc LICENSE |
| %doc NOTICE |
| |
| %files cli |
| %{_bindir}/%{name}-tool |
| %{_bindir}/cloudvoladm |
| %{_bindir}/cloud-grab-dependent-library-versions |
| %config(noreplace) %{_sysconfdir}/%{name}/cli/commands.xml |
| %dir %{_prefix}/lib*/python*/site-packages/%{name}tool |
| %{_prefix}/lib*/python*/site-packages/%{name}tool/* |
| %{_prefix}/lib*/python*/site-packages/%{name}apis.py |
| %doc LICENSE |
| %doc NOTICE |
| |
| %files baremetal-agent |
| %attr(0755,root,root) %{_bindir}/cloud-setup-baremetal |
| %doc LICENSE |
| %doc NOTICE |
| |
| %files usage |
| %defattr(0644,root,root,0775) |
| %{_javadir}/%{name}-usage.jar |
| %attr(0755,root,root) %{_initrddir}/%{name}-usage |
| %dir %attr(0770,root,%{name}) %{_localstatedir}/log/%{name}/usage |
| %config(noreplace) %{_sysconfdir}/%{name}/usage/usage-components.xml |
| %config(noreplace) %{_sysconfdir}/%{name}/usage/log4j-%{name}_usage.xml |
| %config(noreplace) %attr(0640,root,%{name}) %{_sysconfdir}/%{name}/usage/db.properties |
| %doc LICENSE |
| %doc NOTICE |
| |
| %files aws-api |
| %defattr(0644,cloud,cloud,0755) |
| %{_datadir}/cloud/bridge/conf/* |
| %{_datadir}/cloud/bridge/webapps7080/* |
| %attr(0644,root,root) %{_datadir}/cloud/setup/bridge/db/* |
| %attr(0755,root,root) %{_bindir}/cloudstack-aws-api-register |
| %attr(0755,root,root) %{_bindir}/cloud-setup-bridge |
| %doc LICENSE |
| %doc NOTICE |
| |
| %changelog |
| * Mon Nov 19 2012 Satoshi Kobayashi <satoshi-k@stratosphere.co.jp> 4.0.1 |
| - adding dependency bridge-utils to fix a system requirement |
| |
| * Fri Sep 14 2012 Marcus Sorensen <shadowsor@gmail.com> 4.0.1 |
| - adding dependency jakarta-commons-daemon to fix "cannot find daemon loader" |
| |
| * Thu Aug 16 2012 Marcus Sorensen <shadowsor@gmail.com> 4.0 |
| - rearranged files sections to match currently built files |
| |
| * Mon May 3 2010 Manuel Amador (Rudd-O) <manuel@vmops.com> 1.9.12 |
| - Bump version for RC4 release |
| |
| * Fri Apr 30 2010 Manuel Amador (Rudd-O) <manuel@vmops.com> 1.9.11 |
| - Rename to CloudStack everywhere |
| |
| * Wed Apr 28 2010 Manuel Amador (Rudd-O) <manuel@vmops.com> 1.9.10 |
| - FOSS release |
| |
| * Mon Apr 05 2010 Manuel Amador (Rudd-O) <manuel@vmops.com> 1.9.8 |
| - RC3 branched |
| |
| * Wed Feb 17 2010 Manuel Amador (Rudd-O) <manuel@vmops.com> 1.9.7 |
| - First initial broken-up release |
| |
| |