|
|
64cd9e7 |
%global pypi_name XStatic-smart-table
|
|
|
64cd9e7 |
|
|
|
64cd9e7 |
Name: python-%{pypi_name}
|
|
Radomir Dopieralski |
764700e |
Version: 1.4.13.2
|
|
|
2969bc0 |
Release: 23%{?dist}
|
|
|
64cd9e7 |
Summary: smart-table (XStatic packaging standard)
|
|
|
64cd9e7 |
|
|
|
64cd9e7 |
License: MIT
|
|
|
64cd9e7 |
URL: https://github.com/lorenzofox3/Smart-Table
|
|
|
7271244 |
Source0: https://files.pythonhosted.org/packages/source/X/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
|
|
|
64cd9e7 |
BuildArch: noarch
|
|
|
7271244 |
|
|
|
7271244 |
%description
|
|
|
7271244 |
JavaScript library packaged for setuptools (easy_install) / pip.
|
|
|
7271244 |
|
|
|
7271244 |
This package is intended to be used by any project that needs these files.
|
|
|
7271244 |
|
|
|
7271244 |
It intentionally does not provide any extra code except some metadata
|
|
|
7271244 |
nor has any extra requirements.
|
|
|
7271244 |
|
|
|
7271244 |
%package -n python3-%{pypi_name}
|
|
|
7271244 |
Summary: %{summary}
|
|
|
7271244 |
|
|
|
7271244 |
BuildRequires: python3-devel
|
|
|
7271244 |
BuildRequires: python3-setuptools
|
|
|
7271244 |
|
|
|
7271244 |
Requires: python3-XStatic
|
|
|
7271244 |
Requires: xstatic-smart-table-common
|
|
|
7271244 |
|
|
|
7271244 |
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
|
7271244 |
|
|
|
7271244 |
%description -n python3-%{pypi_name}
|
|
|
7271244 |
JavaScript library packaged for setuptools (easy_install) / pip.
|
|
|
7271244 |
|
|
|
7271244 |
This package is intended to be used by any project that needs these files.
|
|
|
7271244 |
|
|
|
7271244 |
It intentionally does not provide any extra code except some metadata
|
|
|
7271244 |
nor has any extra requirements.
|
|
|
64cd9e7 |
|
|
|
7271244 |
This package provides Python 3 build of %{pypi_name}.
|
|
|
7271244 |
|
|
|
7271244 |
%package -n xstatic-smart-table-common
|
|
|
7271244 |
Summary: %{summary}
|
|
|
7271244 |
|
|
|
7271244 |
BuildRequires: web-assets-devel
|
|
|
7271244 |
Requires: web-assets-filesystem
|
|
|
7271244 |
|
|
|
7271244 |
%description -n xstatic-smart-table-common
|
|
|
7271244 |
JavaScript library packaged for setuptools (easy_install) / pip.
|
|
|
7271244 |
|
|
|
7271244 |
This package is intended to be used by any project that needs these files.
|
|
|
7271244 |
|
|
|
7271244 |
It intentionally does not provide any extra code except some metadata
|
|
|
7271244 |
nor has any extra requirements.
|
|
|
7271244 |
|
|
|
7271244 |
This package contains the javascript files.
|
|
|
7271244 |
|
|
|
7271244 |
%prep
|
|
|
7271244 |
%autosetup -n %{pypi_name}-%{version}
|
|
|
64cd9e7 |
# patch to use webassets dir
|
|
|
64cd9e7 |
sed -i "s|^BASE_DIR = .*|BASE_DIR = '%{_jsdir}/angular_smart_table'|" xstatic/pkg/angular_smart_table/__init__.py
|
|
|
9c4d38e |
# fix assets detection when you use XStatic
|
|
|
21a8e17 |
sed -i 's/smart-table.min.js/smart-table.js/' xstatic/pkg/angular_smart_table/__init__.py
|
|
|
64cd9e7 |
|
|
|
64cd9e7 |
%build
|
|
|
7271244 |
%py3_build
|
|
|
64cd9e7 |
|
|
|
64cd9e7 |
%install
|
|
|
9cf197f |
%py3_install
|
|
|
9cf197f |
|
|
|
7271244 |
mkdir -p %{buildroot}%{_jsdir}/angular_smart_table
|
|
|
9cf197f |
mv %{buildroot}%{python3_sitelib}/xstatic/pkg/angular_smart_table/data/smart-table.js %{buildroot}%{_jsdir}/angular_smart_table
|
|
|
9cf197f |
rmdir %{buildroot}%{python3_sitelib}/xstatic/pkg/angular_smart_table/data/
|
|
|
7271244 |
# fix execute flags for js
|
|
|
7271244 |
chmod 644 %{buildroot}%{_jsdir}/angular_smart_table/smart-table.js
|
|
|
7271244 |
|
|
|
7271244 |
%files -n python3-%{pypi_name}
|
|
|
7271244 |
%doc README.txt
|
|
|
7271244 |
%{python3_sitelib}/xstatic/pkg/angular_smart_table
|
|
|
7271244 |
%{python3_sitelib}/XStatic_smart_table-%{version}-py%{python3_version}.egg-info
|
|
|
7271244 |
%{python3_sitelib}/XStatic_smart_table-%{version}-py%{python3_version}-nspkg.pth
|
|
|
64cd9e7 |
|
|
|
7271244 |
%files -n xstatic-smart-table-common
|
|
|
64cd9e7 |
%doc README.txt
|
|
|
64cd9e7 |
%{_jsdir}/angular_smart_table
|
|
|
64cd9e7 |
|
|
|
64cd9e7 |
%changelog
|
|
|
2969bc0 |
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.13.2-23
|
|
|
2969bc0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
2969bc0 |
|
|
|
b1b9c55 |
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.13.2-22
|
|
|
b1b9c55 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
b1b9c55 |
|
|
|
615adc1 |
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.13.2-21
|
|
|
615adc1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
615adc1 |
|
|
|
3ec5203 |
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 1.4.13.2-20
|
|
|
3ec5203 |
- Rebuilt for Python 3.12
|
|
|
3ec5203 |
|
|
|
8e71362 |
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.13.2-19
|
|
|
8e71362 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
8e71362 |
|
|
|
3829eca |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.13.2-18
|
|
|
3829eca |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
3829eca |
|
|
|
d9648fa |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.4.13.2-17
|
|
|
d9648fa |
- Rebuilt for Python 3.11
|
|
|
d9648fa |
|
|
|
5dc47d7 |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.13.2-16
|
|
|
5dc47d7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
5dc47d7 |
|
|
|
72b2ea0 |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.13.2-15
|
|
|
72b2ea0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
72b2ea0 |
|
|
|
6a1759c |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.4.13.2-14
|
|
|
6a1759c |
- Rebuilt for Python 3.10
|
|
|
6a1759c |
|
|
|
dcdd3d9 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.13.2-13
|
|
|
dcdd3d9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
dcdd3d9 |
|
|
|
36e8aa3 |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.13.2-12
|
|
|
36e8aa3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
36e8aa3 |
|
|
|
5e491f0 |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.4.13.2-11
|
|
|
5e491f0 |
- Rebuilt for Python 3.9
|
|
|
5e491f0 |
|
|
|
654030e |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.13.2-10
|
|
|
654030e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
654030e |
|
|
|
a57fee6 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.4.13.2-9
|
|
|
a57fee6 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
a57fee6 |
|
|
|
12272c8 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.4.13.2-8
|
|
|
12272c8 |
- Rebuilt for Python 3.8
|
|
|
12272c8 |
|
|
|
f5c11a3 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.13.2-7
|
|
|
f5c11a3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
f5c11a3 |
|
|
|
9366b0e |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.13.2-6
|
|
|
9366b0e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
9366b0e |
|
|
|
9cf197f |
* Wed Oct 17 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.4.13.2-5
|
|
|
9cf197f |
- Subpackage python2-XStatic-smart-table has been removed
|
|
|
9cf197f |
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
|
|
9cf197f |
|
|
|
64636b7 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.13.2-4
|
|
|
64636b7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
64636b7 |
|
|
|
b803627 |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.4.13.2-3
|
|
|
b803627 |
- Rebuilt for Python 3.7
|
|
|
b803627 |
|
|
|
98e53f0 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.13.2-2
|
|
|
98e53f0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
98e53f0 |
|
|
|
58756aa |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.13.2-1
|
|
|
58756aa |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
58756aa |
|
|
|
c08c59d |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.5.3-8
|
|
|
c08c59d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
c08c59d |
|
|
|
af3c79d |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.4.5.3-7
|
|
|
af3c79d |
- Rebuild for Python 3.6
|
|
|
af3c79d |
|
|
|
7271244 |
* Thu Oct 13 2016 Jan Beran <jberan@redhat.com> - 1.4.5.3-6
|
|
|
7271244 |
- Provides a Python 3 subpackage
|
|
|
7271244 |
|
|
|
9c4d38e |
* Fri Aug 19 2016 Haïkel Guémar <hguemar@fedoraproject.org> - 1.4.5.3-5
|
|
|
9c4d38e |
- Fix assets detection
|
|
|
9c4d38e |
|
|
|
922f251 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.5.3-4
|
|
|
922f251 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
922f251 |
|
|
|
fc8d15b |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.5.3-3
|
|
|
fc8d15b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
fc8d15b |
|
|
|
bf268e7 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.5.3-2
|
|
|
bf268e7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
bf268e7 |
|
|
|
64cd9e7 |
* Sat Jan 10 2015 Matthias Runge <mrunge@redhat.com> - 1.4.5.3-1
|
|
|
64cd9e7 |
- Initial package. (rhbz#1181050)
|
|
|
7271244 |
|