diff --git a/QtAwesome-1.0.3.tar.gz b/QtAwesome-1.0.3.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..454f391bfb450e0751d9a86b69e8c260e9429551 Binary files /dev/null and b/QtAwesome-1.0.3.tar.gz differ diff --git a/python-QtAwesome.spec b/python-QtAwesome.spec new file mode 100644 index 0000000000000000000000000000000000000000..9735f0763af81c407f27b26f60ad78acb9b00747 --- /dev/null +++ b/python-QtAwesome.spec @@ -0,0 +1,61 @@ +%global pypi_name QtAwesome +%global simple_name qtawesome + +Name: python-%{pypi_name} +Version: 1.0.3 +Release: 1 + +Summary: FontAwesome icons in PyQt and PySide applications +License: MIT and OFL +URL: https://github.com/spyder-ide/%{simple_name} + +Source0: %pypi_source + +BuildArch: noarch + +BuildRequires: python3-setuptools +BuildRequires: python3-devel + +Provides: bundled(elusiveicons-fonts) = 001.000 +Provides: bundled(fontawesome-fonts) = 4.4.1 + +%description +QtAwesome enables iconic fonts such as Font Awesome and Elusive. + +It is a port to Python - PyQt / PySide of the QtAwesome C++ library by +Rick Blommers. + +%package -n python3-%{pypi_name} +Summary: FontAwesome icons in PyQt and PySide applications +%{?python_provide:%python_provide python3-%{pypi_name}} + +Requires: python3-QtPy +Requires: python3-six + +%description -n python3-%{pypi_name} + +QtAwesome enables iconic fonts such as Font Awesome and Elusive. + +It is a port to Python - PyQt / PySide of the QtAwesome C++ library by +Rick Blommers. + +%prep +%autosetup -n %{pypi_name}-%{version} +rm -rf %{pypi_name}.egg-info + +%build +%py3_build + +%install +%py3_install + +%files -n python3-%{pypi_name} +%license LICENSE.txt +%doc README.md +%{_bindir}/qta-browser +%{python3_sitelib}/qtawesome +%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info + +%changelog +* Tue Jun 29 2021 Lianguo Wang <wanglianguo@kylinos.cn> - 1.0.3 +- Add src.