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