[trac-agilo-plugin] Initial commit

Karel Klíč kklic at fedoraproject.org
Fri Mar 30 13:15:15 UTC 2012


commit 3a00333867a32e7b6d20f2ba01dd89cf8517c488
Author: Karel Klic <kklic at redhat.com>
Date:   Fri Mar 30 15:15:59 2012 +0200

    Initial commit

 .gitignore             |    1 +
 sources                |    1 +
 trac-agilo-plugin.spec |   72 ++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 74 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..e5c743c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/agilo_source.tar.gz
diff --git a/sources b/sources
index e69de29..f121638 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+fe527f0b0a2391394e4c7139b8718dae  agilo_source.tar.gz
diff --git a/trac-agilo-plugin.spec b/trac-agilo-plugin.spec
new file mode 100644
index 0000000..2bcfa22
--- /dev/null
+++ b/trac-agilo-plugin.spec
@@ -0,0 +1,72 @@
+Name: trac-agilo-plugin
+Version: 0.9.7
+Release: 2%{?dist}
+Summary: A plugin for supporting the Scrum process in Trac
+License: ASL 2.0
+URL: http://www.agilofortrac.com/
+# Requires login, then downloaded from
+# http://www.agilofortrac.com/en/download/agilo_source.tar.gz/
+Source0: agilo_source.tar.gz
+BuildRequires: python-devel python-setuptools
+BuildRequires: trac python-genshi python-windmill python-twill
+Requires: trac python-genshi
+BuildArch: noarch
+
+%description
+Agilo for Trac is a simple and straightforward tool to support the
+Scrum process.
+
+%prep
+%setup -q -n agilo-%{version}
+
+chmod -x agilo/htdocs/js/lib/jquery-ui-1.7.2.custom.min.js
+chmod -x agilo/htdocs/js/lib/jquery.metadata.js
+
+%build
+%{__python} setup.py build
+
+# Disable tests for now. More work on them is required, many tests fail.
+#
+#%%check
+#cp -rv %%{python_sitelib}/trac .
+#cp -rv %%{python_sitelib}/tracopt .
+#cp -rv %%{_defaultdocdir}/trac-`rpm -q --queryformat "%%{VERSION}" trac`/contrib .
+#PYTHONPATH=trac:%%{buildroot}%%{python_sitelib}:$PYTHONPATH %%{__python} setup.py test
+
+%install
+%{__python} setup.py install -O1 --root %{buildroot}
+
+for f in {agilo_sqlite2pg,agilo_svn_hook_commit,create_agilo_project}
+do
+  mv %{buildroot}%{_bindir}/$f.py %{buildroot}%{_bindir}/$f
+  sed -i '1i\#!/usr/bin/python' %{buildroot}%{_bindir}/$f
+done
+
+chmod +x %{buildroot}%{python_sitelib}/agilo/ticket/links/tests/__init__.py
+chmod +x %{buildroot}%{python_sitelib}/agilo/ticket/tests/linked_agilotickets_test.py
+chmod +x %{buildroot}%{python_sitelib}/agilo/ticket/links/tests/operators_for_calculated_properties_test.py
+chmod +x %{buildroot}%{python_sitelib}/agilo/ticket/links/functional_tests/link_permission_test.py
+chmod +x %{buildroot}%{python_sitelib}/agilo/ticket/tests/agilomilestone_test.py
+chmod +x %{buildroot}%{python_sitelib}/agilo/ticket/links/search.py
+chmod +x %{buildroot}%{python_sitelib}/agilo/ticket/tests/renderers_test.py
+chmod +x %{buildroot}%{python_sitelib}/agilo/utils/simple_super.py
+chmod +x %{buildroot}%{python_sitelib}/agilo/ticket/links/tests/search_links_test.py
+chmod +x %{buildroot}%{python_sitelib}/agilo/ticket/tests/agiloticket_test.py
+
+%files
+%doc CHANGES.txt
+%{_bindir}/agilo_sqlite2pg
+%{_bindir}/agilo_svn_hook_commit
+%{_bindir}/create_agilo_project
+%{python_sitelib}/*
+
+%changelog
+* Wed Mar 28 2012 Karel Klíč <kklic at redhat.com> - 0.9.7-2
+- Commented macros changed to %%
+
+* Mon Mar 19 2012 Karel Klíč <kklic at redhat.com> - 0.9.7-1
+- Update to the newest upstream release
+
+* Mon Jan  2 2012 Karel Klíč <kklic at redhat.com> - 0.9.5-1
+- Initial packaging
+


More information about the scm-commits mailing list