diff --git a/packaging/debian/changelog b/packaging/debian/changelog new file mode 100644 index 0000000..82c9d02 --- /dev/null +++ b/packaging/debian/changelog @@ -0,0 +1,5 @@ +python-synergy-scheduler-manager (0.1-1) unstable; urgency=low + + * Initial release + + -- Vincent Llorens Wed, 01 Jun 2016 13:41:08 +0200 diff --git a/packaging/debian/compat b/packaging/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/packaging/debian/compat @@ -0,0 +1 @@ +9 diff --git a/packaging/debian/control b/packaging/debian/control new file mode 100644 index 0000000..bbaab8d --- /dev/null +++ b/packaging/debian/control @@ -0,0 +1,24 @@ +Source: python-synergy-scheduler-manager +Section: contrib/python +Priority: optional +Maintainer: Vincent Llorens +Build-Depends: debhelper (>= 9), + dh-python, + git-core, + python-all, + python-pbr, + python-setuptools +Standards-Version: 3.9.5 +Homepage: https://launchpad.net/synergy-scheduler-manager +Vcs-Git: git://git.openstack.org/openstack/synergy-scheduler-manager +Vcs-Browser: https://git.openstack.org/cgit/openstack/synergy-scheduler-manager + +Package: python-synergy-scheduler-manager +Architecture: all +Depends: ${python:Depends}, ${misc:Depends} +Description: Advanced scheduling capability for OpenStack. + The Scheduler Manager provides advanced scheduling (fairshare) capability for + OpenStack. In particular it aims to address the resource utilization issues + coming from the static allocation model inherent in the Cloud paradigm, by + adopting the dynamic partitioning strategy implemented by the advanced batch + schedulers. diff --git a/packaging/debian/copyright b/packaging/debian/copyright new file mode 100644 index 0000000..c01c181 --- /dev/null +++ b/packaging/debian/copyright @@ -0,0 +1,21 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: synergy-scheduler-manager +Source: + +Files: * +Copyright: 2015, 2016 Lisa Zangrando +License: Apache-2 + Licensed 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. + . + On Debian-based systems the full text of the Apache version 2.0 license + can be found in `/usr/share/common-licenses/Apache-2.0' diff --git a/packaging/debian/docs b/packaging/debian/docs new file mode 100644 index 0000000..a1320b1 --- /dev/null +++ b/packaging/debian/docs @@ -0,0 +1 @@ +README.rst diff --git a/packaging/debian/rules b/packaging/debian/rules new file mode 100644 index 0000000..652200a --- /dev/null +++ b/packaging/debian/rules @@ -0,0 +1,30 @@ +#!/usr/bin/make -f +# See debhelper(7) (uncomment to enable) +# output every command that modifies files on the build system. +#DH_VERBOSE = 1 + +# see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/* +DPKG_EXPORT_BUILDFLAGS = 1 +include /usr/share/dpkg/default.mk + +# see FEATURE AREAS in dpkg-buildflags(1) +#export DEB_BUILD_MAINT_OPTIONS = hardening=+all + +# see ENVIRONMENT in dpkg-buildflags(1) +# package maintainers to append CFLAGS +#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic +# package maintainers to append LDFLAGS +#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed +export PYBUILD_NAME=python-synergy-scheduler-manager + +# main packaging script based on dh7 syntax +%: + dh $@ --with python2 --buildsystem=pybuild + +override_dh_auto_test: + +# debmake generated override targets +# This is example for Cmake (See http://bugs.debian.org/641051 ) +#override_dh_auto_configure: +# dh_auto_configure -- \ +# -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH) diff --git a/packaging/rpm/python-synergy-scheduler-manager.spec b/packaging/rpm/python-synergy-scheduler-manager.spec new file mode 100644 index 0000000..2297b7c --- /dev/null +++ b/packaging/rpm/python-synergy-scheduler-manager.spec @@ -0,0 +1,47 @@ +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} + +Name: python-synergy-scheduler-manager +Version: 0.1 +Release: 1%{?dist} +Summary: Advanced scheduling capability for OpenStack. +Source: %name-%version.tar.bz2 + +License: ASL 2.0 + +BuildArch: noarch +BuildRequires: python-devel +BuildRequires: python-setuptools +Requires: python-pbr +Requires: python-synergy-service +Requires: python-oslo-config +Requires: python-oslo-messaging +Requires: python-sqlalchemy + + +%description +The Scheduler Manager provides advanced scheduling (fairshare) capability for +OpenStack. In particular it aims to address the resource utilization issues +coming from the static allocation model inherent in the Cloud paradigm, by +adopting the dynamic partitioning strategy implemented by the advanced batch +schedulers. + + +%prep +%setup -q + + +%build +%{__python} setup.py build + + +%install +rm -rf $RPM_BUILD_ROOT +%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT + + +%files +%doc README.rst +%{python_sitelib}/* + + +%changelog