From d6fdab711040b08b2e4b8ec19c9da84f44de25ea Mon Sep 17 00:00:00 2001 From: Luis Bazan Date: Oct 01 2012 16:04:00 +0000 Subject: initial import --- 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 - 0.1.7b-3 +- Fix BZ 858025 comment 3 + +* Wed Sep 26 2012 Luis Bazan - 0.1.7b-2 +- Fix BZ 858025 comment 2 + +* Mon Sep 17 2012 Luis Bazan - 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