[igor] Initial import

Fabian Deutsch fabiand at fedoraproject.org
Fri Apr 5 07:08:08 UTC 2013


commit 156e89e9b5c65bc83ca6afc4ed84deb30060f5a7
Author: Fabian Deutsch <fabiand at fedoraproject.org>
Date:   Fri Apr 5 09:04:49 2013 +0200

    Initial import
    
    Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>

 .gitignore |    1 +
 igor.spec  |   73 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources    |    1 +
 3 files changed, 75 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..fd593cd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/igor-0.3.0.tar.gz
diff --git a/igor.spec b/igor.spec
new file mode 100644
index 0000000..9c5d6eb
--- /dev/null
+++ b/igor.spec
@@ -0,0 +1,73 @@
+%define gitorious_name ovirt-igord
+
+Name:      igor
+Version:   0.3.0
+Release:   3%{?dist}
+Summary:   Automated distribution life-cycle testing
+
+License:   LGPLv2
+Url:       http://www.gitorious.org/ovirt/igord
+# The source file beeing used can be retrieved using:
+# curl -o {name}-{version}.tar.gz http://www.gitorious.org/ovirt/igord/archive-tarball/{name}-{version}
+Source0:   %{name}-%{version}.tar.gz
+Group:     Development/Libraries
+BuildArch: noarch
+
+BuildRequires: python2-devel
+BuildRequires: systemd-units
+
+Requires(post): systemd
+Requires(preun): systemd
+Requires(postun): systemd
+
+
+%description
+Igor is a small daemon to continuous automated testing of PXE based Linux
+distributions with cobbler, libvirt and real hardware.
+It is intended to be combined with Jenkins and to test oVirt Node.
+
+
+%prep
+%setup -n %{gitorious_name}
+
+
+%build
+%{__python} setup.py build
+
+
+%install
+%{__python} setup.py install --root=%{buildroot}
+
+# Make some scripts executable to silence rpmlint
+chmod a+x %{buildroot}/%{python_sitelib}/%{name}/data/*.sh
+
+
+%post
+%systemd_post igord.service
+
+
+%preun
+%systemd_preun igord.service
+
+
+%files
+%doc README.txt
+%config(noreplace) %{_sysconfdir}/igord/igord.cfg.example
+%{python_sitelib}/%{name}
+%{python_sitelib}/%{name}*.egg-info
+%{_bindir}/igord
+%{_unitdir}/igord.service
+
+
+%changelog
+* Wed Apr 03 2013 Fabian Deutsch <fabiand at fedoraproject.org> - 0.3.0-3
+- Remove clean
+- Specify python version
+- Remove CFLAGS in build
+
+
+* Wed Apr 03 2013 Fabian Deutsch <fabiand at fedoraproject.org> - 0.3.0-2
+- Add systemd macros
+
+* Wed Apr 03 2013 Fabian Deutsch <fabiand at fedoraproject.org> - 0.3.0-1
+- Initial package
diff --git a/sources b/sources
index e69de29..ebf256f 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+8188dca40bdb4d69cc2f3889de840b2e  igor-0.3.0.tar.gz


More information about the scm-commits mailing list