c75e421
%global pypi_name QtAwesome
c75e421
%global simple_name qtawesome
c75e421
c75e421
Name:		python-%{pypi_name}
9849ef7
Version:	0.5.7
9849ef7
Release:	1%{?dist}
a1b0379
c75e421
Summary:	FontAwesome icons in PyQt and PySide applications
c75e421
License:	MIT and OFL
c75e421
URL:		https://github.com/spyder-ide/%{simple_name}
a1b0379
c75e421
Source0:	https://github.com/spyder-ide/%{simple_name}/archive/v%{version}/%{simple_name}-%{version}.tar.gz
c75e421
BuildArch:	noarch
a1b0379
c75e421
BuildRequires:	python3-setuptools
c75e421
BuildRequires:	python3-devel
c75e421
c75e421
#provides font files
c75e421
#./qtawesome/fonts/fontawesome-webfont.ttf
c75e421
Provides:	bundled(elusiveicons-fonts) = 001.000
c75e421
#./qtawesome/fonts/elusiveicons-webfont.ttf
c75e421
Provides:	bundled(fontawesome-fonts) = 4.4.1
c75e421
c75e421
%description
c75e421
QtAwesome enables iconic fonts such as Font Awesome and Elusive.
c75e421
c75e421
It is a port to Python - PyQt / PySide of the QtAwesome C++ library by 
c75e421
Rick Blommers.
c75e421
c75e421
%package -n     python3-%{pypi_name}
c75e421
Summary:	FontAwesome icons in PyQt and PySide applications
c75e421
%{?python_provide:%python_provide python3-%{pypi_name}}
c75e421
 
b342305
Requires:	python3-QtPy
c75e421
Requires:	python3-six
c75e421
c75e421
%description -n python3-%{pypi_name}
c75e421
c75e421
QtAwesome enables iconic fonts such as Font Awesome and Elusive.
c75e421
c75e421
It is a port to Python - PyQt / PySide of the QtAwesome C++ library by 
c75e421
Rick Blommers.
c75e421
c75e421
%prep
c75e421
%autosetup -n %{simple_name}-%{version}
c75e421
# Remove bundled egg-info
c75e421
rm -rf %{pypi_name}.egg-info
c75e421
c75e421
%build
c75e421
%py3_build
c75e421
c75e421
%install
c75e421
%py3_install
c75e421
c75e421
%files -n python3-%{pypi_name} 
c75e421
%license LICENSE
c75e421
%doc README.md
c75e421
%{python3_sitelib}/qtawesome
c75e421
%{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info
c75e421
c75e421
%changelog
9849ef7
* Sat Mar 09 2019 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 0.5.7-1
9849ef7
- Update to 0.5.7
9849ef7
5c34342
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.4-8
5c34342
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
5c34342
a1b0379
* Sun Oct 28 2018 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 0.4.4-7
a1b0379
- Drop python2 package
a1b0379
4972d7f
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.4-6
4972d7f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
4972d7f
32f1508
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.4.4-5
32f1508
- Rebuilt for Python 3.7
32f1508
eb2310b
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.4-4
eb2310b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
eb2310b
09b16cd
* Mon Jan 15 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.4.4-3
09b16cd
- Update Python 2 dependency declarations to new packaging standards
09b16cd
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
09b16cd
31404ec
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.4-2
31404ec
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
31404ec
1b93c1b
* Thu Mar 16 2017 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 0.4.4-1
1b93c1b
- Update to 0.4.4
1b93c1b
9bae154
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.3-7
9bae154
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
9bae154
45e1c34
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.3.3-6
45e1c34
- Rebuild for Python 3.6
45e1c34
b342305
* Sun Oct 02 2016 Mukundan Ragavan <nonamedotc@gmail.com> - 0.3.3-5
b342305
- Fixed typo on dependency
b342305
c75e421
* Thu Sep 29 2016 Mukundan Ragavan <nonamedotc@gmail.com> - 0.3.3-4
c75e421
- Added license tag
c75e421
- Added doc file 
c75e421
- Added provides
c75e421
c75e421
* Thu Sep 29 2016 Mukundan Ragavan <nonamedotc@gmail.com> - 0.3.3-3
c75e421
- Fix source url
c75e421
c75e421
* Thu Sep 29 2016 Mukundan Ragavan <nonamedotc@gmail.com> - 0.3.3-2
c75e421
- Fix license file installation
c75e421
c75e421
* Thu Aug 11 2016 Mukundan Ragavan <nonamedotc@gmail.com> - 0.3.3-1
c75e421
- Initial package.