|
|
f50daca |
%global pypi_name XStatic-term.js
|
|
|
97aef4a |
%global pkgname XStatic-termjs
|
|
|
f50daca |
|
|
|
97aef4a |
Name: python-%{pkgname}
|
|
Radomir Dopieralski |
31b9e78 |
Version: 0.0.7.0
|
|
|
5f566cf |
Release: 23%{?dist}
|
|
|
f50daca |
Summary: term.js (XStatic packaging standard)
|
|
|
f50daca |
|
|
|
f50daca |
License: MIT
|
|
|
f50daca |
URL: https://github.com/chjj/term.js
|
|
|
97aef4a |
Source0: https://files.pythonhosted.org/packages/source/X/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
|
|
|
f50daca |
BuildArch: noarch
|
|
|
f50daca |
|
|
|
97aef4a |
%description
|
|
|
97aef4a |
JavaScript library packaged for setuptools (easy_install) / pip.
|
|
|
97aef4a |
|
|
|
97aef4a |
This package is intended to be used by any project that needs these files.
|
|
|
97aef4a |
|
|
|
97aef4a |
It intentionally does not provide any extra code except some metadata
|
|
|
97aef4a |
nor has any extra requirements.
|
|
|
97aef4a |
|
|
|
97aef4a |
%package -n python3-%{pkgname}
|
|
|
97aef4a |
Summary: %{summary}
|
|
|
f50daca |
|
|
|
97aef4a |
BuildRequires: python3-devel
|
|
|
97aef4a |
BuildRequires: python3-setuptools
|
|
|
f50daca |
|
|
|
97aef4a |
Requires: python3-XStatic
|
|
|
97aef4a |
Requires: xstatic-termjs-common
|
|
|
f50daca |
|
|
|
97aef4a |
%{?python_provide:%python_provide python3-%{pkgname}}
|
|
|
f50daca |
|
|
|
97aef4a |
%description -n python3-%{pkgname}
|
|
|
97aef4a |
JavaScript library packaged for setuptools (easy_install) / pip.
|
|
|
97aef4a |
|
|
|
97aef4a |
This package is intended to be used by any project that needs these files.
|
|
|
97aef4a |
|
|
|
97aef4a |
It intentionally does not provide any extra code except some metadata
|
|
|
97aef4a |
nor has any extra requirements.
|
|
|
97aef4a |
|
|
|
97aef4a |
This package provides Python 3 build of %{pkgname}.
|
|
|
f50daca |
|
|
|
97aef4a |
%package -n xstatic-termjs-common
|
|
|
97aef4a |
Summary: %{summary}
|
|
|
f50daca |
|
|
|
97aef4a |
BuildRequires: web-assets-devel
|
|
|
97aef4a |
Requires: web-assets-filesystem
|
|
|
97aef4a |
|
|
|
97aef4a |
%description -n xstatic-termjs-common
|
|
|
97aef4a |
JavaScript library packaged for setuptools (easy_install) / pip.
|
|
|
97aef4a |
|
|
|
97aef4a |
This package is intended to be used by any project that needs these files.
|
|
|
97aef4a |
|
|
|
97aef4a |
It intentionally does not provide any extra code except some metadata
|
|
|
97aef4a |
nor has any extra requirements.
|
|
|
97aef4a |
|
|
|
97aef4a |
This package contains the javascript files.
|
|
|
97aef4a |
|
|
|
97aef4a |
%prep
|
|
|
97aef4a |
%autosetup -n %{pypi_name}-%{version}
|
|
|
97aef4a |
# patch to use webassets dir
|
|
|
97aef4a |
sed -i "s|^BASE_DIR = .*|BASE_DIR = '%{_jsdir}/termjs'|" xstatic/pkg/termjs/__init__.py
|
|
|
97aef4a |
|
|
|
97aef4a |
%build
|
|
|
97aef4a |
%py3_build
|
|
|
f50daca |
|
|
|
97aef4a |
%install
|
|
|
808356b |
%py3_install
|
|
|
97aef4a |
mkdir -p %{buildroot}%{_jsdir}/termjs
|
|
|
808356b |
mv %{buildroot}%{python3_sitelib}/xstatic/pkg/termjs/data/term.js %{buildroot}%{_jsdir}/termjs
|
|
|
808356b |
rmdir %{buildroot}%{python3_sitelib}/xstatic/pkg/termjs/data/
|
|
|
97aef4a |
# fix execute flags for js
|
|
|
97aef4a |
chmod 644 %{buildroot}%{_jsdir}/termjs/term.js
|
|
|
97aef4a |
|
|
|
97aef4a |
%files -n python3-%{pkgname}
|
|
|
97aef4a |
%doc README.rst
|
|
|
97aef4a |
%{python3_sitelib}/xstatic/pkg/termjs
|
|
|
97aef4a |
%{python3_sitelib}/XStatic_term.js-%{version}-py%{python3_version}.egg-info
|
|
|
97aef4a |
%{python3_sitelib}/XStatic_term.js-%{version}-py%{python3_version}-nspkg.pth
|
|
|
97aef4a |
|
|
|
97aef4a |
%files -n xstatic-termjs-common
|
|
|
97aef4a |
%doc README.rst
|
|
|
f50daca |
%{_jsdir}/termjs
|
|
|
f50daca |
|
|
|
f50daca |
%changelog
|
|
|
5f566cf |
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.7.0-23
|
|
|
5f566cf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
5f566cf |
|
|
|
3fcf23d |
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.7.0-22
|
|
|
3fcf23d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
3fcf23d |
|
|
|
674486b |
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.7.0-21
|
|
|
674486b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
674486b |
|
|
|
4398968 |
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 0.0.7.0-20
|
|
|
4398968 |
- Rebuilt for Python 3.12
|
|
|
4398968 |
|
|
|
5ef35ad |
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.7.0-19
|
|
|
5ef35ad |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
5ef35ad |
|
|
|
21e1d4c |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.7.0-18
|
|
|
21e1d4c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
21e1d4c |
|
|
|
f0ca198 |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.0.7.0-17
|
|
|
f0ca198 |
- Rebuilt for Python 3.11
|
|
|
f0ca198 |
|
|
|
8baf111 |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.7.0-16
|
|
|
8baf111 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
8baf111 |
|
|
|
223cdf5 |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.7.0-15
|
|
|
223cdf5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
223cdf5 |
|
|
|
5461700 |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.0.7.0-14
|
|
|
5461700 |
- Rebuilt for Python 3.10
|
|
|
5461700 |
|
|
|
511ccbd |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.7.0-13
|
|
|
511ccbd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
511ccbd |
|
|
|
b849c80 |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.7.0-12
|
|
|
b849c80 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
b849c80 |
|
|
|
788ccbb |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.0.7.0-11
|
|
|
788ccbb |
- Rebuilt for Python 3.9
|
|
|
788ccbb |
|
|
|
b108d55 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.7.0-10
|
|
|
b108d55 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
b108d55 |
|
|
|
1264ae6 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.0.7.0-9
|
|
|
1264ae6 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
1264ae6 |
|
|
|
f25bfb5 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.0.7.0-8
|
|
|
f25bfb5 |
- Rebuilt for Python 3.8
|
|
|
f25bfb5 |
|
|
|
64c173e |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.7.0-7
|
|
|
64c173e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
64c173e |
|
|
|
8709e6f |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.7.0-6
|
|
|
8709e6f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
8709e6f |
|
|
|
808356b |
* Thu Oct 11 2018 Miro Hrončok <mhroncok@redhat.com> - 0.0.7.0-5
|
|
|
808356b |
- Python2 binary package has been removed
|
|
|
808356b |
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
|
|
808356b |
|
|
|
3efdb48 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.7.0-4
|
|
|
3efdb48 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
3efdb48 |
|
|
|
e2ae760 |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.0.7.0-3
|
|
|
e2ae760 |
- Rebuilt for Python 3.7
|
|
|
e2ae760 |
|
|
|
574f12f |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.7.0-2
|
|
|
574f12f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
574f12f |
|
|
|
5ee18e0 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.7.0-1
|
|
|
5ee18e0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
5ee18e0 |
|
|
|
d7158ee |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.4.2-7
|
|
|
d7158ee |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
d7158ee |
|
|
|
ef57d7e |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.0.4.2-6
|
|
|
ef57d7e |
- Rebuild for Python 3.6
|
|
|
ef57d7e |
|
|
|
97aef4a |
* Mon Oct 10 2016 Jan Beran <jberan@redhat.com> - 0.0.4.2-5
|
|
|
97aef4a |
- Provides a Python 3 subpackage
|
|
|
97aef4a |
|
|
|
57f7ff0 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.4.2-4
|
|
|
57f7ff0 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
57f7ff0 |
|
|
|
57f229a |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.4.2-3
|
|
|
57f229a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
57f229a |
|
|
|
dd001c1 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.4.2-2
|
|
|
dd001c1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
dd001c1 |
|
|
|
f50daca |
* Thu Feb 19 2015 Matthias Runge <mrunge@redhat.com> - 0.0.4.2-1
|
|
|
f50daca |
- Initial package (rhbz#1194225).
|