-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fb7ccf6
commit defea3b
Showing
2 changed files
with
79 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
# | ||
# Do NOT Edit the Auto-generated Part! | ||
# Generated by: spectacle version 0.32 | ||
# | ||
|
||
Name: harbour-meteoswiss | ||
|
||
# >> macros | ||
# << macros | ||
%define __provides_exclude_from ^%{_datadir}/.*$ | ||
|
||
%{!?qtc_qmake:%define qtc_qmake %qmake} | ||
%{!?qtc_qmake5:%define qtc_qmake5 %qmake5} | ||
%{!?qtc_make:%define qtc_make make} | ||
%{?qtc_builddir:%define _builddir %qtc_builddir} | ||
Summary: Unofficial client to the Swiss Meteorological Service (MeteoSwiss) | ||
Version: 1.3.1 | ||
Release: 2 | ||
Group: Qt/Qt | ||
License: GPLv3+ | ||
BuildArch: noarch | ||
URL: https://github.com/ichthyosaurus/harbour-meteoswiss | ||
Source0: %{name}-%{version}.tar.bz2 | ||
Source100: harbour-meteoswiss.yaml | ||
Requires: sailfishsilica-qt5 >= 0.10.9 | ||
Requires: libsailfishapp-launcher | ||
BuildRequires: pkgconfig(sailfishapp) >= 1.0.3 | ||
BuildRequires: pkgconfig(Qt5Core) | ||
BuildRequires: pkgconfig(Qt5Qml) | ||
BuildRequires: pkgconfig(Qt5Quick) | ||
BuildRequires: desktop-file-utils | ||
|
||
%description | ||
MeteoSwiss is an unofficial client to weather forecast services provided by | ||
the Federal Office of Meteorology and Climatology (MeteoSwiss). Forecasts are | ||
available offline and updated every hour. | ||
|
||
|
||
%prep | ||
%setup -q -n %{name}-%{version} | ||
|
||
# >> setup | ||
# << setup | ||
|
||
%build | ||
# >> build pre | ||
# << build pre | ||
|
||
%qtc_qmake5 | ||
|
||
%qtc_make %{?_smp_mflags} | ||
|
||
# >> build post | ||
# << build post | ||
|
||
%install | ||
rm -rf %{buildroot} | ||
# >> install pre | ||
# << install pre | ||
%qmake5_install | ||
|
||
# >> install post | ||
# << install post | ||
|
||
desktop-file-install --delete-original \ | ||
--dir %{buildroot}%{_datadir}/applications \ | ||
%{buildroot}%{_datadir}/applications/*.desktop | ||
|
||
%files | ||
%defattr(-,root,root,-) | ||
%defattr(0644,root,root,-) | ||
%{_datadir}/%{name} | ||
%{_datadir}/applications/%{name}.desktop | ||
%{_datadir}/icons/hicolor/*/apps/%{name}.png | ||
# >> files | ||
# << files |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters