|
|
77ef36 |
%global pypi_name XStatic-Angular
|
|
|
77ef36 |
|
|
|
77ef36 |
Name: python-%{pypi_name}
|
|
|
77ef36 |
Version: 1.5.8.0
|
|
|
77ef36 |
Release: 14%{?dist}
|
|
|
77ef36 |
Epoch: 1
|
|
|
77ef36 |
Summary: Angular (XStatic packaging standard)
|
|
|
77ef36 |
|
|
|
77ef36 |
License: MIT
|
|
|
77ef36 |
URL: http://angularjs.org
|
|
|
77ef36 |
Source0: https://files.pythonhosted.org/packages/source/X/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
|
|
|
77ef36 |
BuildArch: noarch
|
|
|
77ef36 |
%description
|
|
|
77ef36 |
Angular JavaScript library packaged for
|
|
|
77ef36 |
setuptools (easy_install) / pip.
|
|
|
77ef36 |
|
|
|
77ef36 |
This package is intended to be used by
|
|
|
77ef36 |
**any** project that needs these files.
|
|
|
77ef36 |
|
|
|
77ef36 |
It intentionally does **not** provide
|
|
|
77ef36 |
any extra code except some metadata
|
|
|
77ef36 |
**nor** has any extra requirements. You MAY
|
|
|
77ef36 |
use some minimal support code from
|
|
|
77ef36 |
the XStatic base package, if you like.
|
|
|
77ef36 |
|
|
|
77ef36 |
%package -n python3-%{pypi_name}
|
|
|
77ef36 |
Summary: Angular (XStatic packaging standard)
|
|
|
77ef36 |
|
|
|
77ef36 |
BuildRequires: python3-devel
|
|
|
77ef36 |
BuildRequires: python3-setuptools
|
|
|
77ef36 |
BuildRequires: web-assets-devel
|
|
|
77ef36 |
|
|
|
77ef36 |
Requires: python3-XStatic
|
|
|
77ef36 |
Requires: XStatic-Angular-common = %{epoch}:%{version}-%{release}
|
|
|
77ef36 |
|
|
|
77ef36 |
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
|
77ef36 |
|
|
|
77ef36 |
%description -n python3-%{pypi_name}
|
|
|
77ef36 |
Angular JavaScript library packaged for
|
|
|
77ef36 |
setuptools (easy_install) / pip.
|
|
|
77ef36 |
|
|
|
77ef36 |
This package is intended to be used by
|
|
|
77ef36 |
**any** project that needs these files.
|
|
|
77ef36 |
|
|
|
77ef36 |
It intentionally does **not** provide
|
|
|
77ef36 |
any extra code except some metadata
|
|
|
77ef36 |
**nor** has any extra requirements. You MAY
|
|
|
77ef36 |
use some minimal support code from
|
|
|
77ef36 |
the XStatic base package, if you like.
|
|
|
77ef36 |
|
|
|
77ef36 |
%package -n XStatic-Angular-common
|
|
|
77ef36 |
Requires: web-assets-filesystem
|
|
|
77ef36 |
Summary: Common files for XStatic-Angular (XStatic packaging standard)
|
|
|
77ef36 |
%description -n XStatic-Angular-common
|
|
|
77ef36 |
Common files for XStatic-Angular (XStatic packaging standard)
|
|
|
77ef36 |
|
|
|
77ef36 |
%prep
|
|
|
77ef36 |
%autosetup -n %{pypi_name}-%{version}
|
|
|
77ef36 |
|
|
|
77ef36 |
# patch to use webassets dir
|
|
|
77ef36 |
sed -i "s|^BASE_DIR = .*|BASE_DIR = '%{_jsdir}/angular'|" xstatic/pkg/angular/__init__.py
|
|
|
77ef36 |
|
|
|
77ef36 |
|
|
|
77ef36 |
%build
|
|
|
77ef36 |
# due
|
|
|
77ef36 |
# https://bitbucket.org/thomaswaldmann/xstatic/issue/2/
|
|
|
77ef36 |
# this package can not be built with python-XStatic installed.
|
|
|
77ef36 |
%py3_build
|
|
|
77ef36 |
|
|
|
77ef36 |
|
|
|
77ef36 |
%install
|
|
|
77ef36 |
%py3_install
|
|
|
77ef36 |
|
|
|
77ef36 |
# move angular.js to appropriate _jsdir
|
|
|
77ef36 |
mkdir -p %{buildroot}/%{_jsdir}/angular
|
|
|
77ef36 |
mv %{buildroot}/%{python3_sitelib}/xstatic/pkg/angular/data/angular* %{buildroot}/%{_jsdir}/angular
|
|
|
77ef36 |
|
|
|
77ef36 |
|
|
|
77ef36 |
%files -n XStatic-Angular-common
|
|
|
77ef36 |
%{_jsdir}/angular
|
|
|
77ef36 |
|
|
|
77ef36 |
|
|
|
77ef36 |
%files -n python3-%{pypi_name}
|
|
|
77ef36 |
%doc README.txt
|
|
|
77ef36 |
%{python3_sitelib}/xstatic/pkg/angular
|
|
|
77ef36 |
%{python3_sitelib}/XStatic_Angular-%{version}-py%{python3_version}.egg-info
|
|
|
77ef36 |
%{python3_sitelib}/XStatic_Angular-%{version}-py%{python3_version}-nspkg.pth
|
|
|
77ef36 |
|
|
|
77ef36 |
|
|
|
77ef36 |
%changelog
|
|
|
77ef36 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.5.8.0-14
|
|
|
77ef36 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
77ef36 |
|
|
|
77ef36 |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.5.8.0-13
|
|
|
77ef36 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
77ef36 |
|
|
|
77ef36 |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1:1.5.8.0-12
|
|
|
77ef36 |
- Rebuilt for Python 3.9
|
|
|
77ef36 |
|
|
|
77ef36 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.5.8.0-11
|
|
|
77ef36 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
77ef36 |
|
|
|
77ef36 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1:1.5.8.0-10
|
|
|
77ef36 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
77ef36 |
|
|
|
77ef36 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1:1.5.8.0-9
|
|
|
77ef36 |
- Rebuilt for Python 3.8
|
|
|
77ef36 |
|
|
|
77ef36 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.5.8.0-8
|
|
|
77ef36 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
77ef36 |
|
|
|
77ef36 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.5.8.0-7
|
|
|
77ef36 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
77ef36 |
|
|
|
77ef36 |
* Thu Oct 11 2018 Miro Hrončok <mhroncok@redhat.com> - 1:1.5.8.0-6
|
|
|
77ef36 |
- Python2 binary package has been removed
|
|
|
77ef36 |
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
|
|
77ef36 |
|
|
|
77ef36 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.5.8.0-5
|
|
|
77ef36 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
77ef36 |
|
|
|
77ef36 |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1:1.5.8.0-4
|
|
|
77ef36 |
- Rebuilt for Python 3.7
|
|
|
77ef36 |
|
|
|
77ef36 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.5.8.0-3
|
|
|
77ef36 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
77ef36 |
|
|
|
77ef36 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.5.8.0-2
|
|
|
77ef36 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
77ef36 |
|
|
|
77ef36 |
* Mon Feb 6 2017 Haïkel Guémar <hguemar@fedoraproject.org> - 1:1.5.8.0-1
|
|
|
77ef36 |
- Upstream 1.5.8.0
|
|
|
77ef36 |
|
|
|
77ef36 |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1:1.3.7.0-10
|
|
|
77ef36 |
- Rebuild for Python 3.6
|
|
|
77ef36 |
|
|
|
77ef36 |
* Sun Sep 04 2016 Matthias Runge <mrunge@redhat.com> -1:1.3.7.0-9
|
|
|
77ef36 |
- fix dependencies with -common
|
|
|
77ef36 |
|
|
|
77ef36 |
* Tue Aug 30 2016 Matthias Runge <mrunge@redhat.com> -1:1.3.7.0-8
|
|
|
77ef36 |
- provide a python3 package (rhbz#1365037)
|
|
|
77ef36 |
|
|
|
77ef36 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.3.7.0-7
|
|
|
77ef36 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
77ef36 |
|
|
|
77ef36 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.3.7.0-6
|
|
|
77ef36 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
77ef36 |
|
|
|
77ef36 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.3.7.0-5
|
|
|
77ef36 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
77ef36 |
|
|
|
77ef36 |
* Fri Apr 10 2015 Matthias Runge <mrunge@redhat.com> - 1:1.3.7.0-4
|
|
|
77ef36 |
- provide obsoleted python-XStatic-Angular-Cookies (rhbz#1210692)
|
|
|
77ef36 |
|
|
|
77ef36 |
* Thu Feb 12 2015 Matthias Runge <mrunge@redhat.com> - 1:1.3.7.0-3
|
|
|
77ef36 |
- introduce epoch due to bump in f22
|
|
|
77ef36 |
|
|
|
77ef36 |
* Thu Jan 15 2015 Matthias Runge <mrunge@redhat.com> - 1.3.7.0-2
|
|
|
77ef36 |
- include the rest of additional angular files
|
|
|
77ef36 |
- obsolete python-XStatic-Angular-Cookies
|
|
|
77ef36 |
|
|
|
77ef36 |
* Mon Jan 12 2015 Matthias Runge <mrunge@redhat.com> - 1.3.7.0-1
|
|
|
77ef36 |
- update to 1.3.7.0
|
|
|
77ef36 |
|
|
|
77ef36 |
* Wed Aug 27 2014 Matthias Runge <mrunge@redhat.com> - 1.2.1.1-1
|
|
|
77ef36 |
- Initial package.
|