diff --git a/python-tw2.jquery.spec b/python-tw2.jquery.spec new file mode 100644 index 0000000000000000000000000000000000000000..9f56d0620f264a2b8cd672af838a395896124e57 --- /dev/null +++ b/python-tw2.jquery.spec @@ -0,0 +1,70 @@ +# Created by pyp2rpm-3.3.8 +%global pypi_name tw2.jquery +%global pypi_version 2.2.0.2 + +Name: python-%{pypi_name} +Version: %{pypi_version} +Release: 1 +Summary: ToscaWidgets2 wrapper for jquery core + +License: MIT +URL: http://github.com/toscawidgets/tw2.jquery +Source0: %{pypi_source} +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3dist(genshi) >= 0.3.5 +BuildRequires: python3dist(mako) +BuildRequires: python3dist(mako) >= 0.1.1 +BuildRequires: python3dist(setuptools) +BuildRequires: python3dist(tw2.core) +BuildRequires: python3dist(tw2.forms) + +%description +toscawidgets2 (tw2) aims to be a practical and useful widgets framework +that helps people build interactive websites with compelling features, +faster and easier. Widgets are re-usable web components that can include +a template, server-side code and JavaScripts/CSS resources. The library +aims to be: flexible, reliable, documented, performant, and as simple as possible. + +jQuery is a fast and concise JavaScript Library that simplifies HTML document +traversing, event handling, animating, and Ajax interactions for rapid web +development. jQuery is designed to change the way that you write JavaScript. + + +%package -n python3-%{pypi_name} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{pypi_name}} + +Requires: python3dist(genshi) >= 0.3.5 +Requires: python3dist(mako) >= 0.1.1 +Requires: python3dist(tw2.core) +Requires: python3dist(tw2.forms) + +%description -n python3-%{pypi_name} +%{description} + +%prep +%autosetup -n %{pypi_name}-%{pypi_version} +# Remove bundled egg-info +rm -rf %{pypi_name}.egg-info + +%build +%py3_build + +%install +%py3_install + +%check +%{__python3} setup.py test + +%files -n python3-%{pypi_name} +%license LICENSE.txt +%doc README.rst +%{python3_sitelib}/tw2 +%{python3_sitelib}/%{pypi_name}-%{pypi_version}-py%{python3_version}-*.pth +%{python3_sitelib}/%{pypi_name}-%{pypi_version}-py%{python3_version}.egg-info + +%changelog +* Wed Jun 29 2022 konglidong - 2.2.0.2-1 +- Initial package. diff --git a/tw2.jquery-2.2.0.2.tar.gz b/tw2.jquery-2.2.0.2.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..98f858e22ad7547e38a580338743a4b57f333240 Binary files /dev/null and b/tw2.jquery-2.2.0.2.tar.gz differ