forked from dglent/meteo-qt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
meteo-qt.spec
41 lines (35 loc) · 1012 Bytes
/
meteo-qt.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
%define aname meteo_qt
Name: meteo-qt
Version: 2.2
Release: %mkrel 1
Group: Graphical desktop/Other
Summary: Weather status system tray application
License: GPLv3
URL: https://github.com/dglent/meteo-qt
Source0: %{name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python3-qt5-devel
BuildRequires: qttools5
Requires: python3-qt5
Requires: python3-sip
Requires: python3-urllib3
Requires: python3-lxml
Recommends: qttranslations5
%description
A Qt system tray application for the weather status
Weather data from: http://openweathermap.org/
%prep
%setup -q
%build
%py3_build
%install
%py3_install
%files
%doc TODO CHANGELOG README.md
%exclude %_defaultdocdir/%{name}/LICENSE
%{_bindir}/%{name}
%{_iconsdir}/weather-few-clouds.png
%{python3_sitelib}/%{aname}-%{version}-py%python3_version.egg-info
%{python3_sitelib}/%{aname}/
%{_datadir}/applications/%{name}.desktop
%{_datadir}/meteo_qt/translations/