97e4955
%global shortname django-ipware
97e4955
Name:          python-%{shortname}
b32d694
Version:       4.0.2
b32d694
Release:       1%{?dist}
97e4955
Summary:       A Django application to retrieve client's IP address
97e4955
97e4955
License:       MIT
97e4955
URL:           https://github.com/un33k/%{shortname}/
97e4955
Source0:       https://github.com/un33k/%{shortname}/archive/%{version}.tar.gz#/%{shortname}-%{version}.tar.gz
97e4955
97e4955
BuildArch: noarch
97e4955
BuildRequires: python3-devel
97e4955
BuildRequires: python3-setuptools
933ecb9
BuildRequires: python3-django
97e4955
97e4955
%description
97e4955
A Django application to retrieve client's IP address.
97e4955
97e4955
%package -n python3-%{shortname}
97e4955
Summary:       A Django application to retrieve client's IP address
97e4955
%{?python_provide:%python_provide python3-%{shortname}}
97e4955
Requires:      python3-django
97e4955
97e4955
%description -n python3-%{shortname}
97e4955
A Django application to retrieve client's IP address.
97e4955
97e4955
%prep
97e4955
%autosetup -n %{shortname}-%{version} -p1
97e4955
97e4955
%build
97e4955
%py3_build
97e4955
97e4955
%install
97e4955
%py3_install
97e4955
97e4955
%check
97e4955
%{__python3} manage.py test
97e4955
97e4955
%files -n python3-%{shortname}
97e4955
%license LICENSE
97e4955
%{python3_sitelib}/ipware/
97e4955
%{python3_sitelib}/django_ipware*
97e4955
97e4955
%changelog
b32d694
* Sun Jun 12 2022 Peter Robinson <pbrobinson@fedoraproject.org> - 4.0.2-1
b32d694
- Update to 4.0.2
b32d694
cd8f200
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-9
cd8f200
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
cd8f200
3fddf40
* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-8
3fddf40
- Second attempt - Rebuilt for
3fddf40
  https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
3fddf40
7cf41ca
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 2.1.0-7
7cf41ca
- Rebuilt for Python 3.10
7cf41ca
6d71944
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-6
6d71944
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
6d71944
450c721
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-5
450c721
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
450c721
9861ef3
* Tue May 26 2020 Miro HronĨok <mhroncok@redhat.com> - 2.1.0-4
9861ef3
- Rebuilt for Python 3.9
9861ef3
58cdff4
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-3
58cdff4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
58cdff4
97e4955
* Thu Dec 12 2019 Peter Robinson <pbrobinson@fedoraproject.org> 2.1.0-2
97e4955
- Review updates
97e4955
97e4955
* Thu Dec 12 2019 Peter Robinson <pbrobinson@fedoraproject.org> 2.1.0-1
97e4955
- Initial package