a82a16e
%global pypi_name django-markdownx
a82a16e
a82a16e
Name:           python-%{pypi_name}
Luis Bazan 04f62e6
Version:        3.0.1
d27bc40
Release:        11%{?dist}
a82a16e
Summary:        A comprehensive Markdown editor built for Django
a82a16e
a82a16e
License:        BSD
a82a16e
URL:            https://github.com/neutronX/django-markdownx
a82a16e
Source0:        %{url}/archive/v%{version}/%{pypi_name}-%{version}.tar.gz
a82a16e
BuildArch:      noarch
a82a16e
 
a82a16e
BuildRequires:  python3-devel
a82a16e
BuildRequires:  python3dist(django)
a82a16e
BuildRequires:  python3dist(markdown)
a82a16e
BuildRequires:  python3dist(pillow)
a82a16e
BuildRequires:  python3dist(pip)
a82a16e
BuildRequires:  python3dist(setuptools)
a82a16e
a82a16e
%description
a82a16e
Django MarkdownX is a comprehensive Markdown plugin built for Django, 
a82a16e
the renowned high-level Python web framework, with flexibility, extensibility, 
a82a16e
and ease-of-use at its core.
a82a16e
a82a16e
%package -n     python3-%{pypi_name}
a82a16e
Summary:        %{summary}
a82a16e
%{?python_provide:%python_provide python3-%{pypi_name}}
a82a16e
 
a82a16e
Requires:       python3dist(django)
a82a16e
Requires:       python3dist(markdown)
a82a16e
Requires:       python3dist(pillow)
a82a16e
Requires:       python3dist(pip)
a82a16e
a82a16e
%description -n python3-%{pypi_name}
a82a16e
Django MarkdownX is a comprehensive Markdown plugin built for Django, 
a82a16e
the renowned high-level Python web framework, with flexibility, extensibility, 
a82a16e
and ease-of-use at its core.
a82a16e
a82a16e
%prep
a82a16e
%autosetup -n %{pypi_name}-%{version}
a82a16e
# Remove bundled egg-info
a82a16e
rm -rf %{pypi_name}.egg-info
a82a16e
a82a16e
rm -rf markdownx/static/.DS_Store
a82a16e
rm -rf markdownx/static/markdownx/.DS_Store
a82a16e
rm -rf markdownx/static/markdownx/admin/.DS_Store
a82a16e
rm -rf markdownx/templates/.DS_Store
a82a16e
rm -rf markdownx/templates/markdownx/.DS_Store
a82a16e
a82a16e
chmod 0644 README.rst
a82a16e
a82a16e
%build
a82a16e
%py3_build
a82a16e
a82a16e
%install
a82a16e
%py3_install
a82a16e
a82a16e
%find_lang django
a82a16e
%files -n python3-%{pypi_name} -f django.lang
a82a16e
%license LICENSE
a82a16e
%doc README.rst
a82a16e
%{python3_sitelib}/markdownx
a82a16e
%exclude %{python3_sitelib}/markdownx/locale
dbbcfae
%{python3_sitelib}/django_markdownx-%{version}-py%{python3_version}.egg-info
a82a16e
a82a16e
%changelog
d27bc40
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.1-11
d27bc40
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
d27bc40
8df1c3f
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.1-10
8df1c3f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
8df1c3f
390b62e
* Tue Jun 14 2022 Python Maint <python-maint@redhat.com> - 3.0.1-9
390b62e
- Rebuilt for Python 3.11
390b62e
103abe5
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.1-8
103abe5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
103abe5
c28b311
* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.1-7
c28b311
- Second attempt - Rebuilt for
c28b311
  https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
c28b311
d4f49b1
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 3.0.1-6
d4f49b1
- Rebuilt for Python 3.10
d4f49b1
2cf9e28
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.1-5
2cf9e28
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
2cf9e28
6d4a62d
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.1-4
6d4a62d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
6d4a62d
d211ce2
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 3.0.1-3
d211ce2
- Rebuilt for Python 3.9
d211ce2
ac71023
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.1-2
ac71023
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
ac71023
Luis Bazan 04f62e6
* Fri Jan 10 2020 Luis Bazan <lbazan@fedoraproject.org> - 3.0.1-1
Luis Bazan 04f62e6
- New upstream version
Luis Bazan 04f62e6
3a77b88
* Fri Dec 27 2019 Luis Bazan <lbazan@fedoraproject.org> - 3.0.0-1
3a77b88
- New upstream version
3a77b88
7106ba9
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 2.0.28-4
7106ba9
- Rebuilt for Python 3.8.0rc1 (#1748018)
7106ba9
39016c7
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 2.0.28-3
39016c7
- Rebuilt for Python 3.8
39016c7
c50c125
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.28-2
c50c125
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
c50c125
a82a16e
* Tue Dec 11 2018 Luis Bazan <lbazan@fedoraproject.org> - 2.0.28-1
a82a16e
- Initial release