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