|
|
c75e421 |
%global pypi_name QtAwesome
|
|
|
c75e421 |
%global simple_name qtawesome
|
|
|
c75e421 |
|
|
|
c75e421 |
Name: python-%{pypi_name}
|
|
|
8eb9f63 |
Version: 1.3.0
|
|
|
cd688b1 |
Release: 4%{?dist}
|
|
|
a1b0379 |
|
|
|
c75e421 |
Summary: FontAwesome icons in PyQt and PySide applications
|
|
|
42bd752 |
# MIT: QtAwesome code and the bundled phosphor and remixicon fonts
|
|
|
42bd752 |
# CC-BY-4.0: the bundled codicon font
|
|
|
42bd752 |
# Apache-2.0: the bundled material design icons fonts
|
|
|
42bd752 |
# OFL-1.1: the bundled elusive icons font
|
|
|
42bd752 |
# OFL-1.1-RFN: the bundled fontawesome icon fonts
|
|
|
42bd752 |
%if 0%{?fedora} > 38
|
|
|
42bd752 |
License: MIT AND CC-BY-4.0 AND Apache-2.0 AND OFL-1.1
|
|
|
42bd752 |
%else
|
|
|
42bd752 |
License: MIT AND CC-BY-4.0 AND Apache-2.0 AND OFL-1.1 AND OFL-1.1-RFN
|
|
|
42bd752 |
%endif
|
|
|
c75e421 |
URL: https://github.com/spyder-ide/%{simple_name}
|
|
|
a1b0379 |
|
|
|
4e08cf9 |
Source0: %pypi_source
|
|
|
4e08cf9 |
|
|
|
c75e421 |
BuildArch: noarch
|
|
|
a1b0379 |
|
|
|
c75e421 |
BuildRequires: python3-devel
|
|
|
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}}
|
|
|
42bd752 |
|
|
|
42bd752 |
#provides font files
|
|
|
42bd752 |
#./qtawesome/fonts/codicon.ttf
|
|
|
42bd752 |
Provides: bundled(codicon-fonts) = 1.10
|
|
|
42bd752 |
#./qtawesome/fonts/elusiveicons-webfont.ttf
|
|
|
42bd752 |
Provides: bundled(elusiveicons-fonts) = 001.000
|
|
|
42bd752 |
#./qtawesome/fonts/materialdesignicons5-webfont.ttf
|
|
|
42bd752 |
Provides: bundled(materialdesignicons5-fonts) = 5.9.55
|
|
|
42bd752 |
#./qtawesome/fonts/materialdesignicons6-webfont.ttf
|
|
|
42bd752 |
Provides: bundled(materialdesignicons6-fonts) = 1.0
|
|
|
42bd752 |
#./qtawesome/fonts/phosphor.ttf
|
|
|
42bd752 |
Provides: bundled(phosphor-fonts) = 1.3
|
|
|
42bd752 |
#./qtawesome/fonts/remixicon.ttf
|
|
|
42bd752 |
Provides: bundled(remixicon-fonts) = 2.5
|
|
|
42bd752 |
%if 0%{?fedora} > 38
|
|
|
42bd752 |
Requires: fontawesome4-fonts-web
|
|
|
42bd752 |
Requires: fontawesome-fonts-web
|
|
|
42bd752 |
%else
|
|
|
42bd752 |
#./qtawesome/fonts/fontawesome4.7-webfont.ttf
|
|
|
42bd752 |
Provides: bundled(fontawesome-fonts-web) = 4.7.0
|
|
|
42bd752 |
#./qtawesome/fonts/fontawesome5-brands-webfont.ttf
|
|
|
42bd752 |
#./qtawesome/fonts/fontawesome5-regular-webfont.ttf
|
|
|
42bd752 |
#./qtawesome/fonts/fontawesome5-solid-webfont.ttf
|
|
|
42bd752 |
Provides: bundled(fontawesome5-fonts-web) = 5.15.4
|
|
|
42bd752 |
%endif
|
|
|
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
|
|
|
4e08cf9 |
%autosetup -n %{pypi_name}-%{version}
|
|
|
42bd752 |
|
|
|
42bd752 |
# Fix end of line encoding
|
|
|
42bd752 |
sed -i 's/\r//' README.md
|
|
|
42bd752 |
|
|
|
a8ecd86 |
# Don't use the bundled fonts.
|
|
|
a8ecd86 |
# This disables verifying the checksum of font files.
|
|
|
a8ecd86 |
%if 0%{?fedora} > 38
|
|
|
a8ecd86 |
sed -i '/^SYSTEM_FONTS = /s/False/True/' qtawesome/iconic_font.py
|
|
|
a8ecd86 |
%endif
|
|
|
a8ecd86 |
|
|
|
42bd752 |
%generate_buildrequires
|
|
|
42bd752 |
%pyproject_buildrequires
|
|
|
c75e421 |
|
|
|
c75e421 |
%build
|
|
|
42bd752 |
%pyproject_wheel
|
|
|
c75e421 |
|
|
|
c75e421 |
%install
|
|
|
42bd752 |
%pyproject_install
|
|
|
3837fb2 |
%pyproject_save_files -l qtawesome
|
|
|
42bd752 |
|
|
|
42bd752 |
%if 0%{?fedora} > 38
|
|
|
42bd752 |
# Unbundle the fontawesome 4.x font
|
|
|
42bd752 |
rm %{buildroot}%{python3_sitelib}/qtawesome/fonts/fontawesome4.7-webfont.ttf
|
|
|
a8ecd86 |
ln -s %{_datadir}/fonts/fontawesome/fontawesome-webfont.ttf \
|
|
|
42bd752 |
%{buildroot}%{python3_sitelib}/qtawesome/fonts/fontawesome4.7-webfont.ttf
|
|
|
42bd752 |
# Unbundle the fontawesome 5.x fonts
|
|
|
42bd752 |
# Version 6 is backwards compatible with version 5
|
|
|
42bd752 |
rm %{buildroot}%{python3_sitelib}/qtawesome/fonts/fontawesome5-*.ttf
|
|
|
42bd752 |
ln -s %{_datadir}/fontawesome/webfonts/fa-brands-400.ttf \
|
|
|
42bd752 |
%{buildroot}%{python3_sitelib}/qtawesome/fonts/fontawesome5-brands-webfont.ttf
|
|
|
42bd752 |
ln -s %{_datadir}/fontawesome/webfonts/fa-regular-400.ttf \
|
|
|
42bd752 |
%{buildroot}%{python3_sitelib}/qtawesome/fonts/fontawesome5-regular-webfont.ttf
|
|
|
42bd752 |
ln -s %{_datadir}/fontawesome/webfonts/fa-solid-900.ttf \
|
|
|
42bd752 |
%{buildroot}%{python3_sitelib}/qtawesome/fonts/fontawesome5-solid-webfont.ttf
|
|
|
42bd752 |
%endif
|
|
|
42bd752 |
|
|
|
42bd752 |
%files -n python3-%{pypi_name} -f %{pyproject_files}
|
|
|
c75e421 |
%doc README.md
|
|
|
fb7a14c |
%{_bindir}/qta-browser
|
|
|
c75e421 |
|
|
|
c75e421 |
%changelog
|
|
|
cd688b1 |
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-4
|
|
|
cd688b1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
cd688b1 |
|
|
|
989afb9 |
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-3
|
|
|
989afb9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
989afb9 |
|
|
|
3837fb2 |
* Thu Jan 04 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 1.3.0-2
|
|
|
3837fb2 |
- Assert a license file is automatically handled; don’t package a duplicate
|
|
|
3837fb2 |
|
|
|
8eb9f63 |
* Thu Dec 14 2023 Jonathan Wright <jonathan@almalinux.org> - 1.3.0-1
|
|
|
8eb9f63 |
- Update to 1.3.0 rhbz#2254511
|
|
|
8eb9f63 |
|
|
|
a8ecd86 |
* Tue Oct 03 2023 Alessandro Astone <ales.astone@gmail.com> - 1.2.3-4
|
|
|
a8ecd86 |
- Fix using the system fontawesome fonts rhbz#2241351
|
|
|
a8ecd86 |
|
|
|
47cb389 |
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-3
|
|
|
47cb389 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
47cb389 |
|
|
|
6d11cef |
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 1.2.3-2
|
|
|
6d11cef |
- Rebuilt for Python 3.12
|
|
|
6d11cef |
|
|
|
c49a2a0 |
* Thu Apr 13 2023 Jonathan Wright <jonathan@almalinux.org> - 1.2.3-1
|
|
|
c49a2a0 |
- Update to 1.2.3 rhbz#2136710
|
|
|
c49a2a0 |
|
|
|
42bd752 |
* Thu Mar 30 2023 Jerry James <loganjerry@gmail.com> - 1.2.2-1
|
|
|
42bd752 |
- Update to 1.2.2
|
|
|
42bd752 |
- Unbundle the FontAwesome fonts
|
|
|
42bd752 |
- Update python macro usage
|
|
|
42bd752 |
- Convert License tag to SPDX
|
|
|
42bd752 |
- Move Provides for bundled fonts to python3-qtawesome
|
|
|
42bd752 |
|
|
|
4c80ff9 |
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-5
|
|
|
4c80ff9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
4c80ff9 |
|
|
|
c47f62b |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-4
|
|
|
c47f62b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
c47f62b |
|
|
|
4dec782 |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.1.1-3
|
|
|
4dec782 |
- Rebuilt for Python 3.11
|
|
|
4dec782 |
|
|
|
de77833 |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-2
|
|
|
de77833 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
de77833 |
|
|
|
44ef6de |
* Sat Dec 11 2021 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 1.1.1-1
|
|
|
44ef6de |
- Update to 1.1.1
|
|
|
44ef6de |
|
|
|
04ca1b7 |
* Sat Dec 11 2021 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 1.1.0-1
|
|
|
04ca1b7 |
- Update to 1.1.0
|
|
|
04ca1b7 |
|
|
|
c41968b |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-2
|
|
|
c41968b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
c41968b |
|
|
|
50cb139 |
* Sun Jun 27 2021 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 1.0.3-1
|
|
|
50cb139 |
- Update to 1.0.3
|
|
|
50cb139 |
|
|
|
00a089b |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.0.2-3
|
|
|
00a089b |
- Rebuilt for Python 3.10
|
|
|
00a089b |
|
|
|
a9353d3 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-2
|
|
|
a9353d3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
a9353d3 |
|
|
|
b1f719a |
* Thu Dec 24 2020 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 1.0.2-1
|
|
|
b1f719a |
- Update to 1.0.2
|
|
|
b1f719a |
|
|
|
f2bf3af |
* Tue Sep 22 2020 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 0.7.3-1
|
|
|
f2bf3af |
- Update to 0.7.3
|
|
|
f2bf3af |
|
|
|
743eabc |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.2-3
|
|
|
743eabc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
743eabc |
|
|
|
2b38df7 |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.7.2-2
|
|
|
2b38df7 |
- Rebuilt for Python 3.9
|
|
|
2b38df7 |
|
|
|
4e08cf9 |
* Thu May 07 2020 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 0.7.2-1
|
|
|
4e08cf9 |
- Update to 0.7.2
|
|
|
4e08cf9 |
- Use pypi_source macro in specfile
|
|
|
4e08cf9 |
|
|
|
6d5e2cc |
* Sat May 02 2020 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 0.7.1-1
|
|
|
6d5e2cc |
- Update to 0.7.1
|
|
|
6d5e2cc |
|
|
|
fb7a14c |
* Mon Feb 17 2020 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 0.7.0-1
|
|
|
fb7a14c |
- Update to 0.7.0
|
|
|
fb7a14c |
|
|
|
7c8e7ad |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-2
|
|
|
7c8e7ad |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
7c8e7ad |
|
|
|
7ee4eb5 |
* Sat Jan 11 2020 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 0.6.1-1
|
|
|
7ee4eb5 |
- Update to 0.6.1
|
|
|
7ee4eb5 |
|
|
|
4028b40 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.6.0-2
|
|
|
4028b40 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
4028b40 |
|
|
|
facfe4e |
* Thu Aug 22 2019 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 0.6.0-1
|
|
|
facfe4e |
- Update to 0.6.0
|
|
|
facfe4e |
|
|
|
d1f7715 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.5.7-3
|
|
|
d1f7715 |
- Rebuilt for Python 3.8
|
|
|
d1f7715 |
|
|
|
bc34845 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.7-2
|
|
|
bc34845 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
bc34845 |
|
|
|
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.
|