|
|
945607 |
%global pypi_name XStatic-Hogan
|
|
|
945607 |
|
|
|
945607 |
Name: python-%{pypi_name}
|
|
|
945607 |
Version: 2.0.0.2
|
|
|
945607 |
Release: 21%{?dist}
|
|
|
945607 |
Summary: Hogan (XStatic packaging standard)
|
|
|
945607 |
|
|
|
945607 |
License: ASL 2.0
|
|
|
945607 |
URL: http://twitter.github.io/hogan.js/
|
|
|
945607 |
Source0: https://files.pythonhosted.org/packages/source/X/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
|
|
|
945607 |
BuildArch: noarch
|
|
|
945607 |
|
|
|
945607 |
%description
|
|
|
945607 |
JavaScript library packaged for setuptools (easy_install) / pip.
|
|
|
945607 |
|
|
|
945607 |
This package is intended to be used by any project that needs these files.
|
|
|
945607 |
|
|
|
945607 |
It intentionally does not provide any extra code except some metadata
|
|
|
945607 |
nor has any extra requirements.
|
|
|
945607 |
|
|
|
945607 |
%package -n python3-%{pypi_name}
|
|
|
945607 |
Summary: %{summary}
|
|
|
945607 |
|
|
|
945607 |
BuildRequires: python3-devel
|
|
|
945607 |
BuildRequires: python3-setuptools
|
|
|
945607 |
|
|
|
945607 |
Requires: python3-XStatic
|
|
|
945607 |
Requires: xstatic-hogan-common
|
|
|
945607 |
|
|
|
945607 |
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
|
945607 |
|
|
|
945607 |
%description -n python3-%{pypi_name}
|
|
|
945607 |
JavaScript library packaged for setuptools (easy_install) / pip.
|
|
|
945607 |
|
|
|
945607 |
This package is intended to be used by any project that needs these files.
|
|
|
945607 |
|
|
|
945607 |
It intentionally does not provide any extra code except some metadata
|
|
|
945607 |
nor has any extra requirements.
|
|
|
945607 |
|
|
|
945607 |
This package provides Python 3 build of %{pypi_name}.
|
|
|
945607 |
|
|
|
945607 |
%package -n xstatic-hogan-common
|
|
|
945607 |
Summary: %{summary}
|
|
|
945607 |
|
|
|
945607 |
BuildRequires: web-assets-devel
|
|
|
945607 |
Requires: web-assets-filesystem
|
|
|
945607 |
|
|
|
945607 |
%description -n xstatic-hogan-common
|
|
|
945607 |
JavaScript library packaged for setuptools (easy_install) / pip.
|
|
|
945607 |
|
|
|
945607 |
This package is intended to be used by any project that needs these files.
|
|
|
945607 |
|
|
|
945607 |
It intentionally does not provide any extra code except some metadata
|
|
|
945607 |
nor has any extra requirements.
|
|
|
945607 |
|
|
|
945607 |
This package contains the javascript files.
|
|
|
945607 |
|
|
|
945607 |
%prep
|
|
|
945607 |
%autosetup -n %{pypi_name}-%{version}
|
|
|
945607 |
# patch to use webassets dir
|
|
|
945607 |
sed -i "s|^BASE_DIR = .*|BASE_DIR = '%{_jsdir}/hogan'|" xstatic/pkg/hogan/__init__.py
|
|
|
945607 |
|
|
|
945607 |
%build
|
|
|
945607 |
%py3_build
|
|
|
945607 |
|
|
|
945607 |
%install
|
|
|
945607 |
%py3_install
|
|
|
945607 |
|
|
|
945607 |
mkdir -p %{buildroot}%{_jsdir}/hogan
|
|
|
945607 |
mv %{buildroot}%{python3_sitelib}/xstatic/pkg/hogan/data/hogan.js %{buildroot}%{_jsdir}/hogan
|
|
|
945607 |
rmdir %{buildroot}%{python3_sitelib}/xstatic/pkg/hogan/data/
|
|
|
945607 |
# fix execute flags for js
|
|
|
945607 |
chmod 644 %{buildroot}%{_jsdir}/hogan/hogan.js
|
|
|
945607 |
|
|
|
945607 |
%files -n python3-%{pypi_name}
|
|
|
945607 |
%doc README.txt
|
|
|
945607 |
%{python3_sitelib}/xstatic/pkg/hogan
|
|
|
945607 |
%{python3_sitelib}/XStatic_Hogan-%{version}-py%{python3_version}.egg-info
|
|
|
945607 |
%{python3_sitelib}/XStatic_Hogan-%{version}-py%{python3_version}-nspkg.pth
|
|
|
945607 |
|
|
|
945607 |
%files -n xstatic-hogan-common
|
|
|
945607 |
%doc README.txt
|
|
|
945607 |
%{_jsdir}/hogan
|
|
|
945607 |
|
|
|
945607 |
%changelog
|
|
|
945607 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0.2-21
|
|
|
945607 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
945607 |
|
|
|
945607 |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0.2-20
|
|
|
945607 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
945607 |
|
|
|
945607 |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 2.0.0.2-19
|
|
|
945607 |
- Rebuilt for Python 3.9
|
|
|
945607 |
|
|
|
945607 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0.2-18
|
|
|
945607 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
945607 |
|
|
|
945607 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 2.0.0.2-17
|
|
|
945607 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
945607 |
|
|
|
945607 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 2.0.0.2-16
|
|
|
945607 |
- Rebuilt for Python 3.8
|
|
|
945607 |
|
|
|
945607 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0.2-15
|
|
|
945607 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
945607 |
|
|
|
945607 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0.2-14
|
|
|
945607 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
945607 |
|
|
|
945607 |
* Wed Oct 17 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.0.0.2-13
|
|
|
945607 |
- Subpackage python2-XStatic-Hogan has been removed
|
|
|
945607 |
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
|
|
945607 |
|
|
|
945607 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0.2-12
|
|
|
945607 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
945607 |
|
|
|
945607 |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 2.0.0.2-11
|
|
|
945607 |
- Rebuilt for Python 3.7
|
|
|
945607 |
|
|
|
945607 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0.2-10
|
|
|
945607 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
945607 |
|
|
|
945607 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0.2-9
|
|
|
945607 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
945607 |
|
|
|
945607 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0.2-8
|
|
|
945607 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
945607 |
|
|
|
945607 |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 2.0.0.2-7
|
|
|
945607 |
- Rebuild for Python 3.6
|
|
|
945607 |
|
|
|
945607 |
* Wed Oct 12 2016 Jan Beran <jberan@redhat.com> - 2.0.0.2-6
|
|
|
945607 |
- Provides a Python 3 subpackage
|
|
|
945607 |
|
|
|
945607 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0.2-5
|
|
|
945607 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
945607 |
|
|
|
945607 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0.2-4
|
|
|
945607 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
945607 |
|
|
|
945607 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0.2-3
|
|
|
945607 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
945607 |
|
|
|
945607 |
* Thu Sep 04 2014 Matthias Runge <mrunge@redhat.com> - 2.0.0.2-2
|
|
|
945607 |
- changed BR to python2-devel (rhbz#1134800)
|
|
|
945607 |
|
|
|
945607 |
* Thu Aug 28 2014 Matthias Runge <mrunge@redhat.com> - 2.0.0.2-1
|
|
|
945607 |
- Initial package.
|