Add RPM specs for fuel packaging stage
Change-Id: I242f21ba6b451f87b85ba9d6d80cea1d36748403
This commit is contained in:
parent
f7ee8bcaa3
commit
12f7cf5930
|
@ -0,0 +1,60 @@
|
|||
Repotype: rpm-md-legacy
|
||||
|
||||
Preinstall: acl attr bash coreutils diffutils
|
||||
Preinstall: filesystem glibc grep libacl libattr
|
||||
Preinstall: libgcc m4 ncurses pam file-libs db4
|
||||
Preinstall: popt readline rpm sed tar zlib ncurses-libs libcap
|
||||
Preinstall: rpm-libs pcre info libselinux sqlite lua
|
||||
Preinstall: elfutils-libelf findutils neon openssl krb5-libs
|
||||
Preinstall: e2fsprogs-libs expat bzip2-libs libstdc++ setup libsepol
|
||||
Preinstall: perl policycoreutils nss nss-util nspr xz-libs
|
||||
Preinstall: nss-softokn-freebl nss-softokn
|
||||
Preinstall: shadow-utils
|
||||
|
||||
#Runscripts: setup
|
||||
|
||||
VMinstall: util-linux-ng perl perl-libs device-mapper libblkid libuuid
|
||||
|
||||
Required: autoconf automake binutils bzip2 gcc gdbm gettext glibc gcc-c++
|
||||
Required: libtool ncurses perl rpm zlib rpm-build redhat-release redhat-rpm-config
|
||||
|
||||
Support: bind-libs bind-utils bison cpio cpp cracklib cvs
|
||||
Support: e2fsprogs file findutils flex gawk gettext-devel
|
||||
Support: glibc-devel gpm groff gzip info less
|
||||
Support: make man mktemp module-init-tools
|
||||
Support: ncurses-devel net-tools openssl
|
||||
Support: patch procps psmisc rcs strace
|
||||
Support: texinfo unzip util-linux-ng zlib-devel vim-enhanced
|
||||
Support: initscripts bzip2-devel
|
||||
|
||||
Keep: binutils cpp cracklib file findutils gawk gcc gcc-ada gcc-c++
|
||||
Keep: gdbm glibc-devel gzip libada libstdc++ libunwind
|
||||
Keep: libunwind-devel make mktemp pam-devel pam-modules
|
||||
Keep: patch perl rcs
|
||||
|
||||
Prefer: lynx kernel-devel
|
||||
Prefer: -kernel-debug
|
||||
|
||||
%define centos_version 600
|
||||
%define rhel 6
|
||||
%define el6 1
|
||||
Macros:
|
||||
%opensuse_bs 1
|
||||
%centos_version 600
|
||||
%rhel 6
|
||||
%el6 1
|
||||
|
||||
%_vendor redhat
|
||||
|
||||
%kernel_module_package_buildreq kernel-devel redhat-rpm-config
|
||||
%kernel_module_package_buildreqs kernel-devel redhat-rpm-config
|
||||
|
||||
%ext_info .gz
|
||||
%ext_man .gz
|
||||
|
||||
%info_add(:-:) test -x /sbin/install-info -a -f %{?2}%{?!2:%{_infodir}}/%{1}%ext_info && /sbin/install-info --info-dir=%{?2}%{?!2:%{_infodir}} %{?2}%{?!2:%{_infodir}}/%{1}%ext_info \
|
||||
%{nil}
|
||||
|
||||
%info_del(:-:) test -x /sbin/install-info -a ! -f %{?2}%{?!2:%{_infodir}}/%{1}%ext_info && /sbin/install-info --quiet --delete --info-dir=%{?2}%{?!2:%{_infodir}} %{?2}%{?!2:%{_infodir}}/%{1}%ext_info \
|
||||
%{nil}
|
||||
|
|
@ -0,0 +1,31 @@
|
|||
Name: fencing-agent
|
||||
Summary: Fencing agent
|
||||
Version: 0.1.0
|
||||
Release: 1
|
||||
License: GPLv2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}
|
||||
Source0: fencing-agent.rb
|
||||
Source1: fencing-agent.cron
|
||||
URL: http://mirantis.com
|
||||
%description
|
||||
Agent for periodic checks for additional fencing criterias (free space, etc)
|
||||
|
||||
%prep
|
||||
rm -rf %{name}-%{version}
|
||||
mkdir %{name}-%{version}
|
||||
cp %{SOURCE0} %{name}-%{version}
|
||||
cp %{SOURCE1} %{name}-%{version}
|
||||
|
||||
%install
|
||||
cd %{name}-%{version}
|
||||
mkdir -p %{buildroot}/opt/nailgun/bin
|
||||
mkdir -p %{buildroot}/etc/cron.d
|
||||
install -m 755 %{SOURCE0} %{buildroot}/opt/nailgun/bin/fencing-agent.rb
|
||||
install -m 644 %{SOURCE1} %{buildroot}/etc/cron.d/fencing-agent
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
/etc/cron.d/fencing-agent
|
||||
/opt/nailgun/bin/fencing-agent.rb
|
|
@ -0,0 +1,104 @@
|
|||
%define name fuel-ostf
|
||||
%define version 0.1
|
||||
%define unmangled_version 0.1
|
||||
%define unmangled_version 0.1
|
||||
%define release 1
|
||||
|
||||
Summary: cloud computing testing
|
||||
Name: %{name}
|
||||
Version: %{version}
|
||||
Release: %{release}
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
License: Apache
|
||||
Group: Development/Libraries
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
|
||||
Prefix: %{_prefix}
|
||||
BuildRequires: python-setuptools
|
||||
BuildArch: noarch
|
||||
|
||||
# fuel_health_reqs
|
||||
Requires: python-oslo-config >= 1.1.1
|
||||
Requires: python-cinderclient >= 1.0.6
|
||||
Requires: python-keystoneclient >= 1:0.4.1
|
||||
Requires: python-novaclient >= 1:2.15.0
|
||||
Requires: python-heatclient >= 0.2.5
|
||||
Requires: python-muranoclient >= 0.2.11
|
||||
Requires: python-savannaclient >= 0.3
|
||||
Requires: python-paramiko >= 1.10.1
|
||||
Requires: python-requests >= 1.1
|
||||
Requires: python-requests < 1.2.3
|
||||
Requires: python-unittest2 >= 0.5.1
|
||||
Requires: PyYAML >= 3.10
|
||||
Requires: python-testresources >= 0.2.7
|
||||
|
||||
# fuel_ostf_reqs
|
||||
Requires: python-nose >= 1.3.0
|
||||
Requires: python-sqlalchemy >= 0.8.2
|
||||
Requires: python-alembic >= 0.5.0
|
||||
Requires: python-gevent >= 0.13.8
|
||||
Requires: python-pecan >= 0.3.0
|
||||
Requires: python-psycopg2 >= 2.5.1
|
||||
Requires: python-stevedore >= 0.10
|
||||
|
||||
# test_requires
|
||||
#mock >= 1.0.1
|
||||
#pep8 >= 1.4.6
|
||||
#py >= 1.4.15
|
||||
#Requires: python-six >= 1.4.1
|
||||
#tox >= 1.5.0
|
||||
|
||||
#Requires: python-mako >= 0.8.1
|
||||
#Requires: python-markupsafe >= 0.18
|
||||
#Requires: python-webob >= 1.2.3
|
||||
#Requires: python-webtest >= 2.0.6
|
||||
#Requires: python-argparse >= 1.2.1
|
||||
#Requires: python-beautifulsoup4 >= 4.2.1
|
||||
#Requires: python-cliff >= 1.4
|
||||
#Requires: python-cmd2 >= 0.6.5.1
|
||||
#Requires: python-d2to1 >= 0.2.10
|
||||
#Requires: python-distribute >= 0.7.3
|
||||
#Requires: python-extras >= 0.0.3
|
||||
#Requires: python-greenlet >= 0.4.1
|
||||
#Requires: python-httplib2 >= 0.8
|
||||
#Requires: python-iso8601 >= 0.1.4
|
||||
#Requires: python-jsonpatch >= 1.1
|
||||
#Requires: python-jsonpointer >= 1.0
|
||||
#Requires: python-jsonschema >= 2.0.0
|
||||
#Requires: python-logutils >= 0.3.3
|
||||
#Requires: python-netaddr >= 0.7.10
|
||||
#Requires: python-ordereddict >= 1.1
|
||||
#Requires: python-pbr >= 0.5.21
|
||||
#Requires: python-prettytable >= 0.7.2
|
||||
#Requires: python-psycogreen >= 1.0
|
||||
#Requires: python-pyopenssl >= 0.13
|
||||
#Requires: python-crypto >= 2.6
|
||||
#Requires: pyparsing >= 1.5.6
|
||||
#Requires: python-mimeparse >= 0.1.4
|
||||
#Requires: python-setuptools-git >= 1.0
|
||||
#Requires: python-simplegeneric >= 0.8.1
|
||||
#Requires: python-simplejson >= 3.3.0
|
||||
#Requires: python-testtools >= 0.9.32
|
||||
#Requires: python-waitress >= 0.8.5
|
||||
#Requires: python-warlock >= 1.0.1
|
||||
#Requires: python-wsgiref >= 0.1.2
|
||||
|
||||
|
||||
%description
|
||||
fuel-ostf-tests
|
||||
|
||||
%prep
|
||||
%setup -n %{name}-%{unmangled_version} -n %{name}-%{unmangled_version}
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
|
||||
%install
|
||||
python setup.py install --single-version-externally-managed -O1 --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files -f INSTALLED_FILES
|
||||
%defattr(-,root,root)
|
||||
|
||||
|
|
@ -0,0 +1,28 @@
|
|||
Name: nailgun-mcagents
|
||||
Summary: MCollective Agents
|
||||
Version: 0.1.0
|
||||
Release: 1
|
||||
License: GPLv2
|
||||
Source0: mcagents.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}
|
||||
Requires: mcollective >= 2.2
|
||||
URL: http://mirantis.com
|
||||
%description
|
||||
MCollective agents
|
||||
|
||||
|
||||
%prep
|
||||
rm -rf %{name}-%{version}
|
||||
mkdir %{name}-%{version}
|
||||
tar -xf %{SOURCE0} -C %{name}-%{version}
|
||||
|
||||
%install
|
||||
cd %{name}-%{version}
|
||||
mkdir -p %{buildroot}/usr/libexec/mcollective/mcollective/agent/
|
||||
cp * %{buildroot}/usr/libexec/mcollective/mcollective/agent/
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
/usr/libexec/mcollective/mcollective/agent/*
|
|
@ -0,0 +1,62 @@
|
|||
%define name nailgun
|
||||
%define version 0.1.0
|
||||
%define release 1
|
||||
|
||||
Summary: Nailgun package
|
||||
Name: %{name}
|
||||
Version: %{version}
|
||||
Release: %{release}
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
License: Apache
|
||||
Group: Development/Libraries
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
|
||||
Prefix: %{_prefix}
|
||||
BuildRequires: python-setuptools
|
||||
BuildArch: noarch
|
||||
|
||||
Requires: python-alembic == 0.6.2
|
||||
Requires: python-amqplib == 1.0.2
|
||||
Requires: python-anyjson == 0.3.3
|
||||
Requires: python-argparse == 1.2.1
|
||||
Requires: babel == 1.3
|
||||
Requires: python-crypto == 2.6.1
|
||||
Requires: python-decorator == 3.4.0
|
||||
Requires: python-fysom == 1.0.11
|
||||
Requires: python-iso8601 == 0.1.8
|
||||
Requires: python-jinja2 == 2.7
|
||||
Requires: python-jsonschema == 2.0.0
|
||||
Requires: python-kombu == 2.5.14
|
||||
Requires: python-mako == 0.9.1
|
||||
Requires: python-markupsafe == 0.18
|
||||
Requires: python-netaddr == 0.7.10
|
||||
Requires: python-netifaces == 0.8
|
||||
Requires: python-oslo-config == 1.2.1
|
||||
Requires: python-paste == 1.7.5.1
|
||||
Requires: python-psycopg2 == 2.5.1
|
||||
Requires: python-simplejson == 3.3.0
|
||||
Requires: python-sqlalchemy == 0.8.2
|
||||
Requires: python-webpy == 0.37
|
||||
Requires: python-wsgilog == 0.3
|
||||
Requires: python-wsgiref == 0.1.2
|
||||
Requires: PyYAML == 3.10
|
||||
Requires: Shotgun == 0.1.0
|
||||
|
||||
%description
|
||||
Nailgun package
|
||||
|
||||
%prep
|
||||
%setup -n %{name}-%{version} -n %{name}-%{version}
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
|
||||
%install
|
||||
python setup.py install --single-version-externally-managed -O1 --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files -f INSTALLED_FILES
|
||||
%defattr(-,root,root)
|
||||
|
||||
|
|
@ -0,0 +1,37 @@
|
|||
%define name Shotgun
|
||||
%define version 0.1.0
|
||||
%define release 1
|
||||
|
||||
Summary: Shotgun package
|
||||
Name: %{name}
|
||||
Version: %{version}
|
||||
Release: %{release}
|
||||
URL: http://mirantis.com
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
License: Apache
|
||||
Group: Development/Libraries
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
|
||||
Prefix: %{_prefix}
|
||||
BuildRequires: python-setuptools
|
||||
BuildArch: noarch
|
||||
|
||||
Requires: python-fabric == 1.7.0
|
||||
|
||||
%description
|
||||
Shotgun package
|
||||
|
||||
%prep
|
||||
%setup -n %{name}-%{version} -n %{name}-%{version}
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
|
||||
%install
|
||||
python setup.py install --single-version-externally-managed -O1 --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files -f INSTALLED_FILES
|
||||
%defattr(-,root,root)
|
||||
|
Loading…
Reference in New Issue