|
|
3180fd0 |
%global pypi_name XStatic-Bootstrap-SCSS
|
|
|
3180fd0 |
|
|
|
3180fd0 |
Name: python-%{pypi_name}
|
|
|
ac38021 |
Version: 3.3.7.1
|
|
|
38617ee |
Release: 13%{?dist}
|
|
|
3180fd0 |
Summary: Bootstrap-SCSS (XStatic packaging standard)
|
|
|
3180fd0 |
|
|
|
3180fd0 |
License: MIT
|
|
|
dc75137 |
URL: http://getbootstrap.org/
|
|
|
dc75137 |
Source0: https://files.pythonhosted.org/packages/source/X/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
|
|
|
c128865 |
Source1: halflings-license.eml
|
|
|
3180fd0 |
BuildArch: noarch
|
|
|
dc75137 |
|
|
|
dc75137 |
%description
|
|
|
dc75137 |
JavaScript library packaged for setuptools (easy_install) / pip.
|
|
|
dc75137 |
|
|
|
dc75137 |
This package is intended to be used by any project that needs these files.
|
|
|
dc75137 |
|
|
|
dc75137 |
It intentionally does not provide any extra code except some metadata
|
|
|
dc75137 |
nor has any extra requirements.
|
|
|
dc75137 |
|
|
|
dc75137 |
%package -n python3-%{pypi_name}
|
|
|
dc75137 |
Summary: %{summary}
|
|
|
3180fd0 |
|
|
|
dc75137 |
BuildRequires: python3-devel
|
|
|
dc75137 |
BuildRequires: python3-setuptools
|
|
|
3180fd0 |
|
|
|
dc75137 |
Requires: python3-XStatic
|
|
|
dc75137 |
Requires: xstatic-bootstrap-scss-common
|
|
|
3180fd0 |
|
|
|
dc75137 |
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
|
dc75137 |
|
|
|
dc75137 |
%description -n python3-%{pypi_name}
|
|
|
dc75137 |
JavaScript library packaged for setuptools (easy_install) / pip.
|
|
|
dc75137 |
|
|
|
dc75137 |
This package is intended to be used by any project that needs these files.
|
|
|
dc75137 |
|
|
|
dc75137 |
It intentionally does not provide any extra code except some metadata
|
|
|
dc75137 |
nor has any extra requirements.
|
|
|
3180fd0 |
|
|
|
dc75137 |
This package provides Python 3 build of %{pypi_name}.
|
|
|
3180fd0 |
|
|
|
dc75137 |
%package -n xstatic-bootstrap-scss-common
|
|
|
dc75137 |
Summary: %{summary}
|
|
|
3180fd0 |
|
|
|
dc75137 |
BuildRequires: web-assets-devel
|
|
|
dc75137 |
Requires: web-assets-filesystem
|
|
|
dc75137 |
|
|
|
dc75137 |
%description -n xstatic-bootstrap-scss-common
|
|
|
dc75137 |
JavaScript library packaged for setuptools (easy_install) / pip.
|
|
|
dc75137 |
|
|
|
dc75137 |
This package is intended to be used by any project that needs these files.
|
|
|
dc75137 |
|
|
|
dc75137 |
It intentionally does not provide any extra code except some metadata
|
|
|
dc75137 |
nor has any extra requirements.
|
|
|
dc75137 |
|
|
|
dc75137 |
This package contains the javascript files.
|
|
|
dc75137 |
|
|
|
dc75137 |
%prep
|
|
|
dc75137 |
%autosetup -n %{pypi_name}-%{version}
|
|
|
dc75137 |
# patch to use webassets dir
|
|
|
dc75137 |
sed -i "s|^BASE_DIR = .*|BASE_DIR = '%{_jsdir}/bootstrap_scss'|" xstatic/pkg/bootstrap_scss/__init__.py
|
|
|
dc75137 |
|
|
|
c128865 |
# Include email identifying the license for the Glyphicons Halflings font
|
|
|
c128865 |
cp %{SOURCE1} .
|
|
|
c128865 |
|
|
|
dc75137 |
%build
|
|
|
dc75137 |
%py3_build
|
|
|
dc75137 |
|
|
|
dc75137 |
%install
|
|
|
7e1b5ad |
%py3_install
|
|
|
7e1b5ad |
|
|
|
dc75137 |
mkdir -p %{buildroot}%{_jsdir}/bootstrap_scss
|
|
|
7e1b5ad |
mv %{buildroot}%{python3_sitelib}/xstatic/pkg/bootstrap_scss/data/* %{buildroot}%{_jsdir}/bootstrap_scss
|
|
|
7e1b5ad |
rmdir %{buildroot}%{python3_sitelib}/xstatic/pkg/bootstrap_scss/data/
|
|
|
dc75137 |
# fix execute flags for js
|
|
|
dc75137 |
chmod 644 %{buildroot}%{_jsdir}/bootstrap_scss/js/*.js
|
|
|
dc75137 |
chmod 644 %{buildroot}%{_jsdir}/bootstrap_scss/js/bootstrap/*.js
|
|
|
dc75137 |
|
|
|
dc75137 |
%files -n python3-%{pypi_name}
|
|
|
dc75137 |
%doc README.txt
|
|
|
dc75137 |
%{python3_sitelib}/xstatic/pkg/bootstrap_scss
|
|
|
dc75137 |
%{python3_sitelib}/XStatic_Bootstrap_SCSS-%{version}-py%{python3_version}.egg-info
|
|
|
dc75137 |
%{python3_sitelib}/XStatic_Bootstrap_SCSS-%{version}-py%{python3_version}-nspkg.pth
|
|
|
dc75137 |
|
|
|
dc75137 |
%files -n xstatic-bootstrap-scss-common
|
|
|
dc75137 |
%doc README.txt
|
|
|
c128865 |
%license halflings-license.eml
|
|
|
3180fd0 |
%{_jsdir}/bootstrap_scss
|
|
|
3180fd0 |
|
|
|
3180fd0 |
%changelog
|
|
|
38617ee |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.7.1-13
|
|
|
38617ee |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
38617ee |
|
|
|
341733b |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 3.3.7.1-12
|
|
|
341733b |
- Rebuilt for Python 3.9
|
|
|
341733b |
|
|
|
121bc4a |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.7.1-11
|
|
|
121bc4a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
121bc4a |
|
|
|
a87b366 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 3.3.7.1-10
|
|
|
a87b366 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
a87b366 |
|
|
|
07adefc |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 3.3.7.1-9
|
|
|
07adefc |
- Rebuilt for Python 3.8
|
|
|
07adefc |
|
|
|
50dd4e0 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.7.1-8
|
|
|
50dd4e0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
50dd4e0 |
|
|
|
c19d64b |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.7.1-7
|
|
|
c19d64b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
c19d64b |
|
|
|
7e1b5ad |
* Wed Oct 17 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 3.3.7.1-6
|
|
|
7e1b5ad |
- Subpackage python2-XStatic-Bootstrap-SCSS has been removed
|
|
|
7e1b5ad |
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
|
|
7e1b5ad |
|
|
|
f7b7afd |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.7.1-5
|
|
|
f7b7afd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
f7b7afd |
|
|
|
e7b2752 |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 3.3.7.1-4
|
|
|
e7b2752 |
- Rebuilt for Python 3.7
|
|
|
e7b2752 |
|
|
|
acda5e5 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.7.1-3
|
|
|
acda5e5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
acda5e5 |
|
|
|
8e29140 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.7.1-2
|
|
|
8e29140 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
8e29140 |
|
|
|
ac38021 |
* Mon Feb 6 2017 Haïkel Guémar <hguemar@fedoraproject.org> - 3.3.7.1-1
|
|
|
ac38021 |
- Upstream 3.3.7.1
|
|
|
ac38021 |
|
|
|
5137733 |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 3.2.0.0-7
|
|
|
5137733 |
- Rebuild for Python 3.6
|
|
|
5137733 |
|
|
|
c128865 |
* Thu Nov 17 2016 Stephen Gallagher <sgallagh@redhat.com> - 3.2.0.0-6
|
|
|
c128865 |
- Include license reference for bundled Glyphicons Halfling font
|
|
|
c128865 |
|
|
|
dc75137 |
* Wed Oct 12 2016 Jan Beran <jberan@redhat.com> - 3.2.0.0-5
|
|
|
dc75137 |
- Provides a Python 3 subpackage
|
|
|
dc75137 |
|
|
|
c69eb07 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.0.0-4
|
|
|
c69eb07 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
c69eb07 |
|
|
|
1788eea |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.0.0-3
|
|
|
1788eea |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
1788eea |
|
|
|
bc2397a |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.0.0-2
|
|
|
bc2397a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
bc2397a |
|
|
|
3180fd0 |
* Thu Oct 02 2014 Matthias Runge <mrunge@redhat.com> - 3.2.0.0-1
|
|
|
3180fd0 |
- Initial package (rhbz#1148956).
|
|
|
dc75137 |
|