[python-ctrldaemon] Initial Import (#991836)

Yohan Graterol yograterol at fedoraproject.org
Fri Aug 9 01:54:50 UTC 2013


commit 89ac2088ca16a85d46099b8ae00f239adc72a498
Author: Yohan Graterol <yohangraterol92 at gmail.com>
Date:   Thu Aug 8 21:24:38 2013 -0430

    Initial Import (#991836)

 .gitignore             |    1 +
 python-ctrldaemon.spec |   48 ++++++++++++++++++++++++++++++++++++++++++++++++
 sources                |    1 +
 3 files changed, 50 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..9037c02 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/python-ctrldaemon-0.2-d94e946.tar.gz
diff --git a/python-ctrldaemon.spec b/python-ctrldaemon.spec
new file mode 100644
index 0000000..c925049
--- /dev/null
+++ b/python-ctrldaemon.spec
@@ -0,0 +1,48 @@
+%global commit d94e946759226febab2744d336c2ccca73abce3d
+%global shortcommit %(c=%{commit}; echo ${c:0:7})
+
+Name:           python-ctrldaemon
+Version:        0.2
+Release:        1%{?dist}
+Summary:        Service command wrapper for Python
+
+License:        BSD
+URL:            https://github.com/yograterol/python-ctrldaemon
+Source0:        https://github.com/yograterol/python-ctrldaemon/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz
+
+BuildArch:      noarch
+BuildRequires:  python2-devel
+BuildRequires:  python-setuptools
+BuildRequires:  python-psutil
+#ONLY for TEST
+#BuildRequires:  python-nose
+#BuildRequires:  httpd
+
+%description
+Service command wrapper for Python
+
+%prep
+%setup -qn %{name}-%{commit}
+find -name '*egg-info' | xargs rm -rf
+
+%build
+%{__python} setup.py build
+
+%install
+%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+
+#%%check
+#Need ROOT privileges
+#export PYTHONPATH=%%{python_sitelib}
+#%%{__python} setup.py test
+
+%files
+%doc README.md LICENSE
+%{python_sitelib}/ctrldaemon
+%{python_sitelib}/ctrldaemon-%{version}-*.egg-info
+
+%changelog
+* Thu Aug 8 2013 Yohan Graterol <yohangraterol92 at gmail.com> - 0.2-1
+- Changed version
+* Sun Aug 4 2013 Yohan Graterol <yohangraterol92 at gmail.com> - 0.1-1
+- Initial Packaging
\ No newline at end of file
diff --git a/sources b/sources
index e69de29..988d6aa 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+e9897941a71010b9b9cb534f8d25121b  python-ctrldaemon-0.2-d94e946.tar.gz


More information about the scm-commits mailing list