diff --git a/QtAwesome-1.1.1.tar.gz b/QtAwesome-1.1.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..2af38a52721e459a12fe9aef8fd2f44da825df9e Binary files /dev/null and b/QtAwesome-1.1.1.tar.gz differ diff --git a/python-QtAwesome.spec b/python-QtAwesome.spec new file mode 100644 index 0000000000000000000000000000000000000000..deacd63146b2f13b044f5474ca79ad262e888b8f --- /dev/null +++ b/python-QtAwesome.spec @@ -0,0 +1,72 @@ +%global _empty_manifest_terminate_build 0 +Name: python-QtAwesome +Version: 1.1.1 +Release: 1 +Summary: FontAwesome icons in PyQt and PySide applications +License: MIT +URL: https://github.com/spyder-ide/qtawesome +Source0: https://files.pythonhosted.org/packages/ce/f7/c676bc51c42e48e0f081d53c97fedaa237b60e5bdd65885c79e3cec952aa/QtAwesome-1.1.1.tar.gz +BuildArch: noarch + +Requires: python3-qtpy + +%description +Iconic fonts in PyQt and PySide applications + +%package -n python3-QtAwesome +Summary: FontAwesome icons in PyQt and PySide applications +Provides: python-QtAwesome +BuildRequires: python3-devel +BuildRequires: python3-setuptools +%description -n python3-QtAwesome +Iconic fonts in PyQt and PySide applications + +%package help +Summary: Development documents and examples for QtAwesome +Provides: python3-QtAwesome-doc +%description help +Iconic fonts in PyQt and PySide applications + +%prep +%autosetup -n QtAwesome-1.1.1 + +%build +%py3_build + +%install +%py3_install +install -d -m755 %{buildroot}/%{_pkgdocdir} +if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi +if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi +if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi +if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi +pushd %{buildroot} +if [ -d usr/lib ]; then + find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/lib64 ]; then + find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/bin ]; then + find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/sbin ]; then + find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst +fi +touch doclist.lst +if [ -d usr/share/man ]; then + find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst +fi +popd +mv %{buildroot}/filelist.lst . +mv %{buildroot}/doclist.lst . + +%files -n python3-QtAwesome -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri Dec 03 2021 Python_Bot -1.1.1-1 +- Package Init