[python-django-helpdesk] import new spec and tar
Luis Enrique Bazán De León
lbazan at fedoraproject.org
Mon Oct 1 13:23:45 UTC 2012
commit 886d8feebc1dd703680468d20d3b50cd1f9c6871
Author: Luis Bazan <lbazan at fedoraproject.org>
Date: Mon Oct 1 08:25:14 2012 -0500
import new spec and tar
.gitignore | 1 +
python-django-helpdesk.spec | 83 +++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 85 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..2bc07e9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/django-helpdesk-0.1.7b.tar.gz
diff --git a/python-django-helpdesk.spec b/python-django-helpdesk.spec
new file mode 100644
index 0000000..6077d92
--- /dev/null
+++ b/python-django-helpdesk.spec
@@ -0,0 +1,83 @@
+%global pkgname django-helpdesk
+
+Name: python-django-helpdesk
+Version: 0.1.7b
+Release: 3%{?dist}
+Summary: A Django powered ticket tracker for small enterprise
+
+Group: Development/Languages
+License: BSD
+URL: https://github.com/rossp/django-helpdesk
+Source0: http://pypi.python.org/packages/source/d/%{pkgname}/%{pkgname}-%{version}.tar.gz
+
+BuildArch: noarch
+BuildRequires: python2-devel
+BuildRequires: python-setuptools
+
+
+%if 0%{?fedora} >= 18
+Requires: python-django
+BuildRequires: python-django
+%else
+Requires: Django
+BuildRequires: Django
+%endif
+
+
+%description
+
+Django-helpdesk - A Django powered ticket tracker for small enterprise.
+
+Copyright 2009-11 Jutda and Ross Poulton. All Rights Reserved. See LICENSE
+for details.
+
+django-helpdesk was formerly known as Jutda Helpdesk, named after the
+company who originally created it. As of January 2011 the name has been
+changed to reflect what it really is: a Django-powered ticket tracker
+with contributors reaching far beyond Jutda.
+
+Complete documentation is available in the docs/ directory, or online
+at http://django-helpdesk.readthedocs.org/.
+
+You can see a demo installation at http://django-helpdesk-demo.herokuapp.com/
+
+%prep
+%setup -q -n %{pkgname}-%{version}
+rm -rf %{pkgname}.egg-info
+rm -rf helpdesk/management/commands/*.py
+rm -rf helpdesk/static/helpdesk/helpdesk-print.css
+
+%build
+python setup.py build
+
+%install
+python setup.py install -O1 --skip-build --root %{buildroot}
+
+# Handling locale files
+# This is adapted from the %%find_lang macro, which cannot be directly
+# used since Django locale files are not located in %%{_datadir}
+#
+# The rest of the packaging guideline still apply -- do not list
+# locale files by hand!
+(cd %{buildroot} && find . -name 'django*.mo') | %{__sed} -e 's|^.||' |
+%{__sed} -e \
+ 's:\(.*/locale/\)\([^/_]\+\)\(.*\.mo$\):%lang(\2) \1\2\3:' \
+ >> %{pkgname}.lang
+
+%check
+python setup.py test
+
+%files -f %{pkgname}.lang
+%doc LICENSE.3RDPARTY LICENSE
+%{python_sitelib}/helpdesk
+%{python_sitelib}/django_helpdesk-*.egg-info
+
+%changelog
+* Fri Sep 28 2012 Luis Bazan <lbazan at fedoraproject.org> - 0.1.7b-3
+- Fix BZ 858025 comment 3
+
+* Wed Sep 26 2012 Luis Bazan <lbazan at fedoraproject.org> - 0.1.7b-2
+- Fix BZ 858025 comment 2
+
+* Mon Sep 17 2012 Luis Bazan <lbazan at fedoraproject.org> - 0.1.7b-1
+- Initial Import
diff --git a/sources b/sources
index e69de29..a8e0d7a 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+3cd4a074c614726a5b1f41f407c698d4 django-helpdesk-0.1.7b.tar.gz
More information about the scm-commits
mailing list