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