Merge "[network-checker] Create rpm/deb specs"

This commit is contained in:
Jenkins 2015-10-20 13:25:07 +00:00 committed by Gerrit Code Review
commit 491bff70fb
6 changed files with 110 additions and 0 deletions

View File

@ -0,0 +1,35 @@
nailgun (8.0.0-1) trusty; urgency=low
* Change version to 8.0.0
-- Vladimir Kozhukalov <vkozhukalov@mirantis.com> Mon, 03 Sep 2015 11:12:00 +0300
nailgun (7.0.0-1) trusty; urgency=low
* Update version to 7.0.0
-- Aleksandra Fedorova <afedorova@mirantis.com> Mon, 08 Jun 2015 18:15:00 +0300
nailgun (6.1.0-1) trusty; urgency=low
* Update version to 6.1.0
-- Matthew Mosesohn <mmosesohn@mirantis.com> Wed, 22 Apr 2015 14:44:00 +0300
nailgun (6.0.0-1) trusty; urgency=low
* Update code from upstream
-- Igor Kalnitsky <ikalnitsky@mirantis.com> Wed, 26 Nov 2014 19:49:00 +0200
nailgun (0.1.0-ubuntu1) precise; urgency=low
* Update code from upstream
-- OSCI Jenkins <dburmistrov@mirantis.com> Wed, 03 Sep 2014 15:17:07 +0400
nailgun (0.1.0-1ubuntu0) precise; urgency=low
* Add fencing agent script as a separated task
-- Bogdan Dobrelya <bdobrelia@mirantis.com> Thu, 23 Jan 2014 18:55:00 +0400

View File

@ -0,0 +1 @@
8

View File

@ -0,0 +1,14 @@
Source: network-checker
Section: unknown
Priority: net
Maintainer: Mirantis Product <product@mirantis.com>
Build-Depends: debhelper (>= 8.0.0), python-setuptools
X-Python-Version: 2.6, 2.7
Standards-Version: 3.9.2
Homepage: mirantis.com
Package: nailgun-net-check
Architecture: all
Depends: ${misc:Depends}, ${python:Depends}, python-pypcap, vlan, python-scapy, cliff-tablib, python-stevedore, python-daemonize, python-yaml, tcpdump, python-requests, python-six
Description: Nailgun network connectivity check tool
.

18
network_checker/debian/rules Executable file
View File

@ -0,0 +1,18 @@
#!/usr/bin/make -f
DH_VERBOSE=1
topdir=$(shell pwd)
%:
dh $@ --with python2
override_dh_auto_install:
python setup.py install -O0 --single-version-externally-managed --install-layout=deb --root=$(topdir)/debian/nailgun-net-check
dh_auto_install
override_dh_auto_build:
dh_clean
python setup.py build
dh_auto_build
override_dh_auto_clean:
python setup.py clean
dh_auto_clean

View File

@ -0,0 +1 @@
3.0 (quilt)

View File

@ -0,0 +1,41 @@
%define name nailgun-net-check
%{!?version: %define version 8.0.0}
%{!?release: %define release 1}
Name: %{name}
Summary: Network checking package for CentOS6.x
Version: %{version}
Release: %{release}
License: GPLv2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
URL: http://github.com/Mirantis
Requires: vconfig
Requires: scapy
Requires: python-argparse
Requires: python-pypcap
Requires: python-cliff-tablib
Requires: python-stevedore
Requires: python-daemonize
Requires: python-yaml
Requires: tcpdump
Requires: python-requests
Requires: python-netifaces
%prep
%setup -cq -n %{name}-%{version}
%build
cd %{_builddir}/%{name}-%{version}/network_checker && python setup.py build
%install
cd %{_builddir}/%{name}-%{version}/network_checker && python setup.py install --single-version-externally-managed -O1 --root=$RPM_BUILD_ROOT --record=%{_builddir}/%{name}-%{version}/network_checker/INSTALLED_FILES
%clean
rm -rf $RPM_BUILD_ROOT
%description
This is a network tool that helps to verify networks connectivity
between hosts in network.
%files -f %{_builddir}/%{name}-%{version}/network_checker/INSTALLED_FILES
%defattr(-,root,root)