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