[python-tgscheduler] Initial import (#816014)

Ralph Bean ralph at fedoraproject.org
Fri May 4 15:07:30 UTC 2012


commit da6ece37825551ba546363436aba682bbcb5141f
Author: Ralph Bean <rbean at redhat.com>
Date:   Fri May 4 11:07:22 2012 -0400

    Initial import (#816014)

 .gitignore              |    1 +
 python-tgscheduler.spec |   66 +++++++++++++++++++++++++++++++++++++++++++++++
 sources                 |    1 +
 3 files changed, 68 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..8e49823 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/TGScheduler-1.6.3.tar.gz
diff --git a/python-tgscheduler.spec b/python-tgscheduler.spec
new file mode 100644
index 0000000..dc012ef
--- /dev/null
+++ b/python-tgscheduler.spec
@@ -0,0 +1,66 @@
+%global modname TGScheduler
+
+Name:             python-tgscheduler
+Version:          1.6.3
+Release:          4%{?dist}
+Summary:          Turbogears2 Scheduler
+
+Group:            Development/Languages
+License:          MIT
+URL:              http://pypi.python.org/pypi/%{modname}
+Source0:          http://pypi.python.org/packages/source/T/%{modname}/%{modname}-%{version}.tar.gz
+
+BuildArch:        noarch
+
+
+BuildRequires:    python2-devel
+BuildRequires:    python-setuptools
+%if %{?rhel}%{!?rhel:0} >= 6
+BuildRequires:    python-dateutil15
+%else
+BuildRequires:    python-dateutil
+%endif
+
+%if %{?rhel}%{!?rhel:0} >= 6
+Requires:    python-dateutil15
+%else
+Requires:    python-dateutil
+%endif
+
+%description
+This scheduler package is based on the TurboGears 1 built-in scheduler
+which is based on Kronos by Irmen de Jong. The scheduler makes it easy to
+have one-time or recurring tasks run as needed.
+
+%prep
+%setup -q -n %{modname}-%{version}
+%{__rm} -rf TGScheduler.egg-info
+
+%build
+%{__python} setup.py build 
+
+%install
+%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+
+%check
+%{__python} setup.py test
+
+%files
+%doc
+
+%{python_sitelib}/tgscheduler
+%{python_sitelib}/%{modname}-%{version}-*.egg-info
+
+%changelog
+* Fri Apr 27 2012 Ralph Bean <rbean at redhat.com> - 1.6.3-4
+- Changed files section to include dirs, not just files.
+
+* Thu Apr 26 2012 Ralph Bean <rbean at redhat.com> - 1.6.3-3
+- A little more specific in the files section
+- Removed bundled egg-info in the prep section
+
+* Wed Apr 25 2012 Ralph Bean <rbean at redhat.com> - 1.6.3-2
+- Require python-dateutil15 on epel
+
+* Wed Apr 25 2012 Ralph Bean <rbean at redhat.com> - 1.6.3-1
+- initial package for Fedora
diff --git a/sources b/sources
index e69de29..668cc6d 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+377a75be965cf488678a4ffe2780edfb  TGScheduler-1.6.3.tar.gz


More information about the scm-commits mailing list