7d42a3c
%global pypi_name django-helpdesk
c0f250e
24bd6bc
Name:           python-%{pypi_name}
b32825e
Version:        0.2.9
c0f250e
Release:        1%{?dist}
c0f250e
Summary:        A Django powered ticket tracker for small enterprise
c0f250e
c0f250e
License:        BSD
24bd6bc
URL:            https://github.com/django-helpdesk/%{pypi_name}
5951aed
Source0:        https://pypi.python.org/packages/source/d/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
c0f250e
c0f250e
BuildArch:      noarch
c0f250e
c0f250e
%description
c0f250e
c0f250e
Django-helpdesk - A Django powered ticket tracker for small enterprise.
c0f250e
c0f250e
Copyright 2009-11 Jutda and Ross Poulton. All Rights Reserved. See LICENSE
c0f250e
for details.
c0f250e
c0f250e
django-helpdesk was formerly known as Jutda Helpdesk, named after the
c0f250e
company who originally created it. As of January 2011 the name has been
c0f250e
changed to reflect what it really is: a Django-powered ticket tracker
c0f250e
with contributors reaching far beyond Jutda.
c0f250e
c0f250e
Complete documentation is available in the docs/ directory, or online
c0f250e
at http://django-helpdesk.readthedocs.org/.
c0f250e
c0f250e
You can see a demo installation at http://django-helpdesk-demo.herokuapp.com/.
c0f250e
62e0e2e
%package -n python3-%{pypi_name}
24bd6bc
24bd6bc
Summary:        %{summary} - Python 3 version
c0f250e
c0f250e
BuildRequires:  python3-devel
c0f250e
BuildRequires:  python3-setuptools
c0f250e
BuildRequires:  python3-pytz
c0f250e
BuildRequires:  python3-simplejson
c0f250e
Requires:       python3-django
c0f250e
BuildRequires:  python3-django
c0f250e
109d8f2
Obsoletes:      python-%{pypi_name} < 0.2.1-2
109d8f2
Obsoletes:      python2-%{pypi_name} < 0.2.1-2
109d8f2
62e0e2e
%{?python_provide:%python_provide python3-%{pypi_name}}
c0f250e
109d8f2
%description -n python3-%{pypi_name}
c0f250e
c0f250e
Django-helpdesk - A Django powered ticket tracker for small enterprise.
c0f250e
c0f250e
Copyright 2009-11 Jutda and Ross Poulton. All Rights Reserved. See LICENSE
c0f250e
for details.
c0f250e
c0f250e
django-helpdesk was formerly known as Jutda Helpdesk, named after the
c0f250e
company who originally created it. As of January 2011 the name has been
c0f250e
changed to reflect what it really is: a Django-powered ticket tracker
c0f250e
with contributors reaching far beyond Jutda.
c0f250e
c0f250e
Complete documentation is available in the docs/ directory, or online
c0f250e
at http://django-helpdesk.readthedocs.org/.
c0f250e
c0f250e
You can see a demo installation at http://django-helpdesk-demo.herokuapp.com/.
c0f250e
7d93924
This package provides Python 3 build of %{pypi_name}.
c0f250e
c0f250e
%prep
24bd6bc
%autosetup -n %{pypi_name}-%{version}
ec811c2
rm -rf %{pypi_name}.egg-info
c0f250e
rm -rf helpdesk/management/commands/*.py
c0f250e
rm -rf helpdesk/static/helpdesk/helpdesk-print.css
c0f250e
c0f250e
%build
c0f250e
%py3_build
c0f250e
c0f250e
%install
c0f250e
%py3_install
c0f250e
c0f250e
# Handling locale files
c0f250e
# This is adapted from the %%find_lang macro, which cannot be directly
c0f250e
# used since Django locale files are not located in %%{_datadir}
c0f250e
#
c0f250e
# The rest of the packaging guideline still apply -- do not list
c0f250e
# locale files by hand!
c0f250e
(cd %{buildroot} && find .%{python3_sitelib} -name 'django*.mo') | %{__sed} -e 's|^.||' |
c0f250e
%{__sed} -e \
c0f250e
   's:\(.*/locale/\)\([^/_]\+\)\(.*\.mo$\):%lang(\2) \1\2\3:' \
ec811c2
   >> python3-%{pypi_name}.lang
c0f250e
62e0e2e
%files -f python3-%{pypi_name}.lang -n python3-%{pypi_name}
c0f250e
%license LICENSE.3RDPARTY LICENSE
c0f250e
%doc README.rst
c0f250e
%{python3_sitelib}/helpdesk
c0f250e
%{python3_sitelib}/django_helpdesk-*.egg-info
c0f250e
c0f250e
%changelog
b32825e
* Wed Jul 25 2018 Luis Bazan <lbazan@fedoraproject.org> - 0.2.9-1
b32825e
- New upstream version
b32825e
- Fixes a javascript bug where the date formatting was incorrect
b32825e
8d8768e
* Fri Jul 13 2018 Luis Bazan <lbazan@fedoraproject.org> - 0.2.8-1
8d8768e
- New upstream version
8d8768e
c0f250e
* Wed Apr 18 2018 Luis Bazan <lbazan@fedoraproject.org> - 0.2.7-1
c0f250e
- new upstream version
49a8569
- change to use python3
c0f250e
c0f250e
* Tue Nov 21 2017 Luis Bazan <lbazan@fedoraproject.org> - 0.2.1-1
c0f250e
- new upstream version
c0f250e
c0f250e
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.18-4
c0f250e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
c0f250e
c0f250e
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.18-3
c0f250e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
c0f250e
c0f250e
* Mon Dec 19 2016 Miro HronĨok <mhroncok@redhat.com> - 0.1.18-2
c0f250e
- Rebuild for Python 3.6
c0f250e
c0f250e
* Wed Nov 9 2016 Jan Beran <jberan@redhat.com> - 0.1.18-1
c0f250e
- update to patched version 0.1.18
c0f250e
- source update
c0f250e
- modernized specfile with Python 3 packaging
c0f250e
c0f250e
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.12-7
c0f250e
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
c0f250e
c0f250e
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.12-6
c0f250e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
c0f250e
c0f250e
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.12-5
c0f250e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
c0f250e
c0f250e
* Wed Oct 22 2014 Luis Bazan <lbazan@fedoraproject.org> - 0.1.12-4
c0f250e
- clean spec
c0f250e
c0f250e
* Fri Sep 19 2014 Luis Bazan <lbazan@fedoraproject.org> - 0.1.12-3
c0f250e
- rebuild simplejson
c0f250e
c0f250e
* Fri Sep 19 2014 Luis Bazan <lbazan@fedoraproject.org> - 0.1.12-2
c0f250e
- add python-simplejson 
c0f250e
c0f250e
* Sat Aug 09 2014 Luis Bazan <lbazan@fedoraproject.org> - 0.1.12-1
c0f250e
- New Upstream version
c0f250e
c0f250e
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.11-2
c0f250e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
c0f250e
c0f250e
* Thu Oct 24 2013 Luis Bazan <lbazan@fedoraproject.org> - 0.1.11-1
c0f250e
- New Upstream version
c0f250e
- remove some lines no more necessary
c0f250e
c0f250e
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.8-5
c0f250e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
c0f250e
c0f250e
* Tue May 07 2013 Matthias Runge <mrunge@redhat.com> - 0.1.8-4
c0f250e
- requires/buildrequires python-django14
c0f250e
c0f250e
* Wed Mar 27 2013 Luis Bazan <lbazan@fedoraproject.org> - 0.1.8-3
c0f250e
- add python macro 
c0f250e
c0f250e
* Mon Feb 18 2013 Luis Bazan <lbazan@fedoraproject.org> - 0.1.8-2
c0f250e
- Add pytz
c0f250e
c0f250e
* Fri Feb 15 2013 Luis Bazan <lbazan@fedoraproject.org> - 0.1.8-1
c0f250e
- New Upstream Version
c0f250e
c0f250e
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.7b-4
c0f250e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
c0f250e
c0f250e
* Fri Sep 28 2012 Luis Bazan <lbazan@fedoraproject.org> - 0.1.7b-3
c0f250e
- Fix BZ 858025 comment 3
c0f250e
 
c0f250e
* Wed Sep 26 2012 Luis Bazan <lbazan@fedoraproject.org> - 0.1.7b-2
c0f250e
- Fix BZ 858025 comment 2
c0f250e
c0f250e
* Mon Sep 17 2012 Luis Bazan <lbazan@fedoraproject.org> - 0.1.7b-1
c0f250e
- Initial Import