
We had a weird mix of non-existing URLs, and pointing to opendev.org and to launchpad and other places. Lets put everything point the same way under https://docs.openstack.org/$project, which redirects to the newest documentation then automatically. The other option would be to point to the project navigator, but that doesn't have all othe components on the granularity that we package here, and the urls are not stable (require a releases/$releasename within), so that idea was discarded. Change-Id: I0ccca433a5e5dbc1082c93d4c5f84ed3fcbed2fe
38 lines
973 B
Django/Jinja
38 lines
973 B
Django/Jinja
{% set pypi_name = 'XStatic-bootswatch' %}
|
|
{% set upstream_version = upstream_version('3.3.7.0') %}
|
|
{% set rpm_release = '1' %}
|
|
{% set source = url_pypi() %}
|
|
|
|
Name: {{ py2name(py_versions='py3') }}
|
|
Version: {{ py2rpmversion() }}
|
|
Release: {{ py2rpmrelease() }}
|
|
Summary: bootswatch %{version} (XStatic packaging standard)
|
|
License: {{ license('MIT') }}
|
|
Group: Development/Languages/Python
|
|
URL: https://docs.openstack.org/xstatic-bootswatch/
|
|
Source0: {{ source }}
|
|
BuildRequires: openstack-macros
|
|
BuildRequires: {{ py3('setuptools') }}
|
|
Requires: {{ py3('XStatic') }}
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
bootswatch javascript library packaged for setuptools (easy_install) / pip.
|
|
|
|
%prep
|
|
%autosetup -n {{ pypi_name }}-{{ upstream_version }}
|
|
%py_req_cleanup
|
|
|
|
%build
|
|
%{py3_build}
|
|
|
|
%install
|
|
%{py3_install}
|
|
|
|
%files
|
|
%doc README.txt
|
|
%{python3_sitelib}/xstatic
|
|
%{python3_sitelib}/XStatic_bootswatch-*
|
|
|
|
%changelog
|