Packaged for rpm
authorEd Bartosh <eduard.bartosh@intel.com>
Sat, 10 Aug 2013 12:47:25 +0000 (15:47 +0300)
committerEduard Bartosh <eduard.bartosh@intel.com>
Mon, 12 Aug 2013 16:53:34 +0000 (09:53 -0700)
Created empty rpm package. At the moment only README file is included.
It's a base for further development.

This change integrates this project into OTC Tools continuous
integration system, which builds and installs every change, sent for
review to Gerrit.

Fixes: #1140
Change-Id: Ie9875b42c5a0dad85a72a2e0c2772c5070935878
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
Reviewed-on: https://otctools.jf.intel.com/review/5833
Tested-by: OTC Tools Tester <ed.bartosh@linux.intel.com>
Reviewed-by: Hasan Wan <hasan.wan@intel.com>
packaging/repa.changes [new file with mode: 0644]
packaging/repa.spec [new file with mode: 0644]
setup.py [new file with mode: 0644]

diff --git a/packaging/repa.changes b/packaging/repa.changes
new file mode 100644 (file)
index 0000000..ecf9cbe
--- /dev/null
@@ -0,0 +1,5 @@
+-------------------------------------------------------------------
+Sat Aug 10 13:39:54 UTC 2013 - eduard.bartosh@intel.com
+
+- Initial packaging
+
diff --git a/packaging/repa.spec b/packaging/repa.spec
new file mode 100644 (file)
index 0000000..93f30fe
--- /dev/null
@@ -0,0 +1,38 @@
+Name:       repa
+Summary:    Release Engineering Process Assistant
+Version:    0.0.1
+%if 0%{?opensuse_bs}
+Release:    0.dev.<CI_CNT>.<B_CNT>
+%else
+Release:    0
+%endif
+Group:      Development/Tools/Building
+License:    GPL-2.0
+BuildArch:  noarch
+URL:        https://otctools.jf.intel.com/pm/projects/repa
+Source0:    %{name}_%{version}.tar.gz
+
+BuildRequires:  python-setuptools
+
+%description
+This tool is to assist release engineers to operate with submissions
+in easy and flexible manner
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+python ./setup.py build
+
+%install
+python ./setup.py install --root=%{buildroot} --prefix=%{_prefix}
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-,root,root,-)
+%{_prefix}/share/doc/packages/%{name}
+%{python_sitelib}/%{name}*egg-info
+
+%changelog
diff --git a/setup.py b/setup.py
new file mode 100644 (file)
index 0000000..a71ae15
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,20 @@
+#!/usr/bin/env python
+
+"""
+REPA: Release Engineering Process Assistant.
+
+Copyright (C) Intel Corporation 2013
+Licence: GPL version 2
+Author: Ed Bartosh <eduard.bartosh@intel.com>
+
+Setup module
+"""
+
+from setuptools import setup
+
+setup(name = "repa",
+      version = '0.0.1',
+      author = 'Ed Bartosh',
+      author_email = 'eduard.bartosh@intel.com',
+      data_files = [('/usr/share/doc/packages/repa/', ['README']),]
+)