%define aname sansimera_qt Name: sansimera-qt Version: 0.5.2 Release: %mkrel 2 Group: Networking/News Summary: Greek namedays and events of the day back in the history License: GPLv3 URL: https://github.com/dglent/sansimera-qt Source0: %{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-qt5-devel BuildRequires: imagemagick Requires: python3-qt5 Requires: python3-sip Requires: python3-pillow Requires: python3-beautifulsoup4 Requires: python3-urllib3 Requires: python3-requests Requires: wget %description A Qt system tray application which shows the events back in the history from the website www.sansimera.gr and the namedays from www.eortologio.gr in Greek language. %prep %setup -q %build %py3_build %install %py3_install %__mkdir -p %{buildroot}%{_iconsdir}/hicolor/{16x16,32x32}/apps convert -scale 16x16 sansimera_qt/images/sansimera-qt.png %{buildroot}%{_iconsdir}/hicolor/16x16/apps/sansimera-qt.png convert -scale 32x32 sansimera_qt/images/sansimera-qt.png %{buildroot}%{_iconsdir}/hicolor/32x32/apps/sansimera-qt.png %files %doc README.md LICENSE.md %{_datadir}/%{aname}/images/ %{_bindir}/%{name} %{_iconsdir}/%{name}.png %{python3_sitelib}/*egg-info %{python3_sitelib}/%{aname}/ %{_datadir}/applications/%{name}.desktop %{_iconsdir}/hicolor/*/apps/sansimera-qt.png %changelog * Fri Jan 11 2019 dglent <dglent> 0.5.2-2.mga7 + Revision: 1354746 - Rebuild for Python 3.7 * Wed Dec 05 2018 dglent <dglent> 0.5.2-1.mga7 + Revision: 1338392 - Version 0.5.2 * Fri Sep 21 2018 umeabot <umeabot> 0.5.1-2.mga7 + Revision: 1291466 - Mageia 7 Mass Rebuild * Sun Mar 18 2018 neoclust <neoclust> 0.5.1-1.mga7 + Revision: 1210235 - imported package sansimera-qt